1- <?xml version =" 1.0" encoding =" utf-8" ?><!--
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!--
23Base Woo Styles. Use these styles as a base for custom component styles and override only the
34properties necessary. The goal is to make as few modifications as possible to keep a consistent
45theme across the entire app. Overridden versions should be added to the styles.xml file.
56-->
6- <resources xmlns : tools =" http://schemas.android.com/tools" >
7-
8- <style name =" Woo" />
9-
10- <style name =" Widget" />
11-
12- <style name =" Widget.Woo" />
7+ <resources
8+ xmlns : tools =" http://schemas.android.com/tools" >
9+ <style name =" Woo" />
10+ <style name =" Widget" />
11+ <style name =" Widget.Woo" />
1312
1413 <!--
1514 Toolbar Styles
@@ -22,22 +21,18 @@ theme across the entire app. Overridden versions should be added to the styles.x
2221 <item name =" android:paddingStart" >0dp</item >
2322 <item name =" android:paddingLeft" >0dp</item >
2423 </style >
25-
2624 <style name =" Widget.Woo.Toolbar.Surface" parent =" ThemeOverlay.MaterialComponents.Toolbar.Surface" >
2725 <item name =" actionMenuTextColor" >@color/color_primary_selector</item >
2826 </style >
29-
3027 <style name =" TextAppearance.Woo.CollapsingToolbar.Expanded" parent =" TextAppearance.MaterialComponents.Headline4" >
3128 <item name =" android:textColor" >@color/color_on_surface</item >
3229 <item name =" android:textStyle" >bold</item >
3330 <item name =" android:layout_height" >@dimen/expanded_toolbar_height</item >
3431 </style >
35-
3632 <style name =" TextAppearance.Woo.CollapsingToolbar.Collapsed" parent =" TextAppearance.MaterialComponents.Headline6" >
3733 <item name =" android:textColor" >@color/color_on_surface</item >
3834 <item name =" android:layout_height" >@dimen/toolbar_height</item >
3935 </style >
40-
4136 <style name =" Woo.CollapsedToolbarLayout" parent =" @style/Widget.Design.CollapsingToolbar" >
4237 <item name =" layout_scrollFlags" >scroll|exitUntilCollapsed</item >
4338 <item name =" android:background" >@color/color_toolbar</item >
@@ -52,12 +47,10 @@ theme across the entire app. Overridden versions should be added to the styles.x
5247 <item name =" expandedTitleMarginEnd" >16dp</item >
5348 <item name =" android:paddingEnd" >4dp</item >
5449 </style >
55-
5650 <style name =" Woo.ActionMode.OverflowButtonStyle" parent =" Widget.AppCompat.ActionButton.Overflow" >
5751 <item name =" tint" >@color/color_primary</item >
5852 <item name =" android:paddingEnd" >16dp</item >
5953 </style >
60-
6154 <style name =" Woo.TextView.Subtitle1.ToolbarSubtitle" >
6255 <item name =" android:layout_gravity" >bottom</item >
6356 <item name =" android:layout_marginStart" >16dp</item >
@@ -196,7 +189,7 @@ theme across the entire app. Overridden versions should be added to the styles.x
196189 <item name =" android:textColor" >@color/color_on_surface_high</item >
197190 </style >
198191
199- <style name =" Woo.Card.StatusMessage" parent =" Woo.TextView.Subtitle1" />
192+ <style name =" Woo.Card.StatusMessage" parent =" Woo.TextView.Subtitle1" />
200193
201194 <style name =" Woo.Card.ListHeader" parent =" Woo.TextView.Body2" >
202195 <item name =" android:layout_marginBottom" >@dimen/major_75</item >
@@ -370,15 +363,17 @@ theme across the entire app. Overridden versions should be added to the styles.x
370363 <!--
371364 TextInputLayout styles
372365 -->
373- <style name =" Woo.TextInputLayout" parent =" Widget.MaterialComponents.TextInputLayout.OutlinedBox" >
366+ <style name =" Woo.TextInputLayout"
367+ parent =" Widget.MaterialComponents.TextInputLayout.OutlinedBox" >
374368 <item name =" android:layout_marginStart" >@dimen/major_100</item >
375369 <item name =" android:layout_marginEnd" >@dimen/major_100</item >
376370 <item name =" android:layout_marginTop" >@dimen/minor_00</item >
377371 <item name =" android:layout_marginBottom" >@dimen/minor_75</item >
378372 <item name =" helperTextTextAppearance" >@style/TextAppearance.Woo.Caption</item >
379373 </style >
380374
381- <style name =" Woo.TextInputEditText" parent =" Widget.MaterialComponents.TextInputEditText.OutlinedBox" >
375+ <style name =" Woo.TextInputEditText"
376+ parent =" Widget.MaterialComponents.TextInputEditText.OutlinedBox" >
382377 <item name =" android:textAppearance" >?attr/textAppearanceSubtitle1</item >
383378 <item name =" android:textColor" >@color/color_on_surface_high</item >
384379 <item name =" android:gravity" >center_vertical|start</item >
@@ -554,7 +549,7 @@ theme across the entire app. Overridden versions should be added to the styles.x
554549 <item name =" android:textSize" >@dimen/text_minor_100</item >
555550 <item name =" android:textStyle" >normal</item >
556551 <item name =" lineHeight" >@dimen/line_height_minor_80</item >
557- <item name =" android:textColor" >@color/button_outlined_text </item >
552+ <item name =" android:textColor" >@color/button_outlined_text_selector </item >
558553 </style >
559554
560555 <!-- Set at the theme level so no need to set directly on the component -->
@@ -613,7 +608,7 @@ theme across the entire app. Overridden versions should be added to the styles.x
613608 <!--
614609 List Styles
615610 -->
616- <style name =" Woo.ListHeader" parent =" Woo.TextView.Subtitle2" />
611+ <style name =" Woo.ListHeader" parent =" Woo.TextView.Subtitle2" />
617612
618613 <!-- Use with a list item container -->
619614 <style name =" Woo.ListItem" >
@@ -624,16 +619,11 @@ theme across the entire app. Overridden versions should be added to the styles.x
624619 <item name =" android:paddingTop" >@dimen/minor_100</item >
625620 <item name =" android:paddingBottom" >@dimen/minor_100</item >
626621 </style >
627-
628- <style name =" Woo.ListItem.Title" parent =" Woo.TextView.Subtitle1" />
629-
630- <style name =" Woo.ListItem.Subtitle" parent =" Woo.TextView.Subtitle2" />
631-
632- <style name =" Woo.ListItem.Overline" parent =" Woo.TextView.Overline" />
633-
634- <style name =" Woo.ListItem.Caption" parent =" Woo.TextView.Caption" />
635-
636- <style name =" Woo.ListItem.Body" parent =" Woo.TextView.Body2" />
622+ <style name =" Woo.ListItem.Title" parent =" Woo.TextView.Subtitle1" />
623+ <style name =" Woo.ListItem.Subtitle" parent =" Woo.TextView.Subtitle2" />
624+ <style name =" Woo.ListItem.Overline" parent =" Woo.TextView.Overline" />
625+ <style name =" Woo.ListItem.Caption" parent =" Woo.TextView.Caption" />
626+ <style name =" Woo.ListItem.Body" parent =" Woo.TextView.Body2" />
637627
638628 <!--
639629 FlowLayout Style
@@ -705,7 +695,7 @@ theme across the entire app. Overridden versions should be added to the styles.x
705695 <item name =" android:paddingEnd" >@dimen/major_100</item >
706696 </style >
707697
708- <style name =" Widget.Woo.Settings.OptionValue" />
698+ <style name =" Widget.Woo.Settings.OptionValue" />
709699
710700 <style name =" Widget.Woo.Settings.OptionToggle" >
711701 <item name =" android:paddingStart" >@dimen/major_100</item >
@@ -736,8 +726,7 @@ theme across the entire app. Overridden versions should be added to the styles.x
736726 <item name =" android:layout_marginBottom" >@dimen/major_75</item >
737727 </style >
738728
739- <style name =" Woo.Skeleton.ListItem" />
740-
729+ <style name =" Woo.Skeleton.ListItem" />
741730 <style name =" Woo.Skeleton.ListItem.Single" >
742731 <item name =" android:layout_width" >0dp</item >
743732 <item name =" android:layout_height" >@dimen/skeleton_text_height_200</item >
0 commit comments