三星Galaxy Nexus的布局/绘制结构? [英] Samsung Galaxy Nexus layout/drawable structure?

查看:138
本文介绍了三星Galaxy Nexus的布局/绘制结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是资源和布局,三星Galaxy Nexus的搜索资源的文件夹? 我认为这是布局大,但事实并非如此。它没有找到主要布局(上的setContentView),和崩溃。

What is the folder for resources and layout that the Samsung Galaxy Nexus searches for resources? I thought it's layout-large, but it isn't. It doesn't find the main layout (on setContentView), and crashes.

然后我尝试布局XLARGE,再次同样的问题。 我什么都没有的布局文件夹,并绘制文件夹是绘制和绘制,华电国际(仅此两项)。

Then I try layout-xlarge, again the same problem. I have nothing in 'layout' folder and drawable folders are drawable and drawable-hdpi (only these two).

Galaxy Nexus的是720×1280像素,4.65英寸(316 ppi的像素密度)。

Galaxy Nexus is 720 x 1280 pixels, 4.65 inches (316 ppi pixel density).

感谢。

推荐答案

银河Nexus是一个xhdpi设备,具有sw360dp大小的屏幕(大致是正常的大小在的old风格标识符)。所以布局将中找到 /布局sw360dp / 可绘制/可绘制-xhdpi /

The Galaxy Nexus is an xhdpi device, with a sw360dp size screen (roughly a "normal" size screen in the old style identifiers). So layouts will be found in /layout-sw360dp/ and drawables in /drawable-xhdpi/.

这篇关于三星Galaxy Nexus的布局/绘制结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆