|
|
@@ -1,20 +1,17 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:id="@+id/container"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- tools:context=".feature.MainActivity">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<include layout="@layout/default_app_bar" />
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
android:id="@+id/swipeRefresh"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -49,10 +46,11 @@
|
|
|
android:background="@color/knigopis_color_bottom_navigation"
|
|
|
android:visibility="gone"
|
|
|
app:elevation="0dp"
|
|
|
- app:menu="@menu/navigation" />
|
|
|
+ app:menu="@menu/navigation"
|
|
|
+ tools:visibility="visible" />
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+</FrameLayout>
|