桌面上的阴影是Launcher3加上去的,原生壁纸是没有这层阴影。
阴影图片:workspace_bg.9.png
以androidN为例:
代码路径:xml/launcher.xml
<com.android.launcher3.dragndrop.DragLayer
android:id=“@+id/drag_layer”
android:clipChildren=“false”
android:importantForAccessibility=“no”
android:clipToPadding=“false”
android:background=“@drawable/workspace_bg”
android:layout_width=“match_parent”
android:layout_height=“match_parent”>
去掉background即可去掉阴影效果
android:background=“@drawable/workspace_bg”