commit
c817dd8c14
@ -1,7 +0,0 @@ |
||||
package io.legado.app.ui.main |
||||
|
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class BookSourceFragment : Fragment() { |
||||
|
||||
} |
@ -1,7 +0,0 @@ |
||||
package io.legado.app.ui.main |
||||
|
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class BookshelfFragment : Fragment() { |
||||
|
||||
} |
@ -1,7 +0,0 @@ |
||||
package io.legado.app.ui.main |
||||
|
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class FindBookFragment : Fragment() { |
||||
|
||||
} |
@ -1,7 +0,0 @@ |
||||
package io.legado.app.ui.main |
||||
|
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class MyFragment : Fragment() { |
||||
|
||||
} |
@ -0,0 +1,14 @@ |
||||
package io.legado.app.ui.main.bookshelf |
||||
|
||||
import android.os.Bundle |
||||
import android.view.View |
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class BookshelfFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||
super.onViewCreated(view, savedInstanceState) |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,13 @@ |
||||
package io.legado.app.ui.main.booksource |
||||
|
||||
import android.os.Bundle |
||||
import android.view.View |
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class BookSourceFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||
super.onViewCreated(view, savedInstanceState) |
||||
} |
||||
|
||||
} |
@ -0,0 +1,13 @@ |
||||
package io.legado.app.ui.main.findbook |
||||
|
||||
import android.os.Bundle |
||||
import android.view.View |
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class FindBookFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||
super.onViewCreated(view, savedInstanceState) |
||||
} |
||||
|
||||
} |
@ -0,0 +1,13 @@ |
||||
package io.legado.app.ui.main.myconfig |
||||
|
||||
import android.os.Bundle |
||||
import android.view.View |
||||
import androidx.fragment.app.Fragment |
||||
|
||||
class MyConfigFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||
super.onViewCreated(view, savedInstanceState) |
||||
} |
||||
|
||||
} |
@ -1,21 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<androidx.constraintlayout.widget.ConstraintLayout |
||||
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" |
||||
tools:showIn="@layout/activity_main" |
||||
tools:context=".ui.main.MainActivity"> |
||||
|
||||
<TextView |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="Hello World!" |
||||
app:layout_constraintBottom_toBottomOf="parent" |
||||
app:layout_constraintLeft_toLeftOf="parent" |
||||
app:layout_constraintRight_toRightOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent"/> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
@ -0,0 +1,15 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<io.legado.app.ui.widget.TitleBar |
||||
android:id="@+id/title_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:title="@string/book_source"/> |
||||
|
||||
</LinearLayout> |
@ -0,0 +1,15 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<io.legado.app.ui.widget.TitleBar |
||||
android:id="@+id/title_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:title="@string/bookshelf"/> |
||||
|
||||
</LinearLayout> |
@ -0,0 +1,15 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<io.legado.app.ui.widget.TitleBar |
||||
android:id="@+id/title_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:title="@string/find"/> |
||||
|
||||
</LinearLayout> |
@ -0,0 +1,15 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<io.legado.app.ui.widget.TitleBar |
||||
android:id="@+id/title_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
app:title="我的"/> |
||||
|
||||
</LinearLayout> |
@ -0,0 +1,23 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
tools:showIn="bottom_navigation_view"> |
||||
|
||||
<item |
||||
android:id="@+id/menu_bookshelf" |
||||
android:icon="@drawable/ic_menu_camera" |
||||
android:title="书架"/> |
||||
<item |
||||
android:id="@+id/menu_find_book" |
||||
android:icon="@drawable/ic_menu_gallery" |
||||
android:title="发现"/> |
||||
<item |
||||
android:id="@+id/menu_book_source" |
||||
android:icon="@drawable/ic_menu_slideshow" |
||||
android:title="书源"/> |
||||
<item |
||||
android:id="@+id/menu_my_config" |
||||
android:icon="@drawable/ic_menu_manage" |
||||
android:title="我的"/> |
||||
|
||||
</menu> |
@ -1,38 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
tools:showIn="navigation_view"> |
||||
|
||||
<group android:checkableBehavior="single"> |
||||
<item |
||||
android:id="@+id/nav_backup" |
||||
android:icon="@drawable/ic_menu_camera" |
||||
android:title="@string/menu_backup"/> |
||||
<item |
||||
android:id="@+id/nav_restore" |
||||
android:icon="@drawable/ic_menu_gallery" |
||||
android:title="@string/menu_restore"/> |
||||
<item |
||||
android:id="@+id/nav_import_old" |
||||
android:icon="@drawable/ic_menu_slideshow" |
||||
android:title="@string/menu_import_old"/> |
||||
<item |
||||
android:id="@+id/nav_import_github" |
||||
android:icon="@drawable/ic_menu_manage" |
||||
android:title="@string/menu_import_github"/> |
||||
</group> |
||||
|
||||
<item android:title="Communicate"> |
||||
<menu> |
||||
<item |
||||
android:id="@+id/nav_replace_rule" |
||||
android:icon="@drawable/ic_menu_share" |
||||
android:title="@string/menu_replace_rule"/> |
||||
<item |
||||
android:id="@+id/nav_send" |
||||
android:icon="@drawable/ic_menu_send" |
||||
android:title="@string/menu_send"/> |
||||
</menu> |
||||
</item> |
||||
|
||||
</menu> |
@ -0,0 +1,4 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<resources> |
||||
|
||||
</resources> |
Loading…
Reference in new issue