Screen Support in Android 3.2 (API level 13)

安稳与你 提交于 2019-12-05 15:40:42
Athul Harikumar

It is well explained in the documentation that you can use it by creating layout.xml in values file, and creating aliases to point to alternative layouts. You can create values-large,values-sw-600, etc. and point to the layout alias you want to choose for that particular type.

  <?xml version="1.0" encoding="utf-8"?>
    <resources>
<item type="layout" name="login">@layout/login_large
</item>

 </resources>

Refer to http://developer.android.com/training/multiscreen/screensizes.html, as it explains well how to develop for multiple screens in the best way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!