admin
2022-08-09 399ac289f80b7a40aa4210341db6b447cacdcf14
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white"
    android:orientation="vertical">
 
    <View
        android:id="@+id/v_status_bar"
        android:layout_width="match_parent"
        android:layout_height="15dp"
        android:background="@color/white"
        android:fitsSystemWindows="true" />
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_gravity="center"
        android:background="@color/white"
        android:gravity="center"
        android:orientation="horizontal">
 
        <LinearLayout
            android:id="@+id/ll_category_search"
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:layout_gravity="center"
            android:background="@color/white"
            android:gravity="center"
            android:orientation="horizontal">
 
            <TextView
                android:id="@+id/tv_search_result_back"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginLeft="16dp"
                android:drawableLeft="@drawable/ic_back"
                android:drawablePadding="2dp"
                android:gravity="center"
                android:padding="8dp" />
 
            <LinearLayout
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:layout_marginLeft="8dp"
                android:layout_marginRight="15dp"
                android:layout_weight="1"
                android:orientation="vertical"
                android:paddingLeft="5dp">
 
                <include layout="@layout/item_search_input"></include>
 
            </LinearLayout>
 
            <TextView
                android:id="@+id/tv_search_result"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="14dp"
                android:background="@color/white"
                android:gravity="center"
                android:padding="5dp"
                android:text="搜索"
                android:textColor="@color/search_btn_text_color"
                android:textSize="18sp" />
        </LinearLayout>
 
        <TextView
            android:id="@+id/tv_search"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="15dp"
            android:padding="5dp"
            android:text="取消"
            android:textColor="@color/black2"
            android:textSize="17sp" />
    </LinearLayout>
 
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <!--指示器-->
        <FrameLayout
            android:visibility="gone"
            android:id="@+id/sv_search_tab"
            android:layout_width="match_parent"
            android:layout_height="47dp"
            android:background="@color/white" />
 
        <View
            android:visibility="gone"
            android:id="@+id/sv_search_tabhint"
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_below="@+id/sv_search_tab"
            android:background="@color/dialog_login_hint" />
        <!--无滑动无动画的viewpage-->
        <com.tejia.lijin.app.util.CancelSlideViewPage
            android:id="@+id/sv_search"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_below="@+id/sv_search_tabhint" />
        <!--实时搜索结果-->
        <ListView
            android:id="@+id/search_tv_list"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@color/white"
            android:divider="#00000000"
            android:visibility="gone" />
 
        <include layout="@layout/item_no_net" />
 
        <include layout="@layout/item_error_net" />
 
        <include layout="@layout/item_no_data" />
    </RelativeLayout>
</LinearLayout>