|
13 | 13 | android:layout_marginEnd="16dp" |
14 | 14 | android:orientation="vertical"> |
15 | 15 |
|
16 | | - <LinearLayout |
| 16 | + |
| 17 | + <com.google.android.material.textfield.TextInputLayout |
| 18 | + android:id="@+id/etNodeHost" |
| 19 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
17 | 20 | android:layout_width="match_parent" |
18 | 21 | android:layout_height="wrap_content" |
19 | | - android:layout_marginTop="@dimen/header_top" |
20 | | - android:orientation="horizontal" |
21 | | - android:weightSum="10"> |
| 22 | + app:errorEnabled="true"> |
22 | 23 |
|
23 | | - <com.google.android.material.textfield.TextInputLayout |
24 | | - android:id="@+id/etNodeHost" |
25 | | - style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
26 | | - android:layout_width="0dp" |
| 24 | + <com.google.android.material.textfield.TextInputEditText |
| 25 | + style="@style/MoneroEdit" |
| 26 | + android:layout_width="match_parent" |
27 | 27 | android:layout_height="wrap_content" |
28 | | - android:layout_weight="8" |
29 | | - app:errorEnabled="true"> |
| 28 | + android:hint="@string/node_address_hint" |
| 29 | + android:imeOptions="actionNext" |
| 30 | + android:inputType="text" |
| 31 | + android:maxLines="1" |
| 32 | + android:textAlignment="textStart" |
| 33 | + tools:text="node.supportxmr.com" /> |
| 34 | + </com.google.android.material.textfield.TextInputLayout> |
30 | 35 |
|
31 | | - <com.google.android.material.textfield.TextInputEditText |
32 | | - style="@style/MoneroEdit" |
33 | | - android:layout_width="match_parent" |
34 | | - android:layout_height="wrap_content" |
35 | | - android:hint="@string/node_address_hint" |
36 | | - android:imeOptions="actionNext" |
37 | | - android:inputType="text" |
38 | | - android:maxLines="1" |
39 | | - android:textAlignment="textStart" |
40 | | - tools:text="node.supportxmr.com" /> |
41 | | - </com.google.android.material.textfield.TextInputLayout> |
| 36 | + <com.google.android.material.textfield.TextInputLayout |
| 37 | + android:id="@+id/etNodePort" |
| 38 | + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
| 39 | + android:layout_width="match_parent" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + app:errorEnabled="true"> |
42 | 42 |
|
43 | | - <com.google.android.material.textfield.TextInputLayout |
44 | | - android:id="@+id/etNodePort" |
45 | | - style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" |
46 | | - android:layout_width="0dp" |
| 43 | + <com.google.android.material.textfield.TextInputEditText |
| 44 | + style="@style/MoneroEdit" |
| 45 | + android:layout_width="match_parent" |
47 | 46 | android:layout_height="wrap_content" |
48 | | - android:layout_weight="2" |
49 | | - app:errorEnabled="true"> |
50 | | - |
51 | | - <com.google.android.material.textfield.TextInputEditText |
52 | | - style="@style/MoneroEdit" |
53 | | - android:layout_width="match_parent" |
54 | | - android:layout_height="wrap_content" |
55 | | - android:hint="@string/node_port_hint" |
56 | | - android:imeOptions="actionNext" |
57 | | - android:inputType="text" |
58 | | - android:maxLines="1" |
59 | | - android:textAlignment="textStart" |
60 | | - tools:text="18089" /> |
61 | | - </com.google.android.material.textfield.TextInputLayout> |
62 | | - </LinearLayout> |
| 47 | + android:hint="@string/node_port_hint" |
| 48 | + android:imeOptions="actionNext" |
| 49 | + android:inputType="text" |
| 50 | + android:maxLines="1" |
| 51 | + android:textAlignment="textStart" |
| 52 | + tools:text="18089" /> |
| 53 | + </com.google.android.material.textfield.TextInputLayout> |
63 | 54 |
|
64 | 55 | <com.google.android.material.textfield.TextInputLayout |
65 | 56 | android:id="@+id/etNodeName" |
|
126 | 117 | </com.google.android.material.textfield.TextInputLayout> |
127 | 118 | </LinearLayout> |
128 | 119 |
|
| 120 | + |
| 121 | + <CheckBox |
| 122 | + android:id="@+id/etNodeSSL" |
| 123 | + android:layout_marginTop="@dimen/data_top" |
| 124 | + android:layout_width="match_parent" |
| 125 | + android:layout_height="wrap_content" |
| 126 | + android:text="@string/node_use_ssl" |
| 127 | + android:checked="true" |
| 128 | + android:visibility="gone" /> |
| 129 | + |
129 | 130 | <RelativeLayout |
130 | 131 | android:layout_width="match_parent" |
131 | 132 | android:layout_height="wrap_content" |
|
0 commit comments