]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/content_new_transaction.xml
dynamicaly add new table rows to the new transaction accounts list
[mobile-ledger.git] / app / src / main / res / layout / content_new_transaction.xml
index c5170855e5f076d59ea06117db8f2858893e8839..4fcce131cd1299f5c45d6ffed58aed048df381d4 100644 (file)
@@ -28,6 +28,7 @@
                 android:textAlignment="center" />
 
             <TableLayout
+                android:id="@+id/new_transaction_accounts_table"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent">
 
                     <EditText
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_gravity="end"
                         android:layout_weight="1"
                         android:width="0dp"
-                        android:minWidth="36pt"
-                        android:ems="10"
-                        android:gravity="end"
                         android:hint="@string/new_transaction_amount_hint"
                         android:inputType="numberDecimal|numberSigned"
+                        android:minWidth="24pt"
                         android:textAlignment="viewEnd" />
                 </TableRow>
 
                     <EditText
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
-                        android:layout_gravity="end"
                         android:layout_weight="1"
                         android:width="0dp"
-                        android:minWidth="36pt"
-                        android:ems="10"
-                        android:gravity="end"
                         android:hint="@string/new_transaction_amount_hint"
                         android:inputType="numberDecimal|numberSigned"
+                        android:minWidth="24pt"
                         android:textAlignment="viewEnd" />
                 </TableRow>