Last active
July 13, 2018 02:11
-
-
Save zawzaww/1500fad7fb8b947df69d2db1690a19f6 to your computer and use it in GitHub Desktop.
Setup app bar in XML Layout.
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:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:theme="@style/AppTheme.AppBarOverlay"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
android:background="@android:color/background_light" | |
app:popupTheme="@style/AppTheme.PopupOverlay" | |
app:title="TED Talks" | |
app:titleTextColor="@color/colorPrimary" /> | |
</android.support.design.widget.AppBarLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment