android:textAlignment="center" />
<TableLayout
+ android:id="@+id/new_transaction_accounts_table"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ >
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent">
<AutoCompleteTextView
+ android:id="@+id/new_transaction_acc_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="9"
android:width="0dp"
- android:hint="@string/new_transaction_account_label" />
+ android:hint="@string/new_transaction_account_hint"
+ android:nextFocusDown="@id/new_transaction_amt_1"
+ android:nextFocusForward="@id/new_transaction_amt_1" />
<EditText
+ android:id="@+id/new_transaction_amt_1"
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="40dp"
+ android:nextFocusDown="@id/new_transaction_acc_2"
+ android:nextFocusForward="@id/new_transaction_acc_2"
android:textAlignment="viewEnd" />
</TableRow>
android:layout_height="match_parent">
<AutoCompleteTextView
+ android:id="@+id/new_transaction_acc_2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="9"
android:width="0dp"
- android:hint="@string/new_transaction_account_label" />
+ android:hint="@string/new_transaction_account_hint"
+ android:nextFocusDown="@id/new_transaction_amt_2"
+ android:nextFocusForward="@id/new_transaction_amt_2" />
<EditText
+ android:id="@+id/new_transaction_amt_2"
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="40dp"
android:textAlignment="viewEnd" />
</TableRow>