Redesign is now the new norm

This commit is contained in:
topjohnwu
2020-01-13 00:43:09 +08:00
parent 1449486958
commit 3490ba0a56
90 changed files with 313 additions and 313 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.ui.flash.FlashViewModel" />
type="com.topjohnwu.magisk.legacy.flash.FlashViewModel" />
</data>
@@ -149,4 +149,4 @@
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>
</layout>
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.MainViewModel" />
type="com.topjohnwu.magisk.ui.MainViewModel" />
</data>
+1 -1
View File
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.ui.surequest.SuRequestViewModel" />
type="com.topjohnwu.magisk.legacy.surequest.SuRequestViewModel" />
</data>
@@ -5,7 +5,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.request.RequestViewModel" />
type="com.topjohnwu.magisk.ui.request.RequestViewModel" />
</data>
@@ -20,4 +20,4 @@
</androidx.core.widget.NestedScrollView>
</layout>
</layout>
@@ -7,7 +7,7 @@
<variable
name="data"
type="com.topjohnwu.magisk.redesign.settings.Hide" />
type="com.topjohnwu.magisk.ui.settings.Hide" />
</data>
@@ -7,7 +7,7 @@
<variable
name="data"
type="com.topjohnwu.magisk.redesign.settings.DownloadPath" />
type="com.topjohnwu.magisk.ui.settings.DownloadPath" />
</data>
@@ -7,7 +7,7 @@
<variable
name="data"
type="com.topjohnwu.magisk.redesign.settings.UpdateChannelUrl" />
type="com.topjohnwu.magisk.ui.settings.UpdateChannelUrl" />
</data>
@@ -5,7 +5,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.flash.FlashViewModel" />
type="com.topjohnwu.magisk.ui.flash.FlashViewModel" />
</data>
@@ -20,4 +20,4 @@
</androidx.core.widget.NestedScrollView>
</layout>
</layout>
@@ -9,7 +9,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.hide.HideViewModel" />
type="com.topjohnwu.magisk.ui.hide.HideViewModel" />
</data>
@@ -89,4 +89,4 @@
</FrameLayout>
</layout>
</layout>
@@ -17,7 +17,7 @@
<import type="com.topjohnwu.magisk.BuildConfig" />
<import type="com.topjohnwu.magisk.redesign.home.MagiskState" />
<import type="com.topjohnwu.magisk.ui.home.MagiskState" />
<import type="com.topjohnwu.magisk.extensions.XAndroidKt" />
@@ -25,7 +25,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.home.HomeViewModel" />
type="com.topjohnwu.magisk.ui.home.HomeViewModel" />
</data>
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.install.InstallViewModel" />
type="com.topjohnwu.magisk.ui.install.InstallViewModel" />
</data>
@@ -278,4 +278,4 @@
</androidx.core.widget.NestedScrollView>
</layout>
</layout>
+2 -2
View File
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.log.LogViewModel" />
type="com.topjohnwu.magisk.ui.log.LogViewModel" />
</data>
@@ -77,4 +77,4 @@
</FrameLayout>
</layout>
</layout>
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
@@ -94,4 +94,4 @@
</FrameLayout>
</layout>
</layout>
@@ -12,7 +12,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.safetynet.SafetynetViewModel" />
type="com.topjohnwu.magisk.ui.safetynet.SafetynetViewModel" />
</data>
@@ -289,4 +289,4 @@
</androidx.core.widget.NestedScrollView>
</layout>
</layout>
@@ -9,7 +9,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.settings.SettingsViewModel" />
type="com.topjohnwu.magisk.ui.settings.SettingsViewModel" />
</data>
@@ -35,4 +35,4 @@
tools:listitem="@layout/item_settings_toggle"
tools:paddingTop="@dimen/l1" />
</layout>
</layout>
@@ -9,7 +9,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.superuser.SuperuserViewModel" />
type="com.topjohnwu.magisk.ui.superuser.SuperuserViewModel" />
</data>
@@ -62,4 +62,4 @@
</FrameLayout>
</layout>
</layout>
@@ -4,11 +4,11 @@
<data>
<import type="com.topjohnwu.magisk.redesign.theme.Theme" />
<import type="com.topjohnwu.magisk.ui.theme.Theme" />
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.theme.ThemeViewModel" />
type="com.topjohnwu.magisk.ui.theme.ThemeViewModel" />
</data>
@@ -159,4 +159,4 @@
</androidx.core.widget.NestedScrollView>
</layout>
</layout>
@@ -9,7 +9,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.hide.HideViewModel" />
type="com.topjohnwu.magisk.ui.hide.HideViewModel" />
</data>
@@ -7,7 +7,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.log.LogViewModel" />
type="com.topjohnwu.magisk.ui.log.LogViewModel" />
</data>
@@ -51,4 +51,4 @@
</FrameLayout>
</layout>
</layout>
@@ -9,7 +9,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
+2 -2
View File
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.home.HomeViewModel" />
type="com.topjohnwu.magisk.ui.home.HomeViewModel" />
</data>
@@ -66,4 +66,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.home.HomeViewModel" />
type="com.topjohnwu.magisk.ui.home.HomeViewModel" />
</data>
@@ -47,4 +47,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
+2 -2
View File
@@ -13,7 +13,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.hide.HideViewModel" />
type="com.topjohnwu.magisk.ui.hide.HideViewModel" />
</data>
@@ -129,4 +129,4 @@
</com.google.android.material.card.MaterialCardView>
</layout>
</layout>
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.hide.HideViewModel" />
type="com.topjohnwu.magisk.ui.hide.HideViewModel" />
</data>
@@ -55,4 +55,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
@@ -13,7 +13,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.log.LogViewModel" />
type="com.topjohnwu.magisk.ui.log.LogViewModel" />
</data>
@@ -101,4 +101,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
@@ -10,7 +10,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
+2 -2
View File
@@ -15,7 +15,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
@@ -133,4 +133,4 @@
</com.google.android.material.card.MaterialCardView>
</layout>
</layout>
+2 -2
View File
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.superuser.SuperuserViewModel" />
type="com.topjohnwu.magisk.ui.superuser.SuperuserViewModel" />
</data>
@@ -180,4 +180,4 @@
</com.google.android.material.card.MaterialCardView>
</layout>
</layout>
+1 -1
View File
@@ -13,7 +13,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
+2 -2
View File
@@ -11,7 +11,7 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.module.ModuleViewModel" />
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
</data>
@@ -53,4 +53,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
</layout>
+3 -3
View File
@@ -7,11 +7,11 @@
<variable
name="viewModel"
type="com.topjohnwu.magisk.redesign.theme.ThemeViewModel" />
type="com.topjohnwu.magisk.ui.theme.ThemeViewModel" />
<variable
name="theme"
type="com.topjohnwu.magisk.redesign.theme.Theme" />
type="com.topjohnwu.magisk.ui.theme.Theme" />
</data>
@@ -179,4 +179,4 @@
</com.google.android.material.card.MaterialCardView>
</layout>
</layout>