consultant_layout_search_content.xml 7.55 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="wrap_content"
              android:orientation="vertical"
              app:layout_behavior="@string/appbar_scrolling_view_behavior"
              android:background="@color/platform_white"
    >

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

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">
                <!--筛选框-->

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    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:textColor="@color/platform_color_242424"
                        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"/>

                    <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:textColor="@color/platform_color_242424"
                        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"/>

                    <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:textColor="@color/platform_color_242424"
                        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"/>

                    <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:textColor="@color/platform_color_242424"
                        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"/>
                </LinearLayout>

                <LinearLayout
                    android:id="@+id/lin_filter2"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:paddingLeft="10dp"
                    android:paddingBottom="10dp"
                    android:orientation="horizontal">
                </LinearLayout>

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

            </LinearLayout>

    </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"
            android:background="@color/transparent"
            />



            <android.support.v7.widget.RecyclerView
                android:id="@+id/rvExperts"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@color/platform_white"
                android:overScrollMode="never"/>


        <com.ydl.ydlcommon.ui.LogoLoadingView
            android:id="@+id/v_loading"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone"/>

        <LinearLayout
            android:id="@+id/ll_network_error"
            android:layout_width="match_parent"
            android:layout_height="400dp"
            android:orientation="vertical"
            android:background="@color/platform_white"
            android:gravity="center_horizontal"
            android:visibility="gone"
            >

            <ImageView
                android:id="@+id/iv_exception"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:src="@drawable/consultant_img_netwrok_error"/>

            <TextView
                android:id="@+id/tv_reload_hint"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/consultant_reload_hint"/>

            <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="重新加载"
151
                android:textColor="@color/platform_main_theme"/>
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
        </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"
            android:visibility="gone"
            />

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