diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_ssh_keygen.xml')
| -rw-r--r-- | app/src/main/res/layout/fragment_ssh_keygen.xml | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml index 90cf4df0..803debc4 100644 --- a/app/src/main/res/layout/fragment_ssh_keygen.xml +++ b/app/src/main/res/layout/fragment_ssh_keygen.xml @@ -25,32 +25,25 @@ app:selectionRequired="true" app:singleSelection="true"> <com.google.android.material.button.MaterialButton - style="?attr/materialButtonOutlinedStyle" android:id="@+id/key_length_2048" + style="?attr/materialButtonOutlinedStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/key_length_2048" - android:textColor="?android:attr/textColorPrimary" - app:rippleColor="@color/ripple_color" - app:strokeColor="?attr/colorSecondary" - app:backgroundTint="@color/toggle_button_selector" /> + android:text="@string/key_length_2048" /> <com.google.android.material.button.MaterialButton - style="?attr/materialButtonOutlinedStyle" android:id="@+id/key_length_4096" + style="?attr/materialButtonOutlinedStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/key_length_4096" - android:textColor="?android:attr/textColorPrimary" - app:rippleColor="@color/ripple_color" - app:strokeColor="?attr/colorSecondary" - app:backgroundTint="@color/toggle_button_selector" /> + android:text="@string/key_length_4096" /> </com.google.android.material.button.MaterialButtonToggleGroup> <com.google.android.material.textfield.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp" - android:hint="@string/ssh_keygen_passphrase"> + android:hint="@string/ssh_keygen_passphrase" + app:endIconMode="password_toggle"> <com.google.android.material.textfield.TextInputEditText android:id="@+id/passphrase" @@ -61,14 +54,6 @@ android:inputType="textPassword" /> </com.google.android.material.textfield.TextInputLayout> - <com.google.android.material.checkbox.MaterialCheckBox - android:id="@+id/show_passphrase" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:checked="false" - android:text="@string/ssh_keygen_show_passphrase" /> - <com.google.android.material.textfield.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -84,12 +69,10 @@ <com.google.android.material.button.MaterialButton android:id="@+id/generate" - android:layout_width="match_parent" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="end" android:layout_marginTop="8dp" - android:text="@string/ssh_keygen_generate" - android:textColor="@android:color/white" - app:backgroundTint="?attr/colorSecondary" /> - + android:text="@string/ssh_keygen_generate" /> </LinearLayout> </ScrollView> |
