Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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/main_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- android:orientation="vertical">
- <!--toolbar and header-->
- <android.support.design.widget.AppBarLayout
- android:id="@+id/app_bar_layout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:elevation="0dp"
- android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <include layout="@layout/toolbar" />
- </android.support.design.widget.AppBarLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:orientation="vertical">
- <View
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize" />
- <android.support.v7.widget.RecyclerView
- android:id="@+id/recyclerView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/black"
- android:scrollbars="vertical"
- android:scrollingCache="true" />
- <WebView
- android:id="@+id/webView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:visibility="gone"/>
- <View
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize" />
- </LinearLayout>
- <!-- bottom nav -->
- <android.support.design.widget.BottomNavigationView
- android:id="@+id/navigation"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_gravity="bottom"
- android:background="@color/colorPrimaryDark"
- app:itemIconTint="@drawable/color_state_light"
- app:itemTextColor="@drawable/color_state_light"
- app:menu="@menu/navigation" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement