pull/32/head
parent
4ce8709e71
commit
cf6d11bd36
@ -1,7 +0,0 @@ |
|||||||
package io.legado.app.ui.main |
|
||||||
|
|
||||||
import androidx.fragment.app.Fragment |
|
||||||
|
|
||||||
class MyFragment : Fragment() { |
|
||||||
|
|
||||||
} |
|
@ -1,4 +1,4 @@ |
|||||||
package io.legado.app.ui.main |
package io.legado.app.ui.main.bookshelf |
||||||
|
|
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
@ -1,4 +1,4 @@ |
|||||||
package io.legado.app.ui.main |
package io.legado.app.ui.main.booksource |
||||||
|
|
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
@ -1,4 +1,4 @@ |
|||||||
package io.legado.app.ui.main |
package io.legado.app.ui.main.findbook |
||||||
|
|
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
@ -0,0 +1,7 @@ |
|||||||
|
package io.legado.app.ui.main.myconfig |
||||||
|
|
||||||
|
import androidx.fragment.app.Fragment |
||||||
|
|
||||||
|
class MyConfigFragment : Fragment() { |
||||||
|
|
||||||
|
} |
@ -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,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="navigation_view"> |
||||||
|
|
||||||
|
<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"/> |
||||||
|
|
||||||
|
</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> |
|
Loading…
Reference in new issue