【发布时间】:2012-09-23 05:35:48
【问题描述】:
我正忙着使用 Xamarin 和 Visual Studio 开发一个 android 应用程序。我创建了以下文件夹结构:
res/layout/main_activity.xml # For phones
res/layout-sw600dp/main_activity.xml # For 7” tablets
res/layout-sw720dp/main_activity.xml # For 10” tablets
对于各种布局,但这似乎不起作用。它一直显示位于 res/layout/ 文件夹中的 xml 文件?
任何帮助将不胜感激! 非常感谢!
【问题讨论】:
-
使用 res/layout-xlarge-land res/layout-xlarge
-
非常感谢您的回复!这似乎解决了这个问题。如何将其应用于样式文件?再次感谢!
-
使用本教程。在这里您可以了解有关它的所有信息。 [链接][1] [1]:stackoverflow.com/questions/12491870/…
标签: c# android visual-studio-2010 xamarin