@@ -86,6 +86,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/endpoint_label"
|
||||
android:text="@{item.endpoint}" />
|
||||
android:text="@{item.endpointString}" />
|
||||
</RelativeLayout>
|
||||
</layout>
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
android:focusable="false"
|
||||
android:hint="@string/hint_generated"
|
||||
android:maxLines="1"
|
||||
android:contentDescription="@string/public_key_description"
|
||||
android:onClick="@{ClipboardUtils::copyTextView}"
|
||||
android:text="@{config.interface.publicKey}" />
|
||||
|
||||
@@ -164,7 +165,7 @@
|
||||
android:layout_alignStart="@+id/generate_private_key_button"
|
||||
android:hint="@string/hint_random"
|
||||
android:inputType="number"
|
||||
android:text="@={config.interface.listenPort}"
|
||||
android:text="@={config.interface.listenPortString}"
|
||||
android:textAlignment="center" />
|
||||
|
||||
<TextView
|
||||
@@ -206,7 +207,7 @@
|
||||
android:layout_alignStart="@+id/generate_private_key_button"
|
||||
android:hint="@string/hint_automatic"
|
||||
android:inputType="number"
|
||||
android:text="@={config.interface.mtu}"
|
||||
android:text="@={config.interface.mtuString}"
|
||||
android:textAlignment="center" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
android:layout_below="@+id/endpoint_label"
|
||||
android:layout_toStartOf="@+id/persistent_keepalive_text"
|
||||
android:inputType="textNoSuggestions|textVisiblePassword"
|
||||
android:text="@={item.endpoint}" />
|
||||
android:text="@={item.endpointString}" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/persistent_keepalive_label"
|
||||
@@ -136,7 +136,7 @@
|
||||
android:layout_alignStart="@+id/persistent_keepalive_label"
|
||||
android:hint="@string/hint_optional"
|
||||
android:inputType="number"
|
||||
android:text="@={item.persistentKeepalive}"
|
||||
android:text="@={item.persistentKeepaliveString}"
|
||||
android:textAlignment="center" />
|
||||
</RelativeLayout>
|
||||
</layout>
|
||||
|
||||
Reference in New Issue
Block a user