android app界面背景替换
16lz
2021-12-12
把要替换的图片放置到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学习笔记---59_各种图形的使用介绍,android炫酷效果的实
- 解决 Android(安卓)Studio : minSdkVersion 8 cannot be smaller
- Android中Textview显示带html文本
- android 设置桌面背景
- Android(安卓)PinnedSectionListView 收缩
- android 设置桌面背景
- Android中imageView图片放大缩小及旋转功能示例代码
- Android(安卓)2-10 RecyclerView
- Android(安卓)拍照 录音 拍视频 旋转 裁剪 压缩图片