|
27 | 27 | android:gravity="center_horizontal" |
28 | 28 | /> |
29 | 29 |
|
| 30 | +<TableLayout |
| 31 | + android:layout_width="wrap_content" |
| 32 | + android:layout_height="match_parent" |
| 33 | + android:layout_alignParentRight="true" |
| 34 | + android:layout_alignParentEnd="true" |
| 35 | + android:stretchColumns="0,1"> |
| 36 | + |
| 37 | +<TableRow |
| 38 | + android:layout_width="match_parent" |
| 39 | + android:layout_height="match_parent"> |
| 40 | + android:paddingBottom="8dp" |
| 41 | + <TextView |
| 42 | + android:layout_width="match_parent" |
| 43 | + android:layout_height="wrap_content" |
| 44 | + android:text="LABEL"/> |
| 45 | + |
30 | 46 | <EditText |
31 | 47 | android:id="@+id/inFirstName" |
32 | 48 | android:layout_width="match_parent" |
|
40 | 56 | android:singleLine="true" |
41 | 57 | android:text="@={viewModel.firstName}" /> |
42 | 58 |
|
| 59 | +</TableRow> |
| 60 | +<TableRow |
| 61 | + android:layout_width="match_parent" |
| 62 | + android:layout_height="match_parent"> |
| 63 | + android:paddingBottom="8dp" |
| 64 | + <TextView |
| 65 | + android:layout_width="match_parent" |
| 66 | + android:layout_height="wrap_content" |
| 67 | + android:text="LABEL"/> |
| 68 | + |
43 | 69 | <EditText |
44 | 70 | android:id="@+id/inLastName" |
45 | 71 | android:layout_width="match_parent" |
|
52 | 78 | android:padding="8dp" |
53 | 79 | android:text="@={viewModel.lastName}" /> |
54 | 80 |
|
| 81 | +</TableRow> |
| 82 | +<TableRow |
| 83 | + android:layout_width="match_parent" |
| 84 | + android:layout_height="match_parent"> |
| 85 | + android:paddingBottom="8dp" |
| 86 | + <TextView |
| 87 | + android:layout_width="match_parent" |
| 88 | + android:layout_height="wrap_content" |
| 89 | + android:text="LABEL"/> |
55 | 90 | <EditText |
56 | 91 | android:id="@+id/inEmail" |
57 | 92 | android:layout_width="match_parent" |
|
64 | 99 | android:padding="8dp" |
65 | 100 | android:text="@={viewModel.email}" /> |
66 | 101 |
|
| 102 | +</TableRow> |
| 103 | +<TableRow |
| 104 | + android:layout_width="match_parent" |
| 105 | + android:layout_height="match_parent"> |
| 106 | + android:paddingBottom="8dp" |
| 107 | + <TextView |
| 108 | + android:layout_width="match_parent" |
| 109 | + android:layout_height="wrap_content" |
| 110 | + android:text="LABEL"/> |
67 | 111 | <EditText |
68 | 112 | android:id="@+id/inUserName" |
69 | 113 | android:layout_width="match_parent" |
|
75 | 119 | android:inputType="text" |
76 | 120 | android:padding="8dp" |
77 | 121 | android:text="@={viewModel.userName}" /> |
| 122 | +</TableRow> |
| 123 | +<TableRow |
| 124 | + android:layout_width="match_parent" |
| 125 | + android:layout_height="match_parent"> |
| 126 | + android:paddingBottom="8dp" |
| 127 | + <TextView |
| 128 | + android:layout_width="match_parent" |
| 129 | + android:layout_height="wrap_content" |
| 130 | + android:text="LABEL"/> |
78 | 131 |
|
79 | 132 | <EditText |
80 | 133 | android:id="@+id/inPassword" |
|
87 | 140 | android:inputType="textPassword" |
88 | 141 | android:padding="8dp" |
89 | 142 | android:text="@={viewModel.password}" /> |
| 143 | +</TableRow> |
| 144 | +<TableRow |
| 145 | + android:layout_width="match_parent" |
| 146 | + android:layout_height="match_parent"> |
| 147 | + android:paddingBottom="8dp" |
| 148 | + <TextView |
| 149 | + android:layout_width="match_parent" |
| 150 | + android:layout_height="wrap_content" |
| 151 | + android:text="LABEL"/> |
90 | 152 |
|
91 | 153 | <EditText |
92 | 154 | android:id="@+id/inCountry" |
|
98 | 160 | android:inputType="textCapWords" |
99 | 161 | android:padding="8dp" |
100 | 162 | android:text="@={viewModel.country}" /> |
| 163 | +</TableRow> |
| 164 | +</TableLayout> |
101 | 165 |
|
102 | 166 | <CheckBox |
103 | 167 | android:layout_width="match_parent" |
|
0 commit comments