Possible Duplicate:
Android Layout and positioning issue
Design layout which support for all kind for resolution….
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.
Its better not to hard code the design for a particular resolution. Its better to use attributes like layout_weight attributes, layout_width and layout_height values of wrap_content and match_parent to get different proportional widths depending on the screen size, rather than hard coding pixel values.
Another option is to create and define different sets of layouts and drawables for different resolutions. Use the layout-large , layout-small etc. and drawable-large , drawable-small etc. Android will automatically chose the necessary resources according to the device that is being used.