How to manage layout for different device
Actually I wa开发者_开发百科nt to know how can we manage the layout in android while doing our app. I build a calculator app for my Nexus S
device. Now when I build the app in my device it doesn't match the screen resolution. Moreover when I maintain the layout for Nexus S
device then it's ok for that but when I use another device then again the same problem arises. So is there any way by which I can maintain the app so that in every device it fits the screen automatically. Please suggest to me.
Regards
AnshumanI think you need this .. http://developer.android.com/guide/practices/screens_support.html
It has been explained quite nicely here that how to create layout that to support multiple screens.
You will have to put layouts for different screens in specially named directories. You can find all details about it here: http://developer.android.com/guide/practices/screens_support.html
精彩评论