From b5bdd134cbe81b21363860a2e71a5d3b58333c1d Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 14 Jun 2021 22:14:05 +0200 Subject: [PATCH] textSize 10sp -> android:textAppearance="@style/VectorTextAppearanceMicro" --- vector/src/main/res/layout/fragment_home_detail.xml | 2 +- vector/src/main/res/layout/item_room.xml | 2 +- vector/src/main/res/layout/item_room_category.xml | 2 +- vector/src/main/res/layout/item_space.xml | 2 +- vector/src/main/res/layout/item_sub_space.xml | 2 +- vector/src/main/res/layout/reaction_button.xml | 2 +- vector/src/main/res/layout/vector_home_badge_unread_layout.xml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vector/src/main/res/layout/fragment_home_detail.xml b/vector/src/main/res/layout/fragment_home_detail.xml index 3a65733495..c37bce5c79 100644 --- a/vector/src/main/res/layout/fragment_home_detail.xml +++ b/vector/src/main/res/layout/fragment_home_detail.xml @@ -56,8 +56,8 @@ android:minHeight="16dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" android:visibility="gone" tools:background="@drawable/bg_unread_highlight" tools:text="4" diff --git a/vector/src/main/res/layout/item_room.xml b/vector/src/main/res/layout/item_room.xml index ba5b3f5671..cd638617a1 100644 --- a/vector/src/main/res/layout/item_room.xml +++ b/vector/src/main/res/layout/item_room.xml @@ -143,8 +143,8 @@ android:minHeight="16dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" android:visibility="gone" app:layout_constraintBottom_toBottomOf="@+id/roomNameView" app:layout_constraintEnd_toStartOf="@+id/roomLastEventTimeView" diff --git a/vector/src/main/res/layout/item_room_category.xml b/vector/src/main/res/layout/item_room_category.xml index b24ff770c8..c2142d0208 100644 --- a/vector/src/main/res/layout/item_room_category.xml +++ b/vector/src/main/res/layout/item_room_category.xml @@ -40,8 +40,8 @@ android:minHeight="16dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" tools:background="@drawable/bg_unread_highlight" tools:text="24" /> diff --git a/vector/src/main/res/layout/item_space.xml b/vector/src/main/res/layout/item_space.xml index 35cd0086eb..d38051a633 100644 --- a/vector/src/main/res/layout/item_space.xml +++ b/vector/src/main/res/layout/item_space.xml @@ -44,8 +44,8 @@ android:minHeight="16dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" android:visibility="gone" app:layout_constraintCircle="@+id/groupAvatarImageView" app:layout_constraintCircleAngle="45" diff --git a/vector/src/main/res/layout/item_sub_space.xml b/vector/src/main/res/layout/item_sub_space.xml index 2e31f7b854..9a25aa6e45 100644 --- a/vector/src/main/res/layout/item_sub_space.xml +++ b/vector/src/main/res/layout/item_sub_space.xml @@ -44,8 +44,8 @@ android:minHeight="16dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" android:visibility="gone" app:layout_constraintCircle="@+id/groupAvatarImageView" app:layout_constraintCircleAngle="45" diff --git a/vector/src/main/res/layout/reaction_button.xml b/vector/src/main/res/layout/reaction_button.xml index 2fdab9b50f..bc606521b0 100644 --- a/vector/src/main/res/layout/reaction_button.xml +++ b/vector/src/main/res/layout/reaction_button.xml @@ -61,8 +61,8 @@ android:layout_marginEnd="8dp" android:gravity="center" android:maxLines="1" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?vctr_content_secondary" - android:textSize="10sp" android:textStyle="bold" app:autoSizeMaxTextSize="14sp" app:autoSizeMinTextSize="8sp" diff --git a/vector/src/main/res/layout/vector_home_badge_unread_layout.xml b/vector/src/main/res/layout/vector_home_badge_unread_layout.xml index a24f36df3a..1d21f5d7cc 100644 --- a/vector/src/main/res/layout/vector_home_badge_unread_layout.xml +++ b/vector/src/main/res/layout/vector_home_badge_unread_layout.xml @@ -17,8 +17,8 @@ android:minHeight="8dp" android:paddingStart="4dp" android:paddingEnd="4dp" + android:textAppearance="@style/VectorTextAppearanceMicro" android:textColor="?colorOnError" - android:textSize="10sp" tools:background="@drawable/bg_unread_highlight" tools:text="4" />