diff --git a/app/src/main/res/layout/fragment_home_md2.xml b/app/src/main/res/layout/fragment_home_md2.xml index ec056d4b6..db6eaf9a8 100644 --- a/app/src/main/res/layout/fragment_home_md2.xml +++ b/app/src/main/res/layout/fragment_home_md2.xml @@ -35,6 +35,8 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:animateLayoutChanges="true" + android:paddingStart="@dimen/l1" + android:paddingEnd="@dimen/l1" app:layout_constraintEnd_toStartOf="@+id/home_manager_wrapper" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> @@ -44,8 +46,9 @@ style="?styleIconPrimary" isEnabled="@{viewModel.stateMagisk != MagiskState.LOADING}" onSelectClick="@{() -> viewModel.onDeletePressed()}" - onSelectReset="@{10000L}" + onSelectReset="@{7000L}" android:padding="@dimen/l_25" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_magisk_delete" @@ -55,21 +58,19 @@ android:id="@+id/home_magisk_title" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/l1" + android:layout_marginTop="@dimen/l1" + android:gravity="center" android:text="Magisk" android:textAppearance="?appearanceTextTitleNormal" - app:layout_constraintBottom_toTopOf="@+id/home_magisk_status" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toEndOf="@+id/home_magisk_icon" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_chainStyle="packed" /> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/home_magisk_icon" /> @@ -87,8 +88,9 @@ + + @@ -124,6 +140,7 @@ android:id="@+id/home_manager_icon" style="?styleIconPrimary" android:padding="@dimen/l_50" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/ic_manager" /> @@ -132,38 +149,37 @@ android:id="@+id/home_manager_title" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginStart="@dimen/l1" + android:layout_marginTop="@dimen/l1" + android:gravity="center" android:text="Manager" android:textAppearance="?appearanceTextTitleNormal" - app:layout_constraintBottom_toTopOf="@+id/home_manager_status" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toEndOf="@+id/home_manager_icon" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_chainStyle="packed" /> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/home_manager_icon" /> \ No newline at end of file