I am creating a phonegap app with gwt phonegap. How can I create the iPhone Look and Feel?
Right now, I have en entry im my gwt.xml-file:
<inherits name="com.googlecode.mgwt.ui.client.theme.platform.Platform" />
I am testing the app using the Phonegap-Emulator. Altough the functionality works as expected, the app doesnt have the iPhone look.
Do I need to use certain Widgets to get that?
First off, I suggest you edit the title since this is an mgwt question that has nothing to do with gwtphonegap.
When you say that you use the 'Phonegap-Emulator' I assume that you mean something like Ripple, and not the iOS Simulator (which would be used by
cordova emulate ios)In the
Platform.gwt.xml, the OS is determined via the user agent:The
mgwt.osproperty is then used to determine the correct Appearance for your widgets, for example inButton.gwt.xml:To answer your question, make sure that the user agent in your emulator contains the string "iphone" or "ios", or, simply set the OS property to iOS by adding
to your gwt.xml.