95 lines
4.3 KiB
XML
95 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
|
|
android:id="@+id/xr_history"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="64px"
|
|
android:layout_marginTop="30px"
|
|
android:layout_weight="2">
|
|
<TextView
|
|
android:textSize="@dimen/text_22"
|
|
android:textColor="@color/txt_1D2C42"
|
|
android:id="@+id/tv_search"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20px"
|
|
android:text="@string/search_history"/>
|
|
<TextView
|
|
android:textSize="@dimen/text_17"
|
|
android:textColor="@drawable/slt_text_press"
|
|
android:id="@+id/tv_clear"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_delete"
|
|
android:layout_alignBaseline="@+id/tv_search"
|
|
android:layout_alignParentRight="true"/>
|
|
<RelativeLayout
|
|
android:background="@drawable/community_bg_search"
|
|
android:paddingBottom="15px"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="15px"
|
|
android:layout_below="@+id/tv_clear">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_search_history"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
style="@style/recyclerviewBar_style"/>
|
|
<TextView
|
|
android:textSize="@dimen/search_text_size"
|
|
android:textColor="@color/txt_98A5B6"
|
|
android:id="@+id/tv_history"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="260px"
|
|
android:text="@string/search_no_history"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout
|
|
android:orientation="vertical"
|
|
android:id="@+id/xl_introduce"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="30px"
|
|
android:layout_marginTop="30px"
|
|
android:layout_marginRight="64px"
|
|
android:layout_weight="5">
|
|
<TextView
|
|
android:textSize="@dimen/text_22"
|
|
android:textColor="@color/txt_1D2C42"
|
|
android:id="@+id/tv_search_history"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20px"
|
|
android:text="@string/search_together"/>
|
|
<RelativeLayout
|
|
android:background="@drawable/community_bg_search"
|
|
android:paddingBottom="15px"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="15px"
|
|
android:layout_below="@+id/tv_clear">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_recommend"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:elevation="4px"
|
|
style="@style/recyclerviewBar_style"/>
|
|
<TextView
|
|
android:textSize="@dimen/txt_size_20"
|
|
android:textColor="@color/txt_98A5B6"
|
|
android:id="@+id/tv_keywords"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="260px"
|
|
android:text="@string/search_no_keywords"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
|