<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/navigation_bg_color"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="48dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/tv_top_bar_left"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentStart="true"
|
android:layout_alignParentLeft="true"
|
android:layout_centerVertical="true"
|
android:layout_marginLeft="5dp"
|
android:drawableLeft="@drawable/ic_back"
|
android:drawablePadding="3dp"
|
android:gravity="center"
|
android:padding="8dp"
|
android:textColor="@color/navigation_text_color" />
|
|
<TextView
|
android:id="@+id/tv_top_bar_left2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_toRightOf="@id/tv_top_bar_left"
|
android:gravity="center"
|
android:paddingLeft="3dp"
|
android:paddingTop="8dp"
|
android:paddingRight="8dp"
|
android:paddingBottom="8dp"
|
android:textColor="@color/navigation_text_color"
|
android:visibility="gone" />
|
|
<TextView
|
android:id="@+id/tv_top_bar_middle"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:ellipsize="end"
|
android:maxLength="6"
|
android:singleLine="true"
|
android:textColor="@color/navigation_text_color"
|
android:textSize="@dimen/title_text_size" />
|
|
<TextView
|
android:id="@+id/tv_top_bar_right"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:layout_marginRight="5dp"
|
android:padding="8dp"
|
android:textColor="@color/navigation_text_color" />
|
</RelativeLayout>
|
|
</LinearLayout>
|