summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-11-27 13:04:54 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-11-27 13:28:46 +0530
commit74711fcc78c2f0aaf1f63d7c7414169fa22c47f3 (patch)
tree00a487b338bb4dcae4cee5284d184030a0d260ee /app/src/main/res
parent014c7a62c047e0686b5f3c55ee6f916a48463877 (diff)
refactor: remove branch input for cloning
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml24
1 files changed, 2 insertions, 22 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index 16998921..4f16fc1d 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -10,7 +10,6 @@
android:layout_height="match_parent"
android:background="?android:attr/windowBackground"
android:padding="@dimen/activity_horizontal_margin"
- tools:background="@color/white"
tools:context="app.passwordstore.ui.git.config.GitServerConfigActivity">
<androidx.constraintlayout.widget.ConstraintLayout
@@ -33,26 +32,7 @@
android:layout_height="wrap_content"
android:imeOptions="actionNext"
android:inputType="textWebEmailAddress"
- android:nextFocusForward="@id/server_branch" />
-
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/label_server_branch"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:hint="@string/server_branch"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/label_server_url">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/server_branch"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:imeOptions="actionDone"
- android:inputType="textNoSuggestions" />
+ android:nextFocusForward="@id/auth_mode_group" />
</com.google.android.material.textfield.TextInputLayout>
@@ -65,7 +45,7 @@
android:layout_marginBottom="16dp"
android:text="@string/connection_mode"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/label_server_branch" />
+ app:layout_constraintTop_toBottomOf="@id/label_server_url" />
<com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/auth_mode_group"