From: Damyan Ivanov Date: Thu, 21 May 2020 03:32:23 +0000 (+0000) Subject: more material styles X-Git-Tag: v0.14.0~58 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b576e8ad6f3f9b57857194b1e5d5a99a790142a4;p=mobile-ledger.git more material styles --- diff --git a/app/src/main/res/layout/account_summary_row.xml b/app/src/main/res/layout/account_summary_row.xml index 49220a93..08d18b98 100644 --- a/app/src/main/res/layout/account_summary_row.xml +++ b/app/src/main/res/layout/account_summary_row.xml @@ -47,7 +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" + android:textAppearance="@android:style/TextAppearance.Material.Medium" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/account_row_check" app:layout_constraintTop_toTopOf="parent" diff --git a/app/src/main/res/layout/nav_header_layout.xml b/app/src/main/res/layout/nav_header_layout.xml index f51fdb87..88302e87 100644 --- a/app/src/main/res/layout/nav_header_layout.xml +++ b/app/src/main/res/layout/nav_header_layout.xml @@ -26,7 +26,6 @@ android:gravity="center_vertical" android:orientation="horizontal" android:padding="@dimen/activity_vertical_margin" - android:theme="@style/ThemeOverlay.AppCompat.Dark" app:layout_constraintTop_toTopOf="parent" tools:showIn="@layout/main_navigation"> @@ -44,6 +43,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/app_name" + android:textColor="?colorOnPrimary" android:textAppearance="@style/TextAppearance.AppCompat.Body1" /> diff --git a/app/src/main/res/layout/transaction_list_row.xml b/app/src/main/res/layout/transaction_list_row.xml index 6b7d15a5..966d9d28 100644 --- a/app/src/main/res/layout/transaction_list_row.xml +++ b/app/src/main/res/layout/transaction_list_row.xml @@ -59,7 +59,8 @@ android:layout_height="wrap_content" android:layout_weight="5" android:text="---." - android:textAppearance="@style/TextAppearance.MaterialComponents.Body1" + android:textAppearance="@android:style/TextAppearance.Material.Medium" + android:textColor="?textColor" tools:ignore="HardcodedText" /> 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 8e059a72..67a5add2 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,7 +36,7 @@ android:layout_height="wrap_content" android:text="another acc name" android:textAlignment="viewStart" - android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" + android:textAppearance="@android:style/TextAppearance.Material.Small" android:textColor="@android:color/secondary_text_light" android:textStyle="normal" tools:ignore="HardcodedText" /> @@ -49,7 +49,7 @@ android:paddingStart="8dp" android:text="account comment" android:textAlignment="viewStart" - android:textAppearance="@style/TextAppearance.MaterialComponents.Body2" + android:textAppearance="@android:style/TextAppearance.Material.Small" android:textColor="@android:color/secondary_text_light" android:textStyle="italic" tools:ignore="HardcodedText,RtlSymmetry" />