54 lines
2.2 KiB
XML
54 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:id="@+id/iv_left"
|
|
android:clickable="true"
|
|
android:layout_width="@dimen/theme_navigation_min_size"
|
|
android:layout_height="@dimen/theme_navigation_min_size"
|
|
android:layout_marginLeft="@dimen/theme_8dp"
|
|
android:layout_marginTop="@dimen/theme_8dp"
|
|
android:scaleType="centerCrop"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_centerVertical="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_17sp"
|
|
android:textColor="@color/theme_txt"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:id="@+id/tv_title"
|
|
android:paddingLeft="@dimen/theme_navigation_size"
|
|
android:paddingRight="@dimen/theme_navigation_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:layout_centerInParent="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_16sp"
|
|
android:textColor="@color/theme_action_txt"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:id="@+id/tv_right"
|
|
android:background="@null"
|
|
android:paddingLeft="@dimen/dp_10"
|
|
android:paddingRight="@dimen/dp_10"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/theme_navigation_size"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:singleLine="true"
|
|
android:layout_alignParentRight="true"/>
|
|
<ImageView
|
|
android:id="@+id/iv_right"
|
|
android:visibility="gone"
|
|
android:clickable="true"
|
|
android:layout_width="@dimen/theme_navigation_min_size"
|
|
android:layout_height="@dimen/theme_navigation_min_size"
|
|
android:layout_marginTop="@dimen/theme_8dp"
|
|
android:layout_marginRight="@dimen/theme_8dp"
|
|
android:scaleType="centerCrop"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
</merge>
|