Merge "Fix connected device detail page slice items are in smaller font size" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-03-21 02:54:54 +00:00
committed by Android (Google) Code Review
2 changed files with 8 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
<androidx.slice.widget.SliceView <androidx.slice.widget.SliceView
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/slice_view" android:id="@+id/slice_view"
style="@style/Widget.SliceView.Bluetooth"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="12dp" android:paddingTop="12dp"

View File

@@ -524,6 +524,13 @@
<item name="rowStyle">@style/SliceRow.Slider</item> <item name="rowStyle">@style/SliceRow.Slider</item>
</style> </style>
<style name="Widget.SliceView.Bluetooth">
<item name="titleSize">20dp</item>
<item name="subtitleSize">14dp</item>
<item name="headerTitleSize">20dp</item>
<item name="headerSubtitleSize">14dp</item>
</style>
<style name="Widget.SliceView.Panel.Slider.LargeIcon"> <style name="Widget.SliceView.Panel.Slider.LargeIcon">
<item name="rowStyle">@style/SliceRow.Slider.LargeIcon</item> <item name="rowStyle">@style/SliceRow.Slider.LargeIcon</item>
</style> </style>