Created
October 25, 2018 06:45
-
-
Save joansanfeliu/8d3d7aaa87dd7c46de02a759e9612132 to your computer and use it in GitHub Desktop.
Android Toolbar
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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.design.widget.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
xmlns:tools="http://schemas.android.com/tools" | |
tools:showIn="@layout/activity_main"> | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@color/background_dark" | |
android:minHeight="?attr/actionBarSize" | |
app:theme="@style/ThemeOverlay.AppCompat.Dark" | |
app:titleTextColor="@android:color/white" /> | |
</android.support.design.widget.AppBarLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment