Move denylist fragment to its own section

This commit is contained in:
topjohnwu
2021-09-12 00:39:24 -07:00
parent 136d8c39d9
commit fc6b02f607
5 changed files with 18 additions and 31 deletions
@@ -38,7 +38,7 @@
android:layout_gravity="bottom|end"
android:layout_marginStart="@dimen/l1"
android:layout_marginEnd="@dimen/l1"
android:layout_marginBottom="@dimen/l1"
android:layout_marginBottom="72dp"
app:backgroundTint="?colorSurfaceSurfaceVariant"
app:layout_fitsSystemWindowsInsets="bottom"
app:srcCompat="@drawable/ic_search_md2"
@@ -52,6 +52,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:visibility="invisible"
app:layout_fitsSystemWindowsInsets="bottom"
app:cardCornerRadius="0dp">
<include
@@ -14,6 +14,12 @@
android:title="@string/superuser"
tools:showAsAction="always" />
<item
android:id="@+id/hideFragment"
android:icon="@drawable/ic_hide_md2"
android:title="@string/magiskhide"
tools:showAsAction="always" />
<item
android:id="@+id/logFragment"
android:icon="@drawable/ic_bug_md2"
+3 -12
View File
@@ -110,17 +110,7 @@
android:id="@+id/superuserFragment"
android:name="com.topjohnwu.magisk.ui.superuser.SuperuserFragment"
android:label="SuperuserFragment"
tools:layout="@layout/fragment_superuser_md2">
<action
android:id="@+id/action_superuserFragment_to_hideFragment"
app:destination="@id/hideFragment"
app:enterAnim="@anim/fragment_enter"
app:exitAnim="@anim/fragment_exit"
app:popEnterAnim="@anim/fragment_enter_pop"
app:popExitAnim="@anim/fragment_exit_pop" />
</fragment>
tools:layout="@layout/fragment_superuser_md2" />
<fragment
android:id="@+id/themeFragment"
@@ -180,6 +170,7 @@
app:enterAnim="@anim/fragment_enter"
app:exitAnim="@anim/fragment_exit"
app:popEnterAnim="@anim/fragment_enter_pop"
app:popExitAnim="@anim/fragment_exit_pop" />
app:popExitAnim="@anim/fragment_exit_pop"
app:popUpTo="@id/homeFragment"/>
</navigation>