android app界面背景替换

把要替换的图片放置到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,layout,buffer)