164 lines
6.2 KiB
XML
164 lines
6.2 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="horizontal"
|
|
tools:viewBindingIgnore="true">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dynamic_title_view_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/dynamic_title_bottom_line_1"
|
|
android:layout_width="@dimen/dp20"
|
|
android:layout_height="@dimen/dp5"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_below="@+id/dynamic_title_name_1"
|
|
android:src="@drawable/shape_button_e472ed" />
|
|
|
|
<TextView
|
|
android:id="@+id/dynamic_title_name_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="最新"
|
|
android:textColor="@color/one_text"
|
|
android:textSize="20dp" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dynamic_title_view_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_toEndOf="@+id/dynamic_title_view_1">
|
|
|
|
<ImageView
|
|
android:id="@+id/dynamic_title_bottom_line_2"
|
|
android:layout_width="@dimen/dp20"
|
|
android:layout_height="@dimen/dp5"
|
|
android:layout_below="@+id/dynamic_title_name_2"
|
|
android:layout_centerHorizontal="true"
|
|
android:src="@drawable/shape_button_e472ed" />
|
|
|
|
<TextView
|
|
android:id="@+id/dynamic_title_name_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="关注"
|
|
android:textColor="@color/one_text"
|
|
android:textSize="16dp" />
|
|
</RelativeLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_address"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="20dp"
|
|
android:layout_marginEnd="2dp"
|
|
android:layout_toEndOf="@+id/dynamic_title_view_2"
|
|
android:src="@mipmap/icon_address" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/dynamic_title_view_3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_toEndOf="@+id/iv_address"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent">
|
|
|
|
<ImageView
|
|
android:id="@+id/dynamic_title_bottom_line_3"
|
|
android:layout_width="@dimen/dp20"
|
|
android:layout_height="@dimen/dp5"
|
|
android:layout_below="@+id/dynamic_title_name_3"
|
|
android:layout_centerHorizontal="true"
|
|
android:src="@drawable/shape_button_e472ed" />
|
|
|
|
<TextView
|
|
android:id="@+id/dynamic_title_name_3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="同城"
|
|
android:textColor="@color/one_text"
|
|
android:textSize="16dp" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp4"
|
|
android:layout_marginRight="@dimen/dp16"
|
|
android:layout_toRightOf="@+id/dynamic_title_view_3"
|
|
android:visibility="gone">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_more_city"
|
|
android:layout_width="24dp"
|
|
android:layout_height="@dimen/dp6"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginTop="@dimen/dp2"
|
|
android:src="@drawable/ic_bou_mo1" />
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/dynamic_title_view_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_marginLeft="@dimen/dp20"
|
|
android:layout_toEndOf="@+id/dynamic_title_view_3">
|
|
|
|
<ImageView
|
|
android:id="@+id/dynamic_title_bottom_line_4"
|
|
android:layout_width="@dimen/dp20"
|
|
android:layout_height="@dimen/dp5"
|
|
android:layout_below="@+id/dynamic_title_name_4"
|
|
android:layout_centerHorizontal="true"
|
|
android:src="@drawable/shape_button_e472ed" />
|
|
|
|
<TextView
|
|
android:id="@+id/dynamic_title_name_4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="话题"
|
|
android:textColor="@color/grey_text"
|
|
android:textSize="16dp" />
|
|
</RelativeLayout>
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/dynamic_title_my"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="12dp"
|
|
android:layout_toStartOf="@+id/dynamic_title_post"
|
|
app:roundAsCircle="true"
|
|
app:roundingBorderColor="@color/white"
|
|
app:roundingBorderWidth="1dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/dynamic_title_post"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="16dp"
|
|
android:src="@drawable/ic_dynamic_remind" />
|
|
</RelativeLayout> |