Change the font weight of the slice title to medium
Test: visual Fixes: 139017680 Change-Id: I347239f2c164c871eced2fbda1b2faaa38e16ca9
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/contextual_condition_card_title_margin_bottom"
|
||||
android:textAppearance="@style/TextAppearance.ConditionCardTitle"/>
|
||||
android:textAppearance="@style/TextAppearance.HomepageCardTitle"/>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/summary"
|
||||
|
@@ -51,7 +51,7 @@
|
||||
android:layout_marginStart="@dimen/contextual_card_text_padding_start"
|
||||
android:layout_marginTop="@dimen/contextual_condition_half_card_title_margin_top"
|
||||
android:layout_marginBottom="@dimen/contextual_condition_card_title_margin_bottom"
|
||||
android:textAppearance="@style/TextAppearance.ConditionCardTitle"/>
|
||||
android:textAppearance="@style/TextAppearance.HomepageCardTitle"/>
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/summary"
|
||||
|
@@ -29,6 +29,7 @@
|
||||
|
||||
<androidx.slice.widget.SliceView
|
||||
android:id="@+id/slice_view"
|
||||
android:theme="@style/Theme.Settings.ContextualCard"
|
||||
style="@style/ContextualCardSliceViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@@ -52,7 +52,7 @@
|
||||
android:ellipsize="end"
|
||||
android:layout_marginStart="@dimen/contextual_card_text_padding_start"
|
||||
android:layout_marginTop="@dimen/contextual_half_card_title_margin_top"
|
||||
android:textAppearance="@style/TextAppearance.ConditionCardTitle"/>
|
||||
android:textAppearance="@style/TextAppearance.HomepageCardTitle"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
<androidx.slice.widget.SliceView
|
||||
android:id="@+id/slice_view"
|
||||
android:theme="@style/Theme.Settings.ContextualCard"
|
||||
style="@style/ContextualCardSliceViewStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@@ -274,7 +274,7 @@
|
||||
<item name="android:textSize">@dimen/search_bar_text_size</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.ConditionCardTitle"
|
||||
<style name="TextAppearance.HomepageCardTitle"
|
||||
parent="@*android:style/TextAppearance.DeviceDefault.Subhead">
|
||||
<item name="android:fontFamily">@*android:string/config_headlineFontFamilyMedium</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
|
@@ -210,6 +210,10 @@
|
||||
<item name="android:windowBackground">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Settings.ContextualCard" parent="Theme.Settings.Home">
|
||||
<item name="android:textAppearanceListItem">@style/TextAppearance.HomepageCardTitle</item>
|
||||
</style>
|
||||
|
||||
<!-- Note that Dialog themes do not set list dividers -->
|
||||
<style name="Theme.Panel" parent="@*android:style/Theme.DeviceDefault.Settings.Dialog">
|
||||
<item name="android:windowBackground">@null</item>
|
||||
|
Reference in New Issue
Block a user