I created app in android, everywhere looks great, but on the phone which has resolution 540 x 960 I have black background on the right side and bottom,
How can I resize this ?
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.
I guess you can get around this by setting your parent layout height and width to fill parent in all activities.
Or try this,
If you want uniform margin on all sides for all devices and screen sizes, then use marginRight, marginLeft, etc. in your xml and set ‘x’dip where x is a number and dip is device independent pixel. This will give uniform margin for all devices, screen sizes and resolutions.