63 lines
2.3 KiB
XML
63 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/ll_search_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/shp_white_5_radius"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_search_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:src="@drawable/ic_search_gray" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:gravity="center"
|
|
android:text="搜索"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_load"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp">
|
|
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pb_socket_loading"
|
|
android:layout_width="12dp"
|
|
android:layout_height="12dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:indeterminateBehavior="repeat"
|
|
android:indeterminateDrawable="@drawable/anim_loading" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_socket_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginStart="8dp"
|
|
android:text="登陆中..."
|
|
android:textColor="@color/gray_6f"
|
|
android:textSize="10sp" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</layout> |