fragment_main.xml
4.83 KB
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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable
name="clickPresenter"
type="com.cnlive.goldenline.ui.fragment.MainFragment.ClickPresenter"/>
</data>
<RelativeLayout
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_bg"
android:orientation="vertical">
<include
layout="@layout/view_recyclerview"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:id="@+id/fake_status_bar"
android:layout_width="match_parent"
android:layout_height="5dp"
android:background="#28272d"
android:fitsSystemWindows="true"
android:visibility="invisible" />
<!--搜索栏-->
<RelativeLayout
android:id="@+id/fr_home_layout_operation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#28272d"
android:paddingBottom="8dp"
android:paddingLeft="10dp"
android:paddingRight="19dp"
android:visibility="gone">
<TextView
android:id="@+id/fr_home_et_search"
android:layout_width="297dp"
android:layout_height="27dp"
android:layout_alignParentLeft="true"
android:background="@drawable/home_search_edittet_bg"
android:drawableLeft="@mipmap/navigation_bar_search_icon"
android:drawablePadding="8dp"
android:text="搜索您喜欢的内容"
android:textColor="#999"
android:textColorHint="#999"
android:textSize="11sp" />
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/fr_home_et_search"
android:layout_alignParentRight="true"
android:layout_alignTop="@id/fr_home_et_search">
<ImageView
android:id="@+id/fr_home_img_calendar_scroll"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center"
android:src="@mipmap/navigationbar_calender" />
<TextView
android:id="@+id/fr_home_tv_calendar_scroll"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:includeFontPadding="false"
android:paddingTop="3dp"
android:textColor="#fff"
android:textSize="9sp"
tools:text="12" />
</FrameLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/fr_home_layout_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:paddingLeft="10dp"
android:paddingRight="19dp">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true">
<ImageView
android:id="@+id/fr_home_img_calendar"
android:layout_width="wrap_content"
android:layout_height="27dp"
android:src="@mipmap/index_calendar_button" />
<TextView
android:id="@+id/fr_home_tv_calendar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:includeFontPadding="false"
android:paddingTop="3dp"
android:textColor="#fff"
android:textSize="8sp"
tools:text="12" />
</FrameLayout>
<ImageView
android:id="@+id/fr_home_img_search"
android:layout_width="wrap_content"
android:layout_height="27dp"
android:layout_alignParentLeft="true"
android:src="@mipmap/index_search_button" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
</layout>