把要替换的图片放置到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" />


   

更多相关文章

  1. android学习笔记---59_各种图形的使用介绍,android炫酷效果的实
  2. 解决 Android(安卓)Studio : minSdkVersion 8 cannot be smaller
  3. Android中Textview显示带html文本
  4. android 设置桌面背景
  5. Android(安卓)PinnedSectionListView 收缩
  6. android 设置桌面背景
  7. Android中imageView图片放大缩小及旋转功能示例代码
  8. Android(安卓)2-10 RecyclerView
  9. Android(安卓)拍照 录音 拍视频 旋转 裁剪 压缩图片

随机推荐

  1. 公益课,RWP团队谈性能优化之大开眼界篇来
  2. 服务器指纹识别之 DNS TXT
  3. 设计模式4之模板方法模式
  4. 什么是响应式网页?有什么特点呢?
  5. 2021年5月IDEA最新激活码,解决This licens
  6. Amazon blink 智能安全摄像头被发现命令
  7. 网络战争模拟软件:在持续的网络战争期间保
  8. 代码分析平台CodeQL学习手记(二)
  9. 一线大厂在机器学习方向的面试题(一)
  10. 股票均线策略