Last active
September 26, 2015 07:17
-
-
Save nowke/3e6829d1b8f69c3d1003 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.design.widget.AppBarLayout | |
android:id="@+id/appbar" | |
android:layout_width="match_parent" | |
android:layout_height="150dp" | |
android:background="@color/colorPrimary" | |
android:fitsSystemWindows="true" | |
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
app:contentInsetLeft="72dp" | |
app:contentInsetStart="72dp" | |
app:layout_collapseMode="pin" | |
app:layout_scrollFlags="scroll|enterAlways" | |
app:theme="@style/toolbar_theme" | |
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="72dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/event_title" | |
android:textColor="@color/colorTextAppbar" | |
android:textSize="18sp" | |
android:textStyle="bold" /> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="72dp" | |
android:layout_marginRight="16dp" | |
android:text="@string/event_time" | |
android:textColor="@color/colorTextAppbar" | |
android:textSize="14sp" /> | |
</android.support.design.widget.AppBarLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment