diff --git a/api/api.iml b/api/api.iml
index ca9c4bea..ce0230c2 100644
--- a/api/api.iml
+++ b/api/api.iml
@@ -70,15 +70,15 @@
-
+
+
+
-
-
diff --git a/app/app.iml b/app/app.iml
index 4b795135..f2e98289 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -70,17 +70,17 @@
-
-
-
-
+
+
+
+
-
+
@@ -135,10 +135,10 @@
-
-
+
+
diff --git a/app/src/main/java/com/vanced/manager/core/Main.kt b/app/src/main/java/com/vanced/manager/core/Main.kt
index 69658d1f..f7e0df0e 100644
--- a/app/src/main/java/com/vanced/manager/core/Main.kt
+++ b/app/src/main/java/com/vanced/manager/core/Main.kt
@@ -1,16 +1,16 @@
package com.vanced.manager.core
import android.annotation.SuppressLint
-import android.os.Build
import android.os.Bundle
import androidx.appcompat.app.AlertDialog
import com.vanced.manager.R
-import com.vanced.manager.ui.core.ThemeActivity
+import com.vanced.manager.core.base.BaseActivity
+import com.vanced.manager.ui.core.ThemedActivity
// This activity will NOT be used in manifest
// since MainActivity will extend it
@SuppressLint("Registered")
-open class Main: ThemeActivity() {
+open class Main: BaseActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
diff --git a/app/src/main/java/com/vanced/manager/core/base/BaseActivity.kt b/app/src/main/java/com/vanced/manager/core/base/BaseActivity.kt
new file mode 100644
index 00000000..dd21286e
--- /dev/null
+++ b/app/src/main/java/com/vanced/manager/core/base/BaseActivity.kt
@@ -0,0 +1,8 @@
+package com.vanced.manager.core.base
+
+import android.annotation.SuppressLint
+import com.vanced.manager.ui.core.ThemedActivity
+
+@SuppressLint("Registered")
+open class BaseActivity: ThemedActivity() {
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/vanced/manager/core/base/RootHelper.kt b/app/src/main/java/com/vanced/manager/core/base/RootHelper.kt
new file mode 100644
index 00000000..4a3fd05f
--- /dev/null
+++ b/app/src/main/java/com/vanced/manager/core/base/RootHelper.kt
@@ -0,0 +1,18 @@
+package com.vanced.manager.core.base
+
+import android.util.Log
+
+class RootHelper {
+
+ private val TAG: String = "VMRoot"
+
+ fun rootRequest(): Boolean {
+ return try {
+ true
+ } catch (e: Exception) {
+ Log.d(TAG, "Unable to acquire root access")
+ false
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt b/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt
similarity index 98%
rename from app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt
rename to app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt
index c82d01e1..f01d4999 100644
--- a/app/src/main/java/com/vanced/manager/ui/core/BaseActivity.kt
+++ b/app/src/main/java/com/vanced/manager/ui/core/ThemedActivity.kt
@@ -14,7 +14,7 @@ import com.vanced.manager.R
// This activity will NOT be used in manifest
// since MainActivity will extend it
@SuppressLint("Registered")
-open class ThemeActivity : AppCompatActivity() {
+open class ThemedActivity : AppCompatActivity() {
private lateinit var currentTheme: String
private lateinit var pref: SharedPreferences
diff --git a/app/src/main/res/layout/include_vanced_medias.xml b/app/src/main/res/layout/include_vanced_medias.xml
index 904bfb43..69872440 100644
--- a/app/src/main/res/layout/include_vanced_medias.xml
+++ b/app/src/main/res/layout/include_vanced_medias.xml
@@ -8,20 +8,21 @@
+ android:layout_height="wrap_content">
-
- wrap_content
- wrap_content
- - @android:color/transparent
- - @android:color/transparent
+ - @android:color/transparent
+ - @android:color/transparent
- #ffffff
- 0dp
- textStart
@@ -71,7 +71,7 @@
- wrap_content
- wrap_content
- ?colorPrimary
- - @font/exo_bold
+ - @font/exo_bold
- 24sp
- 8dp
@@ -80,7 +80,7 @@
- wrap_content
- wrap_content
- ?colorOnSurfaceVariant
- - @font/exo_bold
+ - @font/exo_bold
- 18sp
@@ -88,7 +88,7 @@
- match_parent
- wrap_content
- ?colorOnSurfaceVariant
- - @font/exo_bold
+ - @font/exo_bold
- center
- 18sp
@@ -97,7 +97,7 @@
- wrap_content
- wrap_content
- ?colorOnSurfaceVariant
- - @font/exo_semibold
+ - @font/exo_semibold
- center
- 24sp
@@ -107,11 +107,11 @@
- wrap_content
- ?colorOnSurfaceVariant
- 13sp
- - @font/exo
+ - @font/exo
@@ -119,12 +119,12 @@
- wrap_content
- wrap_content
- true
- - ?colorPrimary
+ - ?colorPrimary
- 0dp
\ No newline at end of file