fragment_run_race_detail.xml
5.17 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
129
130
131
132
133
134
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="bottom"
sothree:umanoDragView="@+id/dragView"
sothree:umanoOverlay="true"
sothree:umanoPanelHeight="100dp"
sothree:umanoParallaxOffset="100dp"
sothree:umanoScrollableView="@+id/scrollView"
sothree:umanoShadowHeight="0dp">
<!-- MAIN CONTENT -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.baidu.mapapi.map.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"></com.baidu.mapapi.map.MapView>
<FrameLayout
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_margin="10dp"
android:background="@drawable/shape_circle_50_black">
<ImageView
android:layout_width="10dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:background="@drawable/ic_white_back" />
</FrameLayout>
<FrameLayout
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="right"
android:layout_margin="10dp"
android:background="@drawable/shape_circle_50_black">
<ImageView
android:layout_width="15dp"
android:layout_height="15dp"
android:layout_gravity="center"
android:background="@drawable/icon_share" />
</FrameLayout>
<!---->
</FrameLayout>
<!-- SLIDING LAYOUT -->
<FrameLayout
android:id="@+id/dragView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_10dp_white_raduis_bg"
android:clickable="true"
android:focusable="false"
android:orientation="vertical">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/ll_root"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<!--跑道-->
<include
android:id="@+id/include_street"
layout="@layout/layout_run_detail_street" />
<!--成绩-->
<include
android:id="@+id/include_person_score"
layout="@layout/layout_run_detail_person_score" />
<!--排行-->
<include
android:id="@+id/include_rank"
layout="@layout/layout_run_detail_rank" />
<!--路线介绍-->
<include
android:id="@+id/include_street_introduce"
layout="@layout/layout_run_detail_street_introduce" />
</LinearLayout>
</ScrollView>
<!--按钮-->
<RelativeLayout
android:id="@+id/rl_scrollView_startBtn"
android:layout_width="match_parent"
android:layout_height="40sp"
android:layout_gravity="bottom"
android:background="@color/green"
android:tag="0">
<TextView
android:id="@+id/tv_run_now"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:tag="0"
android:text="立即报名"
android:textColor="@color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/tv_go_tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerInParent="true"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:text="Go!"
android:textColor="@color/white"
android:textSize="18sp"
android:visibility="gone" />
</RelativeLayout>
</FrameLayout>
</com.sothree.slidinguppanel.SlidingUpPanelLayout>
</layout>