PDA

View Full Version : [PhoneGap Android Sencha] Buttons on Ext.ToolBar appear smaller on (480 - 800) device



AbhishekKanitkar
29 Jul 2011, 5:24 AM
Hello All,

I am using Ext.ToolBar in my sample app & when I test it as a native app through PhoneGap on Android 480 - 800 resolution device, the buttons don't scale up for the screen. They appear smaller.

Has anybody tried it before or has any solution for the same ?

Please refer to the image attached here with for reference.

steve1964
29 Jul 2011, 9:23 AM
Hi, you have to put a meta in your index.html to target the device dpi density:
http://developer.android.com/guide/webapps/targeting.html