在新建一个xml布局 文件时出现了下列提示:
[2015-03-14 13:06:32 - quanbjubianliang] 'default' is not a best match for any device/locale combination.
意思是说默认不是任何设备的最佳匹配
[2015-03-14 13:06:32 - quanbjubianliang] Displaying it with ', , Locale Language ___Region __, Left To Right, sw320dp, w320dp, h533dp, Normal Screen, Long screen aspect ratio(屏幕分辨率), Portrait Orientation, Normal, Day time, High Density, Finger-based touchscreen, Soft keyboard, No keyboard, Exposed navigation, Trackball navigation, Screen resolution 800x480, API Level 19' which is compatible(兼容的), but will actually be displayed with another more specific version of the layout.
为什么会出现上述提示:可能是因为我们在创建xml布局文件时系统自动给我们创建出来了布局的layout_width、layout_height以及orientation属性,但是系统创建的属性并不一定是我们想要的布局属性,比如说我想讲orientation属性设置为horizon,而系统给出的 是oervitical,所以会提示:默认的属性设置并不一定是设备的最佳匹配
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
</LinearLayout> >
</LinearLayout>
解决方法:不必在意,不会影响程序