Add root fragment and refactor

This commit is contained in:
topjohnwu
2016-08-23 05:18:28 +08:00
parent 36c575023e
commit 7bf83371d5
12 changed files with 92 additions and 104 deletions
@@ -3,8 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusableInTouchMode="true"
tools:context=".ui.MainActivity">
android:layout_marginTop="?attr/actionBarSize"
android:focusableInTouchMode="true">
<TextView
android:id="@+id/magisk_label"
@@ -120,12 +120,4 @@
android:text="@string/selinux_toggle"
android:textSize="20sp"/>
<Button
android:id="@+id/modules"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true"
android:text="modules activity"/>
</RelativeLayout>
+1
View File
@@ -28,6 +28,7 @@
<string name="log">Log</string>
<string name="remove">Remove</string>
<string name="disable">Disable</string>
<string name="no_root_access">No root access, functionality limited</string>
<string name="remove_file_created">Module will be removed at next reboot</string>
<string name="disable_file_created">Module will be disabled at next reboot</string>
<string name="menuSaveToSd">Save to SD</string>