]> git.ktnx.net Git - mobile-ledger.git/commitdiff
employ some themed styles
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 16:15:32 +0000 (19:15 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 May 2020 16:15:32 +0000 (19:15 +0300)
app/src/main/res/layout/account_summary_row.xml
app/src/main/res/layout/profile_list_content.xml
app/src/main/res/layout/transaction_list_row.xml
app/src/main/res/layout/transaction_list_row_accounts_table_row.xml

index addf2a2a169a14beff63de29a96160e53fd6ab37..49220a9390a61f26eb3cbb698ba685603c746d36 100644 (file)
@@ -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"
index 19b77e5d06ebcc7fad873c82bc9fda66cbf11b4e..a4584ad34773866572a1c90fa5ee96cf1a82f22e 100644 (file)
@@ -70,7 +70,6 @@
 
     <TextView
         android:id="@+id/title"
-        style="@style/TextAppearance.AppCompat.Medium"
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_marginStart="8dp"
@@ -78,6 +77,7 @@
         android:gravity="center_vertical"
         android:paddingStart="@dimen/activity_horizontal_margin"
         android:text="Profile name"
+        android:textAppearance="@style/TextAppearance.AppCompat.Medium"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
         app:layout_constraintStart_toEndOf="@id/handle_and_tag"
index 66cca2b866a6b2aa3fe4023ea4543f6dfbadd903..46391a2c89273c2053c6b44dc47c5dd7a2c73d64 100644 (file)
@@ -61,7 +61,7 @@
                     android:layout_height="wrap_content"
                     android:layout_weight="5"
                     android:text="---."
-                    android:textStyle="bold"
+                    android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
                     tools:ignore="HardcodedText" />
 
             </LinearLayout>
index 8daa9737ea7bb97c7b59f2806dcd4ad51484ba8c..a805e41f7cc300cfa4dc1b6e611f4402954ec75a 100644 (file)
@@ -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" />
 
         <TextView
@@ -46,6 +49,8 @@
             android:paddingStart="8dp"
             android:text="account comment"
             android:textAlignment="viewStart"
+            android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
+            android:textColor="@android:color/secondary_text_light"
             android:textStyle="italic"
             tools:ignore="HardcodedText,RtlSymmetry" />
     </LinearLayout>