如何爲平板電腦7」,平板電腦8「和平板電腦10」分開佈局文件夾,如果我需要一個文件夾用於常規佈局(7「,8」,10 「)和獨特的7」佈局的文件夾? 謝謝!res/layout for tablet 7「,8」,10「
2
A
回答
1
可以seperatly使這下面文件夾中的資源文件夾,
res/layout-sw600dp/main_activity.xml # For 7」 tablets
res/layout-sw720dp/main_activity.xml # For 10」 tablets
res/layout-sw600dp-land/main_activity.xml # For 7」 tablets // for Landscape mode
res/layout-sw720dp-land/main_activity.xml # For 10」 tablets // for Landscape mode
爲了不同的目的。
+0
我如何辨別7「和8」? – resource8218
+0
http://developer.android.com/guide/practices/screens_support.html在這個超鏈接檢查表2及其下面的描述。希望這個幫助... –
相關問題
- 1. Indy 10 for Delphi 7
- 2. Android Manifest for Galaxy Tablet 2
- 3. NLog for Windows Phone 7/8
- 4. 在Windows 7中使用TRUST Design Tablet
- 5. Windows 7/8/10上的Docker + Mesos + Marathon
- 6. Windows 8 Tablet支持.net和VS2010
- 7. OpenPeak Open Tablet 7的Widget大小
- 8. 如何使用pygtk for windows 7/8?
- 9. Android Tablet Zoom選項丟失
- 10. Wget for Windows 10
- 11. GLOB FOR WINDOWS 10
- 12. orientation tablet vs phone
- 13. PrintFixedDocument wpf打印質量 - Windows 10/8與Windows 7
- 14. Windows 7上的Win32 :: TieRegistry ws 64位10 8
- 15. Xocde 8 Beta 6不支持iOS 10 Beta 7 sdk
- 16. Xcode 8 CoreGraphics問題與iPhone 7(運行iOS 10)
- 17. 如何:在XAMPP上安裝Memcache(Windows 7/8/10)
- 18. 爲iOS 10 IOS 8
- 19. 將Windows Phone 8應用程序遷移到Windows Tablet
- 20. 檢查Windows 8中的設備(pc/tablet)是什麼
- 21. 與IE 7/8
- 22. Delphi 7 Indy 10 ioHandler
- 23. OpenAM for Drupal 8
- 24. 使用代碼更改Windows 7 Tablet PC設置。
- 25. .NET for Windows 7
- 26. RIAK for Windows 7
- 27. android.util.Base64 for JSE 7
- 28. BlueCove for Windows 7
- 29. Tesseract for iOS 7
- 30. 轉換的java 7嵌套for循環用java 8流API
Android不支持基於物理屏幕大小的選擇。雖然,你可能想閱讀[這個博客](http://android-developers.blogspot.sg/2011/07/new-tools-for-managing-screen-sizes.html)。 –
http://developer.android.com/training/multiscreen/index.html – Raghunandan