Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created March 14, 2018 11:15
Embed
What would you like to do?
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