]> git.ktnx.net Git - mobile-ledger.git/commitdiff
themed buttons in the currency selector
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 20:49:32 +0000 (23:49 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 20:49:32 +0000 (23:49 +0300)
app/src/main/res/layout/fragment_currency_selector_list.xml

index e67e2d0f8c6e8a442a6448063905552f07904668..5645d927dbceb657021879cc0786a778c40b1457 100644 (file)
@@ -66,8 +66,7 @@
 
         <TextView
             android:id="@+id/btn_add_new"
-            style="@style/TextAppearance.AppCompat.Widget.Button.Colored"
-            android:textColor="@color/colorPrimary"
+            style="@style/Widget.MaterialComponents.Button.TextButton"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:text="@string/add_button"
@@ -81,8 +80,7 @@
             android:layout_height="wrap_content"
             android:id="@+id/btn_no_currency"
             android:text="@string/btn_no_currency"
-            style="@style/TextAppearance.AppCompat.Widget.Button.Colored"
-            android:textColor="@color/colorPrimary"
+            style="@style/Widget.MaterialComponents.Button.TextButton"
             app:layout_constraintBottom_toBottomOf="parent"
             app:layout_constraintTop_toTopOf="parent"
             app:layout_constraintStart_toStartOf="parent"
 
         <TextView
             android:id="@+id/btn_add_currency"
-            style="@style/TextAppearance.AppCompat.Button"
+            style="@style/Widget.MaterialComponents.Button.TextButton"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_margin="@dimen/text_margin"