Programmatically set layout for android

Posted by user270811 on Stack Overflow See other posts from Stack Overflow or by user270811
Published on 2010-05-30T20:40:06Z Indexed on 2010/05/30 20:52 UTC
Read the original article Hit count: 265

Filed under:

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.

© Stack Overflow or respective owner

Related posts about android