SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <LinearLayout
  2.     xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:app="http://schemas.android.com/apk/res-auto"
  4.     xmlns:tools="http://schemas.android.com/tools"
  5.     android:id="@+id/main_content"
  6.     android:layout_width="match_parent"
  7.     android:layout_height="match_parent"
  8.     android:fitsSystemWindows="true"
  9.     android:orientation="vertical">
  10.  
  11.  
  12.     <!--toolbar and header-->
  13.     <android.support.design.widget.AppBarLayout
  14.         android:id="@+id/app_bar_layout"
  15.         android:layout_width="match_parent"
  16.         android:layout_height="wrap_content"
  17.         app:elevation="0dp"
  18.         android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
  19.  
  20.         <include layout="@layout/toolbar" />
  21.  
  22.     </android.support.design.widget.AppBarLayout>
  23.  
  24.     <LinearLayout
  25.         android:layout_width="match_parent"
  26.         android:layout_height="0dp"
  27.         android:layout_weight="1"
  28.         android:orientation="vertical">
  29.  
  30.         <View
  31.             android:layout_width="match_parent"
  32.             android:layout_height="?attr/actionBarSize" />
  33.  
  34.         <android.support.v7.widget.RecyclerView
  35.             android:id="@+id/recyclerView"
  36.             android:layout_width="match_parent"
  37.             android:layout_height="match_parent"
  38.             android:background="@android:color/black"
  39.             android:scrollbars="vertical"
  40.             android:scrollingCache="true" />
  41.  
  42.         <WebView
  43.             android:id="@+id/webView"
  44.             android:layout_width="match_parent"
  45.             android:layout_height="wrap_content"
  46.             android:visibility="gone"/>
  47.  
  48.         <View
  49.             android:layout_width="match_parent"
  50.             android:layout_height="?attr/actionBarSize" />
  51.  
  52.     </LinearLayout>
  53.  
  54.  
  55.     <!-- bottom nav -->
  56.     <android.support.design.widget.BottomNavigationView
  57.         android:id="@+id/navigation"
  58.         android:layout_width="match_parent"
  59.         android:layout_height="wrap_content"
  60.         android:layout_alignParentBottom="true"
  61.         android:layout_gravity="bottom"
  62.         android:background="@color/colorPrimaryDark"
  63.         app:itemIconTint="@drawable/color_state_light"
  64.         app:itemTextColor="@drawable/color_state_light"
  65.         app:menu="@menu/navigation" />
  66.  
  67. </LinearLayout>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top