
任何人都可以告诉如何给出布局文件夹名称以支持android中的多个屏幕大小
谢谢
解决方法:
从the documentation开始:
总结The configuration qualifIErs you can use to provIDe size-specific
resources aresmall,normal,large, andxlarge. For example, layouts
for an extra large screen should go inlayout-xlarge/.Beginning with AndroID 3.2 (API level 13), the above size groups are
deprecated and you should instead usethe sw<N>dpconfiguration
qualifIEr to define the smallest available wIDth required by your
layout resources. For example, if your multi-pane tablet layout
requires at least 600dp of screen wIDth, you should place it inlayout-sw600dp/.
以上是内存溢出为你收集整理的如何在android中提供布局文件夹名称以支持多个屏幕大小全部内容,希望文章能够帮你解决如何在android中提供布局文件夹名称以支持多个屏幕大小所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)