I am new to android and i am trying to create a single layout for different screen size.Is it possible or am i want to create different layout for different screens
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.
Of course you can only provide the layout in
res/layout, but it might look ugly on other screen sizes, even though (or because) Android tries to scale it.It is not possible to define layouts for different reolutions in a single file. It’s just possible to design the layout to be dynamic so Android can adjust it to the given resolution as good as possible.