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
Post a Comment