From c1d71a37598153586adada16d19c3b5378c6cf7a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 14 Jun 2021 22:12:26 +0200 Subject: [PATCH] textSize 13sp -> text appearance --- vector/src/main/res/layout/fragment_home_drawer.xml | 1 - .../src/main/res/layout/item_timeline_event_call_tile_stub.xml | 2 +- .../main/res/layout/item_timeline_event_verification_stub.xml | 2 +- vector/src/main/res/layout/reaction_button.xml | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/vector/src/main/res/layout/fragment_home_drawer.xml b/vector/src/main/res/layout/fragment_home_drawer.xml index c0b3a209a0..cef0f76b2a 100644 --- a/vector/src/main/res/layout/fragment_home_drawer.xml +++ b/vector/src/main/res/layout/fragment_home_drawer.xml @@ -110,7 +110,6 @@ android:insetBottom="0dp" android:padding="0dp" android:text="@string/invite_friends" - android:textSize="13sp" app:icon="@drawable/ic_share" app:iconGravity="textStart" app:iconSize="20dp" diff --git a/vector/src/main/res/layout/item_timeline_event_call_tile_stub.xml b/vector/src/main/res/layout/item_timeline_event_call_tile_stub.xml index 810620fec4..1415fd64d9 100644 --- a/vector/src/main/res/layout/item_timeline_event_call_tile_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_call_tile_stub.xml @@ -52,8 +52,8 @@ android:layout_marginTop="12dp" android:layout_marginEnd="8dp" android:layout_marginBottom="12dp" + android:textAppearance="@style/VectorTextAppearanceBody" android:textColor="?vctr_notice_secondary" - android:textSize="13sp" tools:text="@string/video_call_in_progress" /> diff --git a/vector/src/main/res/layout/item_timeline_event_verification_stub.xml b/vector/src/main/res/layout/item_timeline_event_verification_stub.xml index ae2869a765..fac551f312 100644 --- a/vector/src/main/res/layout/item_timeline_event_verification_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_verification_stub.xml @@ -65,8 +65,8 @@ android:layout_height="wrap_content" android:gravity="center_horizontal" android:text="@string/verification_request_you_accepted" + android:textAppearance="@style/VectorTextAppearanceCaption" android:textColor="?vctr_notice_secondary" - android:textSize="13sp" android:visibility="gone" tools:visibility="visible" /> diff --git a/vector/src/main/res/layout/reaction_button.xml b/vector/src/main/res/layout/reaction_button.xml index 72a795db76..2fdab9b50f 100644 --- a/vector/src/main/res/layout/reaction_button.xml +++ b/vector/src/main/res/layout/reaction_button.xml @@ -44,8 +44,8 @@ android:maxEms="10" android:minWidth="20dp" android:singleLine="true" + android:textAppearance="@style/VectorTextAppearanceCaption" android:textColor="@color/emoji_color" - android:textSize="13sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@id/reactionCount" app:layout_constraintHorizontal_chainStyle="packed"