]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout-v26/content_new_transaction.xml
8e71c3415ac102050c8d643acb06ace1f51addfc
[mobile-ledger.git] / app / src / main / res / layout-v26 / content_new_transaction.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     xmlns:tools="http://schemas.android.com/tools"
5     android:layout_width="match_parent"
6     android:layout_height="match_parent"
7     app:layout_behavior="@string/appbar_scrolling_view_behavior"
8     tools:context=".NewTransactionActivity"
9     tools:showIn="@layout/activity_new_transaction">
10
11     <ScrollView
12         android:layout_width="match_parent"
13         android:layout_height="match_parent">
14
15         <LinearLayout
16             android:layout_width="match_parent"
17             android:layout_height="wrap_content"
18             android:orientation="vertical">
19
20             <EditText
21                 android:id="@+id/new_transaction_date"
22                 android:layout_width="match_parent"
23                 android:layout_height="wrap_content"
24                 android:ems="10"
25                 android:hint="@string/new_transaction_date_hint"
26                 android:importantForAutofill="no"
27                 android:inputType="date"
28                 android:onClick="pickTransactionDate"
29                 android:selectAllOnFocus="true"
30                 android:singleLine="true"
31                 android:textAlignment="center"
32                 android:textStyle="bold" />
33
34             <LinearLayout
35                 android:importantForAutofill="noExcludeDescendants"
36                 android:layout_width="match_parent"
37                 android:layout_height="match_parent"
38                 android:orientation="vertical">
39
40                 <AutoCompleteTextView
41                     android:id="@+id/autoCompleteTextView2"
42                     android:layout_width="match_parent"
43                     android:layout_height="wrap_content"
44                     android:layout_weight="1"
45                     android:hint="@string/new_transaction_account_label"
46                     android:text="" />
47
48                 <EditText
49                     android:id="@+id/editText4"
50                     android:layout_width="match_parent"
51                     android:layout_height="wrap_content"
52                     android:layout_weight="1"
53                     android:ems="10"
54                     android:hint="@string/new_transaction_amount_hint"
55                     android:inputType="numberSigned|numberDecimal"
56                     android:textAlignment="viewEnd" />
57             </LinearLayout>
58
59         </LinearLayout>
60     </ScrollView>
61
62 </android.support.constraint.ConstraintLayout>