]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/fragment_currency_selector_list.xml
mark a clickable arrow as focusable
[mobile-ledger.git] / app / src / main / res / layout / fragment_currency_selector_list.xml
index e67e2d0f8c6e8a442a6448063905552f07904668..7fd49aa2baec810b548bf170436d991ba2cfaeb5 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?><!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2020 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -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"
@@ -93,7 +91,6 @@
             android:id="@+id/new_currency_name"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:ems="10"
             android:hint="@string/new_currency_name_hint"
             android:inputType="text"
             android:singleLine="true"
 
         <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"