diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_to_clone_or_not.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_to_clone_or_not.xml b/app/src/main/res/layout/fragment_to_clone_or_not.xml index 716b0c8f..2ee73679 100644 --- a/app/src/main/res/layout/fragment_to_clone_or_not.xml +++ b/app/src/main/res/layout/fragment_to_clone_or_not.xml @@ -37,24 +37,23 @@ app:layout_constraintTop_toBottomOf="@+id/app_icon" /> <com.google.android.material.button.MaterialButton + android:id="@+id/settings_button" style="@style/Widget.MaterialComponents.Button.TextButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_alignParentEnd="true" android:layout_marginEnd="@dimen/activity_horizontal_margin" - android:onClick="openSettings" android:text="@string/action_settings" android:textColor="@android:color/white" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> <com.google.android.material.button.MaterialButton - android:id="@+id/use_local_directory" + android:id="@+id/local_directory_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="48dp" - android:onClick="createNewRepository" android:text="@string/initialize" android:textSize="12sp" app:layout_constraintEnd_toEndOf="parent" @@ -62,13 +61,13 @@ app:layout_constraintTop_toBottomOf="@id/app_name" /> <com.google.android.material.button.MaterialButton + android:id="@+id/clone_from_server_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:onClick="cloneExistingRepository" android:text="@string/clone" android:textSize="12sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/use_local_directory" /> + app:layout_constraintTop_toBottomOf="@id/local_directory_button" /> </androidx.constraintlayout.widget.ConstraintLayout> |