Skip to content

Instantly share code, notes, and snippets.

@janishar
Last active August 22, 2016 14:59
Show Gist options
  • Save janishar/494ef639a438052cec2d08dc605669a5 to your computer and use it in GitHub Desktop.
Save janishar/494ef639a438052cec2d08dc605669a5 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="@color/colorPrimaryDark">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:gravity="left|center"
android:layout_gravity="center"
android:textSize="18sp"
android:text="@string/home"/>
</android.support.v7.widget.Toolbar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment