修改目录结构

pull/2/head
GKF 6 years ago
parent d497ad2b47
commit 5871962bfb
  1. 2
      app/src/main/AndroidManifest.xml
  2. 1
      app/src/main/java/io/legado/app/App.kt
  3. 2
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt
  4. 2
      app/src/main/res/layout/app_bar_main.xml
  5. 2
      app/src/main/res/layout/content_main.xml

@ -26,7 +26,7 @@
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
<activity
android:name="io.legado.app.view.MainActivity"
android:name="io.legado.app.ui.main.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>

@ -5,6 +5,7 @@ import android.app.Application
class App : Application() {
override fun onCreate() {
super.onCreate()
}

@ -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

@ -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">
<com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content"

@ -7,7 +7,7 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/app_bar_main"
tools:context=".view.MainActivity">
tools:context=".ui.main.MainActivity">
<TextView
android:layout_width="wrap_content"

Loading…
Cancel
Save