Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 14, 2018 11:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/4ec94117bc2eb221f82b49695c12d6b7 to your computer and use it in GitHub Desktop.
Save jfversluis/4ec94117bc2eb221f82b49695c12d6b7 to your computer and use it in GitHub Desktop.
Updated the Toolbar to apply the style on Android
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
android:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:titleTextAppearance="@style/Toolbar.TitleText" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment