109 lines
4.2 KiB
XML
109 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="35dp"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:viewBindingIgnore="true"
|
|
android:background="@android:color/white">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/exchange_title_back"
|
|
android:paddingRight="@dimen/dp16"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="15dp"
|
|
android:src="@drawable/ic_return" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/exchange_title_view_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_marginRight="16dp">
|
|
|
|
<TextView
|
|
android:id="@+id/exchange_title_name_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="活跃"
|
|
android:textColor="@android:color/black"
|
|
android:textSize="18sp" />
|
|
|
|
<View
|
|
android:id="@+id/exchange_title_bottom_line_1"
|
|
android:layout_width="20dp"
|
|
android:layout_height="2.5dp"
|
|
android:layout_below="@+id/exchange_title_name_1"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="1dp"
|
|
android:layout_marginTop="2dp"
|
|
android:background="@drawable/shape_exchange_selector_bottom" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/exchange_title_view_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:id="@+id/exchange_title_name_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="同城"
|
|
android:textColor="@color/loginText2"
|
|
android:textSize="18sp" />
|
|
|
|
<View
|
|
android:id="@+id/exchange_title_bottom_line_2"
|
|
android:layout_width="20dp"
|
|
android:layout_height="2.5dp"
|
|
android:layout_below="@+id/exchange_title_name_2"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="1dp"
|
|
android:layout_marginTop="2dp"
|
|
android:background="@drawable/shape_exchange_selector_bottom"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_more_city"
|
|
android:layout_width="@dimen/dp12"
|
|
android:layout_height="@dimen/dp6"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="@dimen/dp4"
|
|
android:layout_marginTop="@dimen/dp2"
|
|
android:src="@drawable/ic_bou_mo1" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:id="@+id/tv_greet"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginRight="16dp"
|
|
android:text="群打招呼"
|
|
android:textColor="@color/mainColor"
|
|
android:textSize="14sp"/>
|
|
</RelativeLayout> |