'default' is not a best match for any device/locale combination.
2015-03-14 13:09
381 查看
在新建一个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>
解决方法:不必在意,不会影响程序
在新建一个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>
解决方法:不必在意,不会影响程序
相关文章推荐
- Android开发:'default' is not a best match for any device/locale combination
- 'default' is not a best match for any device/locale combination.
- default' is not a best match for any device/locale combination.
- [Android 解决 “'default' is not a best match for any device/locale ]
- '<>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- ASMLib: oracleasm createdisk command fails: Device '/dev/emcpowera1 is not a partition
- org.springframework.beans.factory.BeanCreationException: Scope 'request' is not active for the current thread
- Trouble shooting:login failed for user 'sa' ,the user is not associated with a trusted SQL Server
- Jira的 Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'错误的解决
- 编译错误“The run destination My Mac 64-bit is not valid for Running the scheme '***',解决办法
- 'my_calendar' is not a valid tag library
- Device Checks for ASM Fails with PRVF-5150: Path ORCL:<diskname> is not a valid path [ID 1210863.1]
- 'find_if’ is not a member of ‘std'
- The run destination My Mac 64-bit is not valid for Running the scheme '*****'.
- 'Agent XPs' component is turned off as part of the security configuration for this server
- Scope 'session' is not active for the current thread
- '4.294967295E9' in column '7' is outside valid range for the datatype INTEGER.
- matlab错误:Function 'conv2' is not defined for values of class 'double' and attributes
- Error: debugging information for project.exe' cannot be found or does not match. No symbols loade