129 lines
5.8 KiB
XML
129 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
|
|
android:id="@+id/rl_comm_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="103px">
|
|
<TextView
|
|
android:id="@+id/tv_return"
|
|
android:background="@drawable/community_search_cancel"
|
|
android:layout_width="64px"
|
|
android:layout_height="64px"
|
|
android:layout_marginLeft="10px"
|
|
android:drawablePadding="10px"/>
|
|
<TextView
|
|
android:textSize="@dimen/text_20"
|
|
android:textColor="@color/bg_white"
|
|
android:gravity="center_horizontal"
|
|
android:id="@+id/tv_search_result"
|
|
android:background="@drawable/community_btn_search"
|
|
android:paddingTop="9px"
|
|
android:layout_width="118px"
|
|
android:layout_height="44px"
|
|
android:layout_marginRight="128px"
|
|
android:text="@string/search_search"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"/>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/shape_gray"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="44px"
|
|
android:layout_marginLeft="74px"
|
|
android:layout_marginTop="30px"
|
|
android:layout_marginRight="20px"
|
|
android:layout_toLeftOf="@+id/tv_search_result"
|
|
android:layout_toRightOf="@+id/tv_return">
|
|
<ImageView
|
|
android:background="@drawable/community_icon_search"
|
|
android:layout_width="37px"
|
|
android:layout_height="37px"
|
|
android:layout_marginLeft="15px"/>
|
|
<com.ubt.jimu.widgets.EditTextWithDel
|
|
android:textSize="@dimen/text_20"
|
|
android:id="@+id/et_search"
|
|
android:background="@color/translucent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="@string/search_content"
|
|
android:singleLine="true"
|
|
android:imeOptions="flagNoExtractUi|actionDone"
|
|
app:delete_height="@dimen/edit_delete"/>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout
|
|
android:id="@+id/fm_title_three"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="65px"
|
|
android:layout_marginLeft="77px"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_marginRight="77px"
|
|
android:layout_below="@+id/rl_comm_title">
|
|
<com.ubt.jimu.widgets.screenAdaptive.XLinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentBottom="true">
|
|
<TextView
|
|
android:gravity="center"
|
|
android:id="@+id/tv_content"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/search_title_content"
|
|
android:layout_weight="1"
|
|
style="@style/search_tab"/>
|
|
<TextView
|
|
android:id="@+id/tv_quiz"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/search_title_quiz"
|
|
android:layout_weight="1"
|
|
style="@style/search_tab"/>
|
|
<TextView
|
|
android:id="@+id/tv_user"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/search_title_user"
|
|
android:layout_weight="1"
|
|
style="@style/search_tab"/>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XLinearLayout>
|
|
<TextView
|
|
android:id="@+id/tv_title_background"
|
|
android:background="@drawable/shape_f8b220"
|
|
android:layout_width="290px"
|
|
android:layout_height="4px"
|
|
android:layout_alignParentBottom="true"/>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
|
|
<com.ubt.jimu.widgets.screenAdaptive.XFrameLayout
|
|
android:id="@+id/fm_search_content"
|
|
android:background="@color/bg_ebebeb"
|
|
android:paddingBottom="98px"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_below="@+id/fm_title_three"/>
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/vp_answer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/fm_title_three"/>
|
|
<View
|
|
android:id="@+id/ll_history_shadow"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_below="@+id/fm_title_three"
|
|
style="@style/shadow_view"/>
|
|
<View
|
|
android:id="@+id/ll_result_shadow"
|
|
android:layout_below="@+id/fm_title_three"
|
|
style="@style/shadow_view"/>
|
|
<com.ubt.jimu.widgets.LoadingView
|
|
android:id="@+id/view_loading"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/rl_comm_title"/>
|
|
</com.ubt.jimu.widgets.screenAdaptive.XRelativeLayout>
|