Shreyash Mahajan
Shreyash Mahajan

Reputation: 23606

Screen Size Resolution problem

I have Some Background image in to My Application. That background Image also contain the Button image. I am manualy create and set the Button on that Button image of the Background Image. now while the Screeen size changes for another device then the real button and the Button Image that show on the Background image shows different. How i can set it for the ProperView. Or if i want to make another Background Image that dont contain the Image of the Button. Then which Screen size should i have to prefer for different Device Competibility. I have read this competibility documents. But not getting proper idea if i have to set the background image for all device then which screen size i have to prefer. So can any budy explain me in Short and Sweet ? Thanks.

Upvotes: 0

Views: 183

Answers (2)

user1226738
user1226738

Reputation:

Read Supporting Multiple Screens; There are lots of details there.

Upvotes: 0

Sherif elKhatib
Sherif elKhatib

Reputation: 45942

According to Supporting Multiple Screens, you have to create multiple layout folders!

For example: you can have 2 versions of my_layout.xml

  1. res/layout-xlarge/my_layout.xml
  2. res/layout-normal/my_layout.xml

Read Supporting Multiple Screens; There are lots of details there.

Upvotes: 1

Related Questions