summaryrefslogtreecommitdiffhomepage
path: root/ui
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2023-02-09 21:53:40 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2023-02-09 21:53:40 +0100
commit88c2f4aee445c641291f83ca3b23a8238110346a (patch)
tree531f376f181f30cb245e87250b5894a356c7d4fa /ui
parent52a865c60d28adcb69a19d1d89812cf081b4c27e (diff)
WIP fix http proxy display
Diffstat (limited to 'ui')
-rw-r--r--ui/src/main/res/layout/tunnel_detail_fragment.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/main/res/layout/tunnel_detail_fragment.xml b/ui/src/main/res/layout/tunnel_detail_fragment.xml
index b4f88308..aef71e18 100644
--- a/ui/src/main/res/layout/tunnel_detail_fragment.xml
+++ b/ui/src/main/res/layout/tunnel_detail_fragment.xml
@@ -285,8 +285,8 @@
android:labelFor="@+id/http_proxy_text"
android:text="@string/http_proxy"
android:visibility="@{(Build.VERSION.SDK_INT &lt; Build.VERSION_CODES.Q || !config.interface.httpProxy.isPresent()) ? android.view.View.GONE : android.view.View.VISIBLE}"
- app:layout_constraintBottom_toTopOf="@id/http_proxy_text"
- app:layout_constraintStart_toStartOf="parent" />
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/listen_port_mtu_barrier" />
<TextView
android:id="@+id/http_proxy_text"
@@ -300,7 +300,7 @@
android:onClick="@{ClipboardUtils::copyTextView}"
android:text="@{config.interface.httpProxy}"
android:visibility="@{(Build.VERSION.SDK_INT &lt; Build.VERSION_CODES.Q || !config.interface.httpProxy.isPresent()) ? android.view.View.GONE : android.view.View.VISIBLE}"
- app:layout_constraintBottom_toTopOf="@id/applications_label"
+ app:layout_constraintTop_toBottomOf="@id/http_proxy_label"
app:layout_constraintStart_toStartOf="parent"
tools:text="http://example.com:8888" />
@@ -312,7 +312,7 @@
android:labelFor="@+id/applications_text"
android:text="@string/applications"
android:visibility="@{config.interface.includedApplications.isEmpty() &amp;&amp; config.interface.excludedApplications.isEmpty() ? android.view.View.GONE : android.view.View.VISIBLE}"
- app:layout_constraintTop_toBottomOf="@+id/listen_port_mtu_barrier"
+ app:layout_constraintTop_toBottomOf="@+id/http_proxy_text"
app:layout_constraintStart_toStartOf="parent" />
<TextView