3
A
回答
13
//是的,我們可以使用辣油,大和佈局,大型MDI等..
res/layout/my_layout.xml // layout for normal screen size ("default")
res/layout-small/my_layout.xml // layout for small screen size
res/layout-large/my_layout.xml // layout for large screen size
res/layout-xlarge/my_layout.xml // layout for extra large screen size
res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation
Low density Small screens QVGA 240x320
res/layout-small-ldpi
res/layout-small-land-ldpi
Low density Normal screens WVGA400 240x400 (x432)
res/layout-ldpi
res/layout-land-ldpi
Medium density Normal screens HVGA 320x480
res/layout-mdpi
res/layout-land-mdpi
Medium density Large screens HVGA 320x480
res/layout-large-mdpi
res/layout-large-land-mdpi
High density Normal screens WVGA800 480x800 (x854)
res/layout-hdpi
res/layout-land-hdpi
Xoom (medium density large but 1280x800 res)
res/layout-xlarge
res/layout-xlarge-land
+0
這些資源限定符可以根據需要以任意組合使用,根據文檔,OPs是有效的,如果他需要這個,那就是這樣,我不明白這是怎麼回事解決問題/回答問題 – 2011-12-13 14:53:50
+0
檢查我發佈的鏈接,它解釋了這一點。 – DeliriumTremens
相關問題
- 1. 爲華電國際/ LDPI/MDPI
- 2. 我在佈局中的形象和我產生xdpi,華電國際等,但我的佈局顯示錯誤
- 3. Android。 LDPI,MDPI,華電國際澄清
- 4. 圖標複製到可繪製,華電國際太大
- 5. 我一定要使用華電國際,MDPI
- 6. 的Android繪項目 - 使用xhdpi爲華電國際
- 7. 遠程圖像和尺寸華電國際/ MDPI/LDPI等
- 8. 如何找到設備作爲LDPI MDPI華電國際或XHDPI
- 9. 多MDPI /華電國際有不同的可繪製的相同
- 10. 的WebView如何獲得當地資源\繪製,華電國際映像路徑
- 11. Django應用程序佈局:國際化
- 12. django國際化圖像的佈局
- 13. Emacs,Linux和國際鍵盤佈局
- 14. 佈局土地xml文件無法與onConfigurationChanged回電
- 15. 標題圖像尺寸佈局和佈局土地
- 16. 國際電話和地址數據?
- 17. Windows中的國際化,本地化和美洲土着語言
- 18. 相對佈局誤差線性佈局
- 19. 國際地址國家/地區數據
- 20. 國際電話與twilio
- 21. 國際電話號碼
- 22. 按鈕圖像失去質量。繪製(華電國際等)的目錄不幫
- 23. Android華碩7寸hdpi平板電腦佈局問題
- 24. 僅適用於國際訪客顯示國際電話格式
- 25. 翻轉模擬器佈局不更改爲一個存在的佈局,土地
- 26. 差異NGX-翻譯VS國際化
- 27. JavaME國際化(國際化)
- 28. 推土機:CustomerConverter是國際化/本地化意識,如何實施?
- 29. Aurelia大街,國際化屬性[T] VS [國際化]
- 30. 構建專注於界面和佈局的國際站點
你得到什麼錯誤? –
嗯在Eclipse中的文件夾上有一個紅色的「X」。現在我刪除了該文件夾並重新創建,並且「X」消失了...... ufff,它似乎是Eclipse或插件錯誤... :( – DeliriumTremens
這是因爲R文件沒有正確生成。 –