Add margin to preview in grid fragment
Bug: 317014210
Flag: N/A
Test: visually verified grid fragment and other fragments that use
DisplayAspectRatioFrameLayout
Change-Id: Ic539803523d54713650c563084a2f9eaf6aa0993
diff --git a/res/layout/fragment_grid.xml b/res/layout/fragment_grid.xml
index f022268..e77da57 100644
--- a/res/layout/fragment_grid.xml
+++ b/res/layout/fragment_grid.xml
@@ -33,9 +33,11 @@
<com.android.wallpaper.picker.DisplayAspectRatioFrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
+ android:layout_marginHorizontal="24dp"
android:layout_weight="1"
+ android:paddingBottom="40dp"
android:paddingTop="20dp"
- android:paddingBottom="40dp">
+ android:clipChildren="false">
<include
android:id="@+id/preview"