]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/new_transaction_row.xml
new transaction: bigger currency button area
[mobile-ledger.git] / app / src / main / res / layout / new_transaction_row.xml
index ad2d4c8ba02dffd9ef2f37445aca657f5015e520..1c299625a22de9332defb91c743806439427d4f7 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?><!--
-  ~ Copyright © 2020 Damyan Ivanov.
+  ~ Copyright © 2021 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
             app:layout_constraintTop_toBottomOf="@id/account_row_acc_name"
             >
 
+            <TextView
+                android:id="@+id/currencyButton"
+                android:layout_width="wrap_content"
+                android:layout_height="0dp"
+                android:minWidth="30dp"
+                app:layout_constraintBottom_toBottomOf="parent"
+                app:layout_constraintEnd_toEndOf="@id/currency"
+                app:layout_constraintStart_toStartOf="@id/currency"
+                app:layout_constraintTop_toTopOf="parent"
+                />
             <EditText
                 android:id="@+id/account_row_acc_amounts"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_gravity="center_vertical"
                 android:gravity="center_horizontal"
-                android:minWidth="24dp"
+                android:minWidth="30dp"
                 android:text="@string/currency_symbol"
                 android:textAllCaps="false"
-                android:visibility="gone"
                 app:layout_constraintBottom_toBottomOf="parent"
                 app:layout_constraintRight_toRightOf="parent"
                 app:layout_constraintTop_toTopOf="parent"