diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 02e358841..d3339c502 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,7 +26,7 @@ tools:ignore="AllowBackup,GoogleAppIndexingWarning"> diff --git a/app/src/main/java/io/legado/app/App.kt b/app/src/main/java/io/legado/app/App.kt index e6fcf2122..85bca3c93 100644 --- a/app/src/main/java/io/legado/app/App.kt +++ b/app/src/main/java/io/legado/app/App.kt @@ -4,6 +4,7 @@ import android.app.Application class App : Application() { + override fun onCreate() { super.onCreate() diff --git a/app/src/main/java/io/legado/app/view/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt similarity index 99% rename from app/src/main/java/io/legado/app/view/MainActivity.kt rename to app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 8a6f64c65..2053e43d8 100644 --- a/app/src/main/java/io/legado/app/view/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -1,4 +1,4 @@ -package io.legado.app.view +package io.legado.app.ui.main import android.os.Bundle import com.google.android.material.floatingactionbutton.FloatingActionButton diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index 9f8165bb8..ef693f0b6 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -5,7 +5,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".view.MainActivity"> + tools:context=".ui.main.MainActivity"> + tools:context=".ui.main.MainActivity">