把要替换的图片放置到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 从matrix获取处理过的图片的实际宽度
  2. Android 拍照 录音 拍视频 旋转 裁剪 压缩图片
  3. Android中imageView图片放大缩小及旋转功能示例代码
  4. Android 将View 转化为bitmap 图片
  5. android RatingBar自定义图片
  6. Android 中将 "base64图片" 解码为".png"图片
  7. Android保存图片到系统相册
  8. Android WebView选择图片、发送图片
  9. Android 技巧 - listview 里面的图片不能响应onClick事件?

随机推荐

  1. Android四种Activity的加载模式
  2. android 一些总结 1.2-1.10
  3. Android:onTouch()和onTouchEvent()的区
  4. Android软键盘弹出,界面整体上移的问题
  5. animation的xml定义中的android:interpol
  6. A-GPS定位与GPS定位的Android简单实现
  7. 健身小管家--android app源码
  8. Android(安卓)软键盘在有scollview,纵向vi
  9. Android——天气预报(酷欧天气)(第三篇)
  10. Android(安卓)KTX简介