]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add another account row bu default
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 18:16:06 +0000 (18:16 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 30 Nov 2018 18:16:06 +0000 (18:16 +0000)
app/src/main/res/layout/content_new_transaction.xml

index 58ce717035c3badf47941b2c256c6f8a419e01e6..f5cd330e72b28b1ba62f9568cebf09272e536c42 100644 (file)
                 android:textAlignment="center" />
 
             <LinearLayout
+                android:id="@+id/new_transaction_accounts"
+                android:layout_width="match_parent"
+                android:layout_height="match_parent"
+                android:orientation="vertical">
+
+                <AutoCompleteTextView
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_weight="1"
+                    android:hint="@string/new_transaction_account_label"
+                    android:text="" />
+
+                <EditText
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_weight="1"
+                    android:ems="10"
+                    android:hint="@string/new_transaction_amount_hint"
+                    android:inputType="numberSigned|numberDecimal"
+                    android:textAlignment="viewEnd" />
+            </LinearLayout>
+
+            <LinearLayout
+                android:id="@+id/new_transaction_accounts"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
                 android:orientation="vertical">
 
                 <AutoCompleteTextView
-                    android:id="@+id/autoCompleteTextView2"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:layout_weight="1"
@@ -41,7 +64,6 @@
                     android:text="" />
 
                 <EditText
-                    android:id="@+id/editText4"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:layout_weight="1"