user interface - Scaling all UI elements with respect to aspect ratio to fit screen - Android -



user interface - Scaling all UI elements with respect to aspect ratio to fit screen - Android -

i have made ui app looks this:

all elements raster , size made fit phone's resolution, nicely. have ui scalable screen resolution while maintaining aspect ratio. have tried approaches no avail. how guys this? can point me right direction ? thanx

you have :

explicitly declare in manifest screen sizes application supports: "declaring back upwards different screen sizes can impact how scheme draws application on larger screens—specifically, whether application runs in screen compatibility mode."

provide different bitmap drawables different screen densities "if application provides bitmap drawables baseline, medium screen density (mdpi), scheme scales them when on high-density screen, , scales them downwards when on low-density screen. scaling can cause artifacts in bitmaps. ensure bitmaps best, should include alternative versions @ different resolutions different screen densities."

provide different layouts different screen sizes

for more details : http://developer.android.com/guide/practices/screens_support.html

android user-interface

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -