开发者

how to define seperate layouts for Motorola Atrix and Motorola Droid

Hi

I need to define separate layout's for Motorola Droid and Motorola Atrix .I tried with drawable-hdpi and layout-long ,layout-large-long but both seems to relay on layout-long .How to define a separate layout's supporting both device.Hence the layout that written for Droid has more empty space at the bottom for Atrix.In my manifest file i have android:largeScreens="true" android:anyDensity="tr开发者_运维问答ue".


Check the following post which may help you How does Android define a screen resolution as long?


You could try this.

The Droid has a hardware keyboard ... the Atrix does not.

qwerty: Device has a hardware qwerty keyboard, whether it's visible to the user or not

So for the Droid:

  /drawable-qwerty/
  /layout-qwerty/

Atrix:

  /drawable/
  /layout/

etc..

Dev Res Link - Scroll down to Primary text input method

and if you don't understand these folder structures please look at:

Best Match Resources

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜