I want to support 540×960 screen resolution in my android application.
How can I support this screen? Any suggestion will be appreciated.
I want to support 540×960 screen resolution in my android application. How can I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t develop to specific resolutions on Android. You write layouts which automatically scale to different sizes and aspect ratios. Make use of classes such as
RelativeLayoutto define how elements should be placed relative to each other, and allow them to adapt to the available space. You can also use Fragments to design for different orientations and physical sizes (e.g. tablet vs phone).Take a look at this document:
http://developer.android.com/guide/practices/screens_support.html