| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?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"
- 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">
- <include layout="@layout/default_app_bar" />
- <android.support.v4.widget.SwipeRefreshLayout
- android:id="@+id/swipeRefresh"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <include
- layout="@layout/books_page"
- android:visibility="gone"
- tools:visibility="visible" />
- <include
- layout="@layout/users_page"
- android:visibility="gone" />
- <include
- layout="@layout/notes_page"
- android:visibility="gone" />
- <ProgressBar
- android:id="@+id/booksProgressBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:alpha="0"
- tools:alpha="1" />
- </FrameLayout>
- </android.support.v4.widget.SwipeRefreshLayout>
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/bottomNavigation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:background="?attr/bottom_navigation_color"
- android:visibility="gone"
- app:menu="@menu/navigation" />
- </LinearLayout>
|