<?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:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:background="#01C4C0"
android:minHeight="?attr/actionBarSize"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello"
android:textColor="#FFFFFF"
android:layout_gravity="center"
android:id="@+id/toolbar_title"
android:textSize="30sp"
/>
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
tools:layout_editor_absoluteX="29dp"
tools:layout_editor_absoluteY="52dp" />
</android.support.v7.widget.Toolbar>
액션바 중앙정렬후 버튼을 추가시 버튼이
액션바안에서 나가질못하네요ㅠㅠ 레이아웃문제인거같은데 어떻게 수정하죠?