Last active
October 28, 2018 15:24
-
-
Save andrefrsousa/0968b7239188b978b5efaaa1ccc83b31 to your computer and use it in GitHub Desktop.
Toolbar with center title
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.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:id="@+id/toolbar_title" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
style="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"/> | |
</android.support.v7.widget.Toolbar> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment