fragment_course.xml
1.9 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
<?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=".fragment.CourseFragment">
<com.hh.xuetubao.Utils.CustomScrollView
android:id="@+id/scroll"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF">
<ImageView
android:id="@+id/img_top"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_200"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginRight="@dimen/dp_20"
android:src="@drawable/course_logo" />
<TextView
android:id="@+id/mianfei"
android:layout_width="@dimen/dp_72"
android:layout_height="wrap_content"
android:layout_below="@id/img_top"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_24"
android:text="免费好课"
android:textColor="#333333"
android:textSize="18sp" />
<com.jcodecraeer.xrecyclerview.XRecyclerView
android:id="@+id/xrecyclerview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/mianfei"
android:layout_marginTop="@dimen/dp_20"
android:layout_marginLeft="@dimen/dp_20" />
</RelativeLayout>
</com.hh.xuetubao.Utils.CustomScrollView>
</RelativeLayout>