mirror of https://github.com/m2049r/xmrwallet.git
Fix node port input field
This commit is contained in:
parent
48577e46aa
commit
48859d8f9a
|
@ -13,53 +13,44 @@
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
android:id="@+id/etNodeHost"
|
||||||
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/header_top"
|
app:errorEnabled="true">
|
||||||
android:orientation="horizontal"
|
|
||||||
android:weightSum="10">
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/etNodeHost"
|
style="@style/MoneroEdit"
|
||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="8"
|
android:hint="@string/node_address_hint"
|
||||||
app:errorEnabled="true">
|
android:imeOptions="actionNext"
|
||||||
|
android:inputType="text"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textAlignment="textStart"
|
||||||
|
tools:text="node.supportxmr.com" />
|
||||||
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="@style/MoneroEdit"
|
android:id="@+id/etNodePort"
|
||||||
android:layout_width="match_parent"
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
||||||
android:layout_height="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:hint="@string/node_address_hint"
|
android:layout_height="wrap_content"
|
||||||
android:imeOptions="actionNext"
|
app:errorEnabled="true">
|
||||||
android:inputType="text"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:textAlignment="textStart"
|
|
||||||
tools:text="node.supportxmr.com" />
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/etNodePort"
|
style="@style/MoneroEdit"
|
||||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="2"
|
android:hint="@string/node_port_hint"
|
||||||
app:errorEnabled="true">
|
android:imeOptions="actionNext"
|
||||||
|
android:inputType="text"
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
android:maxLines="1"
|
||||||
style="@style/MoneroEdit"
|
android:textAlignment="textStart"
|
||||||
android:layout_width="match_parent"
|
tools:text="18089" />
|
||||||
android:layout_height="wrap_content"
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
android:hint="@string/node_port_hint"
|
|
||||||
android:imeOptions="actionNext"
|
|
||||||
android:inputType="text"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:textAlignment="textStart"
|
|
||||||
tools:text="18089" />
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/etNodeName"
|
android:id="@+id/etNodeName"
|
||||||
|
@ -126,6 +117,16 @@
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/etNodeSSL"
|
||||||
|
android:layout_marginTop="@dimen/data_top"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/node_use_ssl"
|
||||||
|
android:checked="true"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
|
@ -330,7 +330,7 @@
|
||||||
<string name="node_height">Last block updated: %1$s</string>
|
<string name="node_height">Last block updated: %1$s</string>
|
||||||
<string name="label_nodes">Nodes</string>
|
<string name="label_nodes">Nodes</string>
|
||||||
<string name="node_name_hint">Node Name (Optional)</string>
|
<string name="node_name_hint">Node Name (Optional)</string>
|
||||||
<string name="node_address_hint">Hostname</string>
|
<string name="node_address_hint">Hostname or IP</string>
|
||||||
<string name="node_port_hint">Port</string>
|
<string name="node_port_hint">Port</string>
|
||||||
<string name="node_user_hint">Username (Optional)</string>
|
<string name="node_user_hint">Username (Optional)</string>
|
||||||
<string name="node_pass_hint">Password (Optional)</string>
|
<string name="node_pass_hint">Password (Optional)</string>
|
||||||
|
@ -351,6 +351,7 @@
|
||||||
<string name="node_pull_hint">Add nodes manually or pull down to scan</string>
|
<string name="node_pull_hint">Add nodes manually or pull down to scan</string>
|
||||||
<string name="node_scanning">Scanning network…</string>
|
<string name="node_scanning">Scanning network…</string>
|
||||||
<string name="node_nobookmark">Automatically bookmarked best %1$d nodes</string>
|
<string name="node_nobookmark">Automatically bookmarked best %1$d nodes</string>
|
||||||
|
<string name="node_use_ssl">Use SSL</string>
|
||||||
<string name="label_test">Test</string><!--note: as in "Test a network connection"-->
|
<string name="label_test">Test</string><!--note: as in "Test a network connection"-->
|
||||||
|
|
||||||
<string name="send_address_hint">Receiver</string>
|
<string name="send_address_hint">Receiver</string>
|
||||||
|
|
Loading…
Reference in New Issue