parent
0c3d9f5f1e
commit
4457ee2519
@ -0,0 +1,27 @@ |
|||||||
|
<?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"> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar |
||||||
|
android:id="@+id/tool_bar" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:background="@color/background_menu" |
||||||
|
android:elevation="5dp" |
||||||
|
app:displayHomeAsUp="false" |
||||||
|
app:fitStatusBar="false" /> |
||||||
|
|
||||||
|
<io.legado.app.ui.widget.anima.RefreshProgressBar |
||||||
|
android:id="@+id/refresh_progress_bar" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="2dp" /> |
||||||
|
|
||||||
|
<androidx.recyclerview.widget.RecyclerView |
||||||
|
android:id="@+id/recycler_view" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" /> |
||||||
|
|
||||||
|
</LinearLayout> |
@ -1,31 +1,39 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
android:orientation="vertical" |
android:orientation="vertical" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent"> |
android:layout_height="match_parent"> |
||||||
|
|
||||||
<androidx.appcompat.widget.Toolbar |
<com.google.android.material.appbar.AppBarLayout |
||||||
android:id="@+id/tool_bar" |
|
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||||
android:background="@color/background_menu" |
android:background="@color/background_menu"> |
||||||
android:elevation="5dp" |
|
||||||
app:displayHomeAsUp="false" |
<androidx.appcompat.widget.Toolbar |
||||||
app:fitStatusBar="false" |
android:id="@+id/tool_bar" |
||||||
app:layout_constraintTop_toTopOf="parent" /> |
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" |
||||||
|
android:background="@color/background_menu" |
||||||
|
android:elevation="5dp" |
||||||
|
app:displayHomeAsUp="false" |
||||||
|
app:fitStatusBar="false" /> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.SearchView |
||||||
|
android:id="@+id/search_view" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="wrap_content" /> |
||||||
|
|
||||||
|
</com.google.android.material.appbar.AppBarLayout> |
||||||
|
|
||||||
<io.legado.app.ui.widget.anima.RefreshProgressBar |
<io.legado.app.ui.widget.anima.RefreshProgressBar |
||||||
android:id="@+id/refresh_progress_bar" |
android:id="@+id/refresh_progress_bar" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="2dp" |
android:layout_height="2dp" /> |
||||||
app:layout_constraintTop_toBottomOf="@+id/tool_bar" /> |
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView |
<androidx.recyclerview.widget.RecyclerView |
||||||
android:id="@+id/recycler_view" |
android:id="@+id/recycler_view" |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="0dp" |
android:layout_height="match_parent" /> |
||||||
app:layout_constraintTop_toBottomOf="@+id/refresh_progress_bar" |
|
||||||
app:layout_constraintBottom_toBottomOf="parent" /> |
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout> |
</LinearLayout> |
Loading…
Reference in new issue