From cf461ae87ae19cb160f671e92227da7aa8cf81bf Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 17 May 2020 19:15:32 +0300 Subject: [PATCH] employ some themed styles --- app/src/main/res/layout/account_summary_row.xml | 2 ++ app/src/main/res/layout/profile_list_content.xml | 2 +- app/src/main/res/layout/transaction_list_row.xml | 2 +- .../res/layout/transaction_list_row_accounts_table_row.xml | 5 +++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/account_summary_row.xml b/app/src/main/res/layout/account_summary_row.xml index addf2a2a..49220a93 100644 --- a/app/src/main/res/layout/account_summary_row.xml +++ b/app/src/main/res/layout/account_summary_row.xml @@ -47,6 +47,7 @@ android:longClickable="true" android:paddingStart="8dp" android:text="Account name, a really long one. A very very very long one. It may even spawn on more than two lines -- three, four or more." + android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/account_row_check" app:layout_constraintTop_toTopOf="parent" @@ -93,6 +94,7 @@ android:minWidth="@dimen/thumb_row_height" android:onClick="onAccountSummaryRowViewClicked" android:text="123,45\n678,90" + android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" diff --git a/app/src/main/res/layout/profile_list_content.xml b/app/src/main/res/layout/profile_list_content.xml index 19b77e5d..a4584ad3 100644 --- a/app/src/main/res/layout/profile_list_content.xml +++ b/app/src/main/res/layout/profile_list_content.xml @@ -70,7 +70,6 @@ diff --git a/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml b/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml index 8daa9737..a805e41f 100644 --- a/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml +++ b/app/src/main/res/layout/transaction_list_row_accounts_table_row.xml @@ -36,6 +36,9 @@ android:layout_height="wrap_content" android:text="another acc name" android:textAlignment="viewStart" + android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" + android:textColor="@android:color/secondary_text_light" + android:textStyle="normal" tools:ignore="HardcodedText" /> -- 2.39.5