summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_git_clone.xml30
1 files changed, 12 insertions, 18 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml
index 8fab27d5..cab9dc7b 100644
--- a/app/src/main/res/layout/activity_git_clone.xml
+++ b/app/src/main/res/layout/activity_git_clone.xml
@@ -145,43 +145,37 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/label_server_path" />
- <RadioGroup
+ <com.google.android.material.button.MaterialButtonToggleGroup
android:id="@+id/connection_mode_group"
+ style="@style/TextAppearance.MaterialComponents.Headline1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:orientation="horizontal"
+ android:layout_margin="8dp"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/label_connection_mode">
+ app:layout_constraintTop_toBottomOf="@id/label_connection_mode"
+ app:singleSelection="true">
- <RadioButton
+ <com.google.android.material.button.MaterialButton
android:id="@+id/connection_mode_ssh_key"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="4dp"
android:text="@string/connection_mode_ssh_key" />
- <RadioButton
+ <com.google.android.material.button.MaterialButton
android:id="@+id/connection_mode_password"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="4dp"
android:text="@string/connection_mode_basic_authentication" />
- <RadioButton
+ <com.google.android.material.button.MaterialButton
android:id="@+id/connection_mode_open_keychain"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="4dp"
android:text="@string/connection_mode_openkeychain" />
-
- <RadioButton
- android:id="@+id/connection_mode_none"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="4dp"
- android:text="@string/connection_mode_none" />
-
- </RadioGroup>
+ </com.google.android.material.button.MaterialButtonToggleGroup>
<com.google.android.material.button.MaterialButton
android:id="@+id/save_button"