12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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"
- android:gravity="center_horizontal|center">
- <android.support.v7.widget.Toolbar
- style="@style/fullToolbarStyle"
- android:id="@+id/sub_toolbar"
- android:layout_width="match_parent"
- android:layout_height="56dp"
- android:background="@color/colorPrimary"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
- app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
- <FrameLayout
- android:id="@+id/toolbar_layout"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/colorPrimary"
- android:gravity="center">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center|center_vertical"
- android:orientation="horizontal">
- <Button
- android:id="@+id/toolbar_btn"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="60dp"
- android:layout_marginRight="60dp"
- android:background="#00000000"
- android:text="" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/toolbar_left_items"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left|center_vertical"
- android:orientation="horizontal">
- </LinearLayout>
- <LinearLayout
- android:id="@+id/toolbar_right_items"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginRight="10dp"
- android:gravity="right|center_vertical"
- android:orientation="horizontal">
- </LinearLayout>
- </FrameLayout>
- </android.support.v7.widget.Toolbar>
- <TextView
- android:id="@+id/toolbar_title_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dp"
- android:background="@null"
- android:ems="10"
- android:enabled="false"
- android:inputType="none"
- android:textAlignment="center"
- android:textColor="@android:color/white"
- android:textSize="18sp" />
- </RelativeLayout>
|