]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout-v26/content_new_transaction.xml
e6aff4865e8f44e00026d63be28e105a319c4e40
[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:textAlignment="center" />
30
31             <LinearLayout
32                 android:importantForAutofill="noExcludeDescendants"
33                 android:layout_width="match_parent"
34                 android:layout_height="match_parent"
35                 android:orientation="vertical">
36
37                 <AutoCompleteTextView
38                     android:id="@+id/autoCompleteTextView2"
39                     android:layout_width="match_parent"
40                     android:layout_height="wrap_content"
41                     android:layout_weight="1"
42                     android:hint="@string/new_transaction_account_label"
43                     android:text="" />
44
45                 <EditText
46                     android:id="@+id/editText4"
47                     android:layout_width="match_parent"
48                     android:layout_height="wrap_content"
49                     android:layout_weight="1"
50                     android:ems="10"
51                     android:hint="@string/new_transaction_amount_hint"
52                     android:inputType="numberSigned|numberDecimal"
53                     android:textAlignment="viewEnd" />
54             </LinearLayout>
55
56         </LinearLayout>
57     </ScrollView>
58
59 </android.support.constraint.ConstraintLayout>