summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/activity_git_clone.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/activity_git_clone.xml')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml68
1 files changed, 4 insertions, 64 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index f9bec00a..7c59572c 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -66,77 +66,17 @@
</com.google.android.material.button.MaterialButtonToggleGroup>
<com.google.android.material.textfield.TextInputLayout
- android:id="@+id/server_user_layout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:hint="@string/server_user"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/clone_protocol_group">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/server_user"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:imeOptions="actionNext"
- android:inputType="textWebEmailAddress"
- android:nextFocusForward="@id/server_url" />
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
android:id="@+id/label_server_url"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:hint="@string/server_url"
- app:layout_constraintEnd_toStartOf="@id/label_server_port"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/server_user_layout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/server_url"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:imeOptions="actionNext"
- android:inputType="textWebEmailAddress"
- android:nextFocusForward="@id/server_port" />
-
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/label_server_port"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:hint="@string/server_port_hint"
- app:layout_constraintDimensionRatio="1:0.8"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/label_server_url"
- app:layout_constraintTop_toBottomOf="@id/server_user_layout">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/server_port"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:imeOptions="actionNext"
- android:inputType="number"
- android:nextFocusForward="@id/server_path" />
-
- </com.google.android.material.textfield.TextInputLayout>
-
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/label_server_path"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:hint="@string/server_path"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/label_server_url">
+ app:layout_constraintTop_toBottomOf="@id/clone_protocol_group">
<com.google.android.material.textfield.TextInputEditText
- android:id="@+id/server_path"
+ android:id="@+id/server_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionNext"
@@ -150,10 +90,10 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
- android:hint="Branch"
+ android:hint="@string/server_branch"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/label_server_path">
+ app:layout_constraintTop_toBottomOf="@id/label_server_url">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/server_branch"