mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
973a00007f
commit
d672d18b08
@ -0,0 +1,7 @@
|
||||
package io.legado.app.ui.main
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
class BookSourceFragment : Fragment() {
|
||||
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package io.legado.app.ui.main
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
class BookshelfFragment : Fragment() {
|
||||
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package io.legado.app.ui.main
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
class FindBookFragment : Fragment() {
|
||||
|
||||
}
|
7
app/src/main/java/io/legado/app/ui/main/MyFragment.kt
Normal file
7
app/src/main/java/io/legado/app/ui/main/MyFragment.kt
Normal file
@ -0,0 +1,7 @@
|
||||
package io.legado.app.ui.main
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
|
||||
class MyFragment : Fragment() {
|
||||
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
<?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:layout_width="match_parent"
|
||||
android:layout_height="@dimen/nav_header_height"
|
||||
android:background="@drawable/side_nav_bar"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark"
|
||||
android:orientation="vertical"
|
||||
android:gravity="bottom">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
||||
app:srcCompat="@mipmap/ic_launcher_round"
|
||||
android:contentDescription="@string/nav_header_desc"
|
||||
android:id="@+id/imageView"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/nav_header_vertical_spacing"
|
||||
android:text="@string/nav_header_title"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nav_header_subtitle"
|
||||
android:id="@+id/textView"/>
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user