You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Move denylist fragment to its own section
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user