Skip to content

Commit 3349c95

Browse files
committed
fix(design): switch text style
1 parent 3a52faa commit 3349c95

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

design/src/main/res/layout/preference_switch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
android:id="@+id/title_view"
3333
android:layout_width="wrap_content"
3434
android:layout_height="wrap_content"
35-
android:textAppearance="?attr/textAppearanceTitleMedium"
35+
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
3636
android:textColor="?attr/colorOnSurface" />
3737

3838
<TextView
3939
android:id="@+id/summary_view"
4040
android:layout_width="wrap_content"
4141
android:layout_height="wrap_content"
4242
android:layout_marginTop="@dimen/item_text_margin"
43-
android:textAppearance="?attr/textAppearanceBodyMedium"
43+
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
4444
android:textColor="?attr/colorOnSurfaceVariant" />
4545
</LinearLayout>
4646

0 commit comments

Comments
 (0)