aboutsummaryrefslogtreecommitdiff
path: root/res/values/styles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/values/styles.xml')
-rw-r--r--res/values/styles.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index b85d0892..d63a58cc 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -48,4 +48,35 @@
<item name="android:textColor">@color/pin_number_picker_text_color</item>
<item name="android:fontFamily">@string/light_font</item>
</style>
+
+ <style name="menu_row_view">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:orientation">vertical</item>
+ <item name="android:focusable">true</item>
+ <item name="android:descendantFocusability">afterDescendants</item>
+ </style>
+
+ <!-- To maximize the height of the contents view, keep the height of the TextView as small as possible. -->
+ <style name="menu_row_title_view">
+ <item name="android:layout_width">@dimen/menu_row_title_width</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_marginStart">@dimen/menu_list_padding_start</item>
+ <item name="android:layout_marginEnd">@dimen/menu_list_padding_end</item>
+ <item name="android:fontFamily">@string/condensed_font</item>
+ <item name="android:textAlignment">gravity</item>
+ <item name="android:gravity">start</item>
+ <item name="android:textColor">@color/menu_row_title</item>
+ <item name="android:textSize">@dimen/menu_row_title_text_size_deselected</item>
+ <item name="android:transformPivotX">@dimen/menu_row_title_transform_pivot_x</item>
+ <item name="android:alpha">@dimen/menu_row_title_alpha_deselected</item>
+ </style>
+
+ <style name="menu_row_contents_view">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:paddingStart">@dimen/menu_list_padding_start</item>
+ <item name="android:paddingEnd">@dimen/menu_list_padding_end</item>
+ <item name="android:paddingTop">@dimen/menu_row_contents_padding_top</item>
+ </style>
</resources>