60 lines
2.2 KiB
XML
60 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:viewBindingIgnore="true"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:background="@null">
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/search_photo"
|
|
android:layout_width="30dp"
|
|
android:layout_height="30dp"
|
|
fresco:roundAsCircle="true"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_centerVertical="true"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/search_layout"
|
|
android:layout_width="251dp"
|
|
android:layout_height="28dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:orientation="horizontal"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerVertical="true"
|
|
android:background="@drawable/shape_search_layout">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_home_search"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="17dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/search_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="5dp"
|
|
android:gravity="center_vertical"
|
|
android:text="情感咨询"
|
|
android:textSize="12sp"
|
|
android:textColor="#66FFFFFF"
|
|
android:background="@null"/>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_marginLeft="@dimen/dp12"
|
|
android:id="@+id/search_gender_channel"
|
|
android:layout_width="38dp"
|
|
android:layout_height="22dp"
|
|
android:text="男生"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="16sp"/>
|
|
|
|
|
|
</RelativeLayout> |