ThemePickerLeaf: Vertically center the text of customization options
Change-Id: I8fdf6e5810fc02c9f54dd08e14576225de93537e
diff --git a/res/layout/font_section_view.xml b/res/layout/font_section_view.xml
index 12e8687..b9ba90f 100644
--- a/res/layout/font_section_view.xml
+++ b/res/layout/font_section_view.xml
@@ -11,6 +11,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
diff --git a/res/layout/icon_section_view.xml b/res/layout/icon_section_view.xml
index 3a2c486..216b167 100644
--- a/res/layout/icon_section_view.xml
+++ b/res/layout/icon_section_view.xml
@@ -11,6 +11,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
diff --git a/res/layout/icon_shape_section_view.xml b/res/layout/icon_shape_section_view.xml
index 7f55a06..6c0249e 100644
--- a/res/layout/icon_shape_section_view.xml
+++ b/res/layout/icon_shape_section_view.xml
@@ -11,6 +11,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
diff --git a/res_override/layout/grid_section_view.xml b/res_override/layout/grid_section_view.xml
index ee7b76f..61ebee8 100644
--- a/res_override/layout/grid_section_view.xml
+++ b/res_override/layout/grid_section_view.xml
@@ -20,7 +20,7 @@
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:clickable="true"
- android:paddingVertical="@dimen/section_top_padding"
+ android:paddingBottom="@dimen/section_bottom_padding"
android:paddingHorizontal="@dimen/section_horizontal_padding"
android:orientation="horizontal">
@@ -28,6 +28,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
+ android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
@@ -52,4 +53,4 @@
android:background="@drawable/option_border_color"
android:contentDescription="@string/gird_picker_entry_content_description" />
-</com.android.customization.picker.grid.GridSectionView>
\ No newline at end of file
+</com.android.customization.picker.grid.GridSectionView>