Fix node port input field

This commit is contained in:
XD22 2024-04-29 15:09:54 +00:00
parent 48577e46aa
commit 48859d8f9a
2 changed files with 43 additions and 41 deletions

View File

@ -13,19 +13,12 @@
android:layout_marginEnd="16dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/header_top"
android:orientation="horizontal"
android:weightSum="10">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/etNodeHost"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="8"
app:errorEnabled="true">
<com.google.android.material.textfield.TextInputEditText
@ -43,9 +36,8 @@
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/etNodePort"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:layout_width="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="2"
app:errorEnabled="true">
<com.google.android.material.textfield.TextInputEditText
@ -59,7 +51,6 @@
android:textAlignment="textStart"
tools:text="18089" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/etNodeName"
@ -126,6 +117,16 @@
</com.google.android.material.textfield.TextInputLayout>
</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
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@ -330,7 +330,7 @@
<string name="node_height">Last block updated: %1$s</string>
<string name="label_nodes">Nodes</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_user_hint">Username (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_scanning">Scanning network&#8230;</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="send_address_hint">Receiver</string>