aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-20 21:59:12 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-20 21:59:12 -0600
commit2da32acd84b0f8f1409f75c816045c6fed49762e (patch)
tree2b492b0180b61444dd2c818a44e270799f74e7c9 /androidApp/src/main
parente141c251bd4d5111246ab398efdaa64ae1900ea0 (diff)
downloadetbsa-trackermap-mobile-url_switch.tar.gz
etbsa-trackermap-mobile-url_switch.tar.bz2
etbsa-trackermap-mobile-url_switch.zip
Hide URL field in login and user information viewurl_switch
Diffstat (limited to 'androidApp/src/main')
-rw-r--r--androidApp/src/main/res/layout/login.xml3
-rw-r--r--androidApp/src/main/res/layout/user_information_activity.xml6
2 files changed, 6 insertions, 3 deletions
diff --git a/androidApp/src/main/res/layout/login.xml b/androidApp/src/main/res/layout/login.xml
index 78c3e46..1de3f12 100644
--- a/androidApp/src/main/res/layout/login.xml
+++ b/androidApp/src/main/res/layout/login.xml
@@ -92,7 +92,8 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/passwordInputLayout"
app:layout_constraintBottom_toTopOf="@id/signinButton"
- android:layout_marginTop="@dimen/fields_spacing">
+ android:layout_marginTop="@dimen/fields_spacing"
+ android:visibility="gone">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/urlEditText"
diff --git a/androidApp/src/main/res/layout/user_information_activity.xml b/androidApp/src/main/res/layout/user_information_activity.xml
index 3ed9048..4fb44ef 100644
--- a/androidApp/src/main/res/layout/user_information_activity.xml
+++ b/androidApp/src/main/res/layout/user_information_activity.xml
@@ -136,14 +136,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/login_url"
- android:textAppearance="@style/TextAppearance.AppCompat.Body2"/>
+ android:textAppearance="@style/TextAppearance.AppCompat.Body2"
+ android:visibility="gone"/>
<TextView
android:id="@+id/serverInfo"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/fields_spacing"
- tools:text="@string/default_server_url" />
+ tools:text="@string/default_server_url"
+ android:visibility="gone"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/signoutButton"