<?xml version="1.0" encoding="utf-8"?>
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/wallpaper_5265767">
wallpaper_5265767 尺寸 2049*1376
手机上显示空白
布局文件
<?xml version="1.0" encoding="utf-8"?>
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@drawable/wallpaper_5265768">
wallpaper_尺寸 1900*1275
手机上显示正常
wallpaper_5265768 只是在wallpaper_5265767 基础上用编辑器 将其像素(2049*1376 )改小为(1900*1275)
求大神解释,有兴趣的朋友可以试一下
android:src="@drawable/wallpaper_5265768"试试
不用试了 图片太大 无法加载 只是显示白屏。解决办法 1 用webview 加载 写个html到本地 ,2 找美工把图片切几块 组合显示
一般系统框架对分辨率会有限制,2049*1376这个超过了2000这个坎。
所以,你可以缩小一点,这个在手机上是看不出来区别的。