aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-01 20:04:57 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:43 +0530
commit4a50f3fb6d70b731d6518b5526a004c4e160c4cb (patch)
tree88608b4a13e4773549472e60fdf314ffa57c2a1a /app/src/main/res
parentf8088f0f4459b68929d7f142cac222d50828cb93 (diff)
app: switch back to buttons for SSH config screen
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index 51ca17e1..6c991faa 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -67,7 +67,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/label_server_branch" />
- <com.google.android.material.chip.ChipGroup
+ <com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/auth_mode_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -75,24 +75,27 @@
app:layout_constraintTop_toBottomOf="@id/label_auth_mode"
app:singleSelection="true">
- <com.google.android.material.chip.Chip
+ <com.google.android.material.button.MaterialButton
android:id="@+id/auth_mode_ssh_key"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/connection_mode_ssh_key" />
- <com.google.android.material.chip.Chip
+ <com.google.android.material.button.MaterialButton
android:id="@+id/auth_mode_password"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/connection_mode_basic_authentication" />
- <com.google.android.material.chip.Chip
+ <com.google.android.material.button.MaterialButton
android:id="@+id/auth_mode_open_keychain"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/connection_mode_openkeychain" />
- </com.google.android.material.chip.ChipGroup>
+ </com.google.android.material.button.MaterialButtonToggleGroup>
<com.google.android.material.button.MaterialButton
android:id="@+id/save_button"