consultant_layout_search_content.xml 7.21 KB
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 4 5
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
upwork.021 committed
6
    xmlns:tools="http://schemas.android.com/tools"
7 8 9
    android:background="@color/platform_white"
    android:orientation="vertical"
    app:layout_behavior="@string/appbar_scrolling_view_behavior">
10 11 12 13 14 15

    <com.yidianling.consultant.ui.view.DisInterceptNestedScrollView
        android:id="@+id/scroll"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

16 17 18 19 20 21
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <!--筛选框-->

22 23 24
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
                android:background="@color/platform_white"
                android:orientation="horizontal">

                <com.ydl.ydlcommon.view.DrawableRightTextView
                    android:id="@+id/tvSubject"
                    style="@style/consultant_FilterTextViewStyle"
                    android:layout_width="0dp"
                    android:layout_weight="1"
                    android:width="0dp"
                    android:drawableEnd="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:drawableRight="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:text="@string/platform_theme"
                    android:textColor="@color/platform_color_242424" />

                <com.ydl.ydlcommon.view.DrawableRightTextView
                    android:id="@+id/tvArea"
                    style="@style/consultant_FilterTextViewStyle"
                    android:layout_width="0dp"
                    android:layout_weight="1"
                    android:width="0dp"
                    android:drawableEnd="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:drawableRight="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:text="@string/platform_area"
                    android:textColor="@color/platform_color_242424" />

                <com.ydl.ydlcommon.view.DrawableRightTextView
                    android:id="@+id/tvSort"
                    style="@style/consultant_FilterTextViewStyle"
                    android:layout_width="0dp"
                    android:layout_weight="1"
                    android:width="0dp"
                    android:drawableEnd="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:drawableRight="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:text="@string/platform_sort"
                    android:textColor="@color/platform_color_242424" />

                <com.ydl.ydlcommon.view.DrawableRightTextView
                    android:id="@+id/tvFilter"
                    style="@style/consultant_FilterTextViewStyle"
                    android:layout_width="0dp"
                    android:layout_weight="1"
                    android:width="0dp"
                    android:drawableEnd="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:drawableRight="@drawable/platform_ic_arrow_drop_down_grey_500_18dp"
                    android:text="@string/platform_filter"
                    android:textColor="@color/platform_color_242424" />
71 72
            </LinearLayout>

73 74 75 76 77 78
            <LinearLayout
                android:id="@+id/lin_filter2"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:paddingLeft="10dp"
YKai committed
79
                android:paddingBottom="10dp"/>
80 81 82 83 84 85 86 87

            <View
                android:layout_width="match_parent"
                android:layout_height="6dp"
                android:background="@drawable/consult_fillter_bg" />

        </LinearLayout>

88 89 90 91 92 93 94 95 96 97
    </com.yidianling.consultant.ui.view.DisInterceptNestedScrollView>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <View
            android:id="@+id/viewSep2"
            android:layout_width="match_parent"
            android:layout_height="0dp"
98
            android:background="@color/transparent" />
99 100


101 102 103 104 105 106
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/rvExperts"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@color/platform_white"
            android:overScrollMode="never" />
107 108 109 110 111 112


        <com.ydl.ydlcommon.ui.LogoLoadingView
            android:id="@+id/v_loading"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
113
            android:visibility="gone" />
114 115 116 117 118 119 120

        <LinearLayout
            android:id="@+id/ll_network_error"
            android:layout_width="match_parent"
            android:layout_height="400dp"
            android:background="@color/platform_white"
            android:gravity="center_horizontal"
121 122
            android:orientation="vertical"
            android:visibility="gone">
123 124 125 126 127

            <ImageView
                android:id="@+id/iv_exception"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
128
                android:src="@drawable/consultant_img_netwrok_error" />
129 130 131 132 133

            <TextView
                android:id="@+id/tv_reload_hint"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
134
                android:text="@string/consultant_reload_hint" />
135 136 137 138 139 140 141 142 143 144 145 146

            <TextView
                android:id="@+id/tv_reload"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/platform_dp_16"
                android:background="@drawable/consultant_bg_blue_but"
                android:paddingLeft="@dimen/platform_dp_32"
                android:paddingTop="@dimen/platform_dp_8"
                android:paddingRight="@dimen/platform_dp_32"
                android:paddingBottom="@dimen/platform_dp_8"
                android:text="重新加载"
147
                android:textColor="@color/platform_main_theme" />
148 149 150 151 152 153 154 155 156 157 158 159 160
        </LinearLayout>

        <ImageButton
            android:id="@+id/image_scroll_top"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentBottom="true"
            android:layout_marginRight="20dp"
            android:layout_marginBottom="20dp"
            android:background="@color/platform_transparent"
            android:padding="0dp"
            android:src="@drawable/consultant_ico_totop"
161
            android:visibility="gone" />
162 163 164 165 166 167

        <View
            android:id="@+id/viewDim"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="#40000000"
168
            android:visibility="invisible" />
169 170
    </RelativeLayout>
</LinearLayout>