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"?> |
||||
<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" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<androidx.appcompat.widget.Toolbar |
||||
android:id="@+id/tool_bar" |
||||
<com.google.android.material.appbar.AppBarLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:background="@color/background_menu" |
||||
android:elevation="5dp" |
||||
app:displayHomeAsUp="false" |
||||
app:fitStatusBar="false" |
||||
app:layout_constraintTop_toTopOf="parent" /> |
||||
android:background="@color/background_menu"> |
||||
|
||||
<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" /> |
||||
|
||||
<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 |
||||
android:id="@+id/refresh_progress_bar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="2dp" |
||||
app:layout_constraintTop_toBottomOf="@+id/tool_bar" /> |
||||
android:layout_height="2dp" /> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recycler_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="0dp" |
||||
app:layout_constraintTop_toBottomOf="@+id/refresh_progress_bar" |
||||
app:layout_constraintBottom_toBottomOf="parent" /> |
||||
android:layout_height="match_parent" /> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
||||
</LinearLayout> |
Loading…
Reference in new issue