android app界面背景替换
16lz
2021-01-23
把要替换的图片放置到launcher2/res/drawable-nodpi目录,在launcher2/res/layout/apps_customize_pane.xml文件中,修改android:background="@drawable/xxx",xxx为要替换的图片。注意要修改两个地方:
<com.android.launcher2.AppsCustomizeTabHost xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" android:background="#FF000000">
<FrameLayout android:id="@+id/animation_buffer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#FF000000" android:visibility="gone" />
更多相关文章
- android 从matrix获取处理过的图片的实际宽度
- Android 拍照 录音 拍视频 旋转 裁剪 压缩图片
- Android中imageView图片放大缩小及旋转功能示例代码
- Android 将View 转化为bitmap 图片
- android RatingBar自定义图片
- Android 中将 "base64图片" 解码为".png"图片
- Android保存图片到系统相册
- Android WebView选择图片、发送图片
- Android 技巧 - listview 里面的图片不能响应onClick事件?