programmtically set layout for android

1 reply [Last post]
mmingfeilam1
Joined: 02/03/2010
User offline. Last seen 6 weeks 5 days ago.

hi,

i am trying to improve the layout for my game. the problem is that while i can create a
good layout for one android phone, it doesn't work for another, ie the trackball for MyTouch
is on the right side (landscape mode), but for the MyCliq, the DPad is on the left side. is
there a way to programmatically set the layout based on which phone it is? thanks.

Robert Green
Robert Green's picture
Joined: 02/18/2009
User offline. Last seen 6 hours 39 min ago.
Check the android docs on

Check the android docs on resource qualifiers.