Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.11 KB | None | 0 0
  1.  <android.support.design.widget.AppBarLayout
  2.        android:id="@+id/app_bar"
  3.        android:layout_width="match_parent"
  4.        android:layout_height="@dimen/app_bar_height"
  5.        android:fitsSystemWindows="true"
  6.        android:theme="@style/AppTheme.AppBarOverlay"
  7.        >
  8.  
  9.         <android.support.design.widget.CollapsingToolbarLayout
  10.            android:id="@+id/toolbar_layout"
  11.            android:layout_width="match_parent"
  12.            android:layout_height="match_parent"
  13.            android:fitsSystemWindows="true"
  14.            app:contentScrim="?attr/colorPrimary"
  15.            app:layout_scrollFlags="scroll|exitUntilCollapsed"
  16.            >
  17.  
  18.             <android.support.v7.widget.Toolbar
  19.                android:id="@+id/toolbar"
  20.                android:layout_width="match_parent"
  21.                android:layout_height="@dimen/toolbar_height"
  22.                app:layout_collapseMode="pin"
  23.                app:popupTheme="@style/AppTheme.PopupOverlay"
  24.                />
  25.  
  26.         </android.support.design.widget.CollapsingToolbarLayout>
  27.     </android.support.design.widget.AppBarLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement