<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
             android:background="#232323"
             android:fitsSystemWindows="true">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/title_bar_height"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <TextView
            android:id="@+id/graffiti_btn_back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="12dp"
            android:text="返回"
            android:textColor="#ffffff"
            android:textSize="18dp"/>

        <FrameLayout
            android:layout_width="1dp"
            android:layout_height="match_parent"
            android:layout_marginBottom="15dp"
            android:layout_marginTop="15dp"
            android:background="#181818"/>

        <TextView
            android:id="@+id/graffiti_txt_title"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_marginLeft="12dp"
            android:layout_weight="1"
            android:ellipsize="end"
            android:gravity="center"
            android:maxLines="1"
            android:singleLine="true"
            android:text="编辑"
            android:textColor="#ffffff"
            android:textSize="18dp"/>


        <FrameLayout
            android:layout_width="@dimen/title_bar_height"
            android:layout_height="@dimen/title_bar_height"
            android:layout_marginRight="10dp"
            android:padding="8dp">

            <ImageView
                android:id="@+id/graffiti_btn_hide_panel"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@drawable/graffiti_btn_effect_round_pressed_yellow"
                android:padding="6dp"
                android:scaleType="fitCenter"
                android:src="@drawable/graffiti_hide_panel"
                android:visibility="visible"/>
        </FrameLayout>

        <ImageView
            android:id="@+id/graffiti_btn_finish"
            android:layout_width="@dimen/title_bar_height"
            android:layout_height="@dimen/title_bar_height"
            android:scaleType="centerCrop"
            android:src="@drawable/graffiti_btn_finish"
            android:visibility="visible"/>
    </LinearLayout>

</FrameLayout>