diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index 04b8338c..890cc19b 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -33,7 +33,8 @@ android:id="@+id/label_server_url" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" android:hint="@string/server_url" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -53,7 +54,8 @@ android:id="@+id/label_server_branch" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_margin="8dp" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" android:hint="@string/server_branch" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -83,9 +85,11 @@ @@ -95,21 +99,33 @@ style="?attr/materialButtonOutlinedStyle" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/connection_mode_ssh_key" /> + android:layout_weight="1" + android:minWidth="0dp" + android:padding="8dp" + android:text="@string/connection_mode_ssh_key" + android:textSize="@dimen/toggle_group_text_size" /> + android:layout_weight="1" + android:minWidth="0dp" + android:padding="8dp" + android:text="@string/connection_mode_basic_authentication" + android:textSize="@dimen/toggle_group_text_size" /> + android:layout_weight="1" + android:minWidth="0dp" + android:padding="8dp" + android:text="@string/connection_mode_openkeychain" + android:textSize="@dimen/toggle_group_text_size" /> + android:background="?attr/colorPrimary"> - + - + - + - + - + - + - + + + + diff --git a/app/src/main/res/layout/fragment_key_selection.xml b/app/src/main/res/layout/fragment_key_selection.xml index 9a391276..f3dd753a 100644 --- a/app/src/main/res/layout/fragment_key_selection.xml +++ b/app/src/main/res/layout/fragment_key_selection.xml @@ -15,7 +15,7 @@ android:layout_width="64dp" android:layout_height="64dp" android:layout_marginStart="32dp" - android:layout_marginTop="100dp" + android:layout_marginTop="@dimen/onboarding_icon_margin_top" android:contentDescription="@string/app_icon_hint" android:src="@mipmap/ic_launcher" app:layout_constraintStart_toStartOf="parent" @@ -23,23 +23,26 @@ diff --git a/app/src/main/res/layout/fragment_repo_location.xml b/app/src/main/res/layout/fragment_repo_location.xml index 9581774e..268907ba 100644 --- a/app/src/main/res/layout/fragment_repo_location.xml +++ b/app/src/main/res/layout/fragment_repo_location.xml @@ -1,86 +1,94 @@ - + android:background="?attr/colorPrimary"> - + - + - + - + - + - + + + + + + - diff --git a/app/src/main/res/values-hdpi/dimens.xml b/app/src/main/res/values-hdpi/dimens.xml new file mode 100644 index 00000000..e48a0198 --- /dev/null +++ b/app/src/main/res/values-hdpi/dimens.xml @@ -0,0 +1,7 @@ + + + 12sp + 50dp + 70dp + 48dp + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index a76d0bab..d82d030c 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -10,4 +10,8 @@ 16dp 8dp 56dp + 14sp + 100dp + 140dp + 48dp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2cdc8f8e..a370d230 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -376,7 +376,7 @@ Select if you want to create a local repo or clone a remote repo. Clone Remote Repo Create Local Repo - Select\nGPG\nKey + Select\nGPG Key Select a GPG key to initialize your store with Select key