问题
I have developed an Android application for both handsets and tablets. It has been running in both emulators. While I am running in the tablet emulator the size of widgets are filling the screen. What should I do solve this conflict?
回答1:
You can make two different layouts for handlet and tablets in res/layout
(for handlet) and res/layout-large
(for tablet). Layout file name must be same. More explanation and other methods you can found here:
http://developer.android.com/guide/practices/screens_support.html
回答2:
I think you should better check it in the Developer's website, where you have all the information. Here it is http://developer.android.com/guide/practices/screens_support.html
<supports-screens
android:resizeable="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"/>
来源:https://stackoverflow.com/questions/12623009/how-do-i-resolve-the-following-conflict-in-tablets