android - CSS Elements change physical size on higher density screens -
i developing android app phonegap , pixel density being problem. developed app using 4.0" screen 320px 480px. fine, elements sized using pixel unit in css.
i told pixels in css unit , change on high density screens. tested app on friends 4.0" phone. phone 480px 800px. higher screen resolution. in app tiny, buttons far small click on.
so question how best go dealing this. there settings can use in android manifest? or should change units in css (that take while).
what standard way of dealing situation html , css powered android apps?
if helps using jquery mobile, alot of overriden styles.
use media queries and/or use percentage values instead of fixed pixel values. check article responsive design http://alistapart.com/article/responsive-web-design
Comments
Post a Comment