activity_course_detail.xml
2.2 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.study.CourseDetailActivity">
<fm.jiecao.jcvideoplayer_lib.JCVideoPlayerStandard
android:id="@+id/jiecao_Player"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_230" />
<LinearLayout
android:id="@+id/tab"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_44"
android:layout_below="@+id/jiecao_Player"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_introduce"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="介绍"
android:textColor="#FF5400"
android:textSize="12sp" />
<View
android:layout_width="@dimen/dp_1"
android:layout_height="@dimen/dp_14"
android:layout_gravity="center_vertical"
android:background="#D7D7D7" />
<TextView
android:id="@+id/tv_list"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="目录"
android:textColor="#616161"
android:textSize="12sp" />
</LinearLayout>
<View
android:id="@+id/line"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_1"
android:layout_below="@id/tab"
android:background="#D7D7D7" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/line"
android:scrollbars="none">
<FrameLayout
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</ScrollView>
</RelativeLayout>