Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • learnCenter
  • src
  • main
  • res
  • layout
  • activity_course_detail.xml
Find file
Normal viewHistoryPermalink
activity_course_detail.xml 9.98 KB
Newer Older
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white">

        <RelativeLayout
            android:id="@+id/rl_title"
            style="@style/title">

            <TextView
                android:id="@+id/tv_title"
                style="@style/text_title"
                android:text="@string/course_detail" />

mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
18 19 20 21 22 23 24 25 26
            <TextView
                android:id="@+id/tv_edit"
                style="@style/common_text_style"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:padding="15dp"
                android:text="@string/edit_str"
                android:visibility="gone" />

mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
27 28 29 30
            <ImageView
                android:id="@+id/title_back"
                style="@style/title_image_back" />

mReturn's avatar
fix
1e9f718d
 
mReturn committed 4 years ago
31 32 33 34 35 36 37 38
            <ImageButton
                android:id="@+id/ib_share"
                android:layout_width="40dp"
                android:layout_alignParentRight="true"
                android:background="@color/transparent"
                android:layout_height="match_parent"
                android:src="@drawable/icon_share_gray" />

mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
39 40 41 42 43
            <ImageView
                style="@style/card_line"
                android:layout_alignParentBottom="true" />
        </RelativeLayout>

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
44 45
        <com.scwang.smartrefresh.layout.SmartRefreshLayout
            android:id="@+id/refresh_layout"
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
46 47
            android:layout_width="match_parent"
            android:layout_height="match_parent"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
48 49 50
            android:layout_below="@id/rl_title"
            android:layout_above="@+id/btn_comment"
            >
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
51

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
52 53
            <android.support.v4.widget.NestedScrollView
                android:id="@+id/nsv_learn"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
54 55
                android:layout_width="match_parent"
                android:layout_height="match_parent"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
56
                >
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
57

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
58 59 60 61
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
62

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
63
                    <LinearLayout style="@style/ll_course_content">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
64

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
65 66 67
                        <TextView
                            style="@style/tv_course_left"
                            android:text="@string/course_theme" />
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
68

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
69 70 71 72
                        <TextView
                            android:id="@+id/tv_theme"
                            style="@style/tv_course_content" />
                    </LinearLayout>
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
73

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
74
                    <LinearLayout style="@style/ll_course_content">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
75

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
76 77 78
                        <TextView
                            style="@style/tv_course_left"
                            android:text="@string/course_desc" />
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
79

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
80 81 82 83
                        <TextView
                            android:id="@+id/tv_desc"
                            style="@style/tv_course_content" />
                    </LinearLayout>
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
84

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
85
                    <LinearLayout style="@style/ll_course_content">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
86

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
87 88 89
                        <TextView
                            style="@style/tv_course_left"
                            android:text="@string/course_puber" />
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
90

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
91 92 93 94
                        <TextView
                            android:id="@+id/tv_puber"
                            style="@style/tv_course_content" />
                    </LinearLayout>
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
95

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
96 97
                    <LinearLayout
                        android:id="@+id/ll_video"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
98
                        android:layout_width="match_parent"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
99 100
                        android:layout_height="180dp"
                        android:layout_marginTop="15dp">
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
101

mReturn's avatar
收发货&大视频处理&视频录制
0f54a19c
 
mReturn committed 5 years ago
102
                        <com.dayu.widgets.MyJzvdStd
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
103 104 105 106
                            android:id="@+id/jz_video"
                            android:layout_width="match_parent"
                            android:layout_height="match_parent" />
                    </LinearLayout>
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
107

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
108 109
                    <LinearLayout
                        android:layout_width="match_parent"
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
110 111 112
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
                        android:gravity="center_vertical"
                        android:orientation="horizontal">

                        <TextView
                            android:id="@+id/tv_component"
                            android:layout_width="0dp"
                            android:layout_height="43dp"
                            android:layout_weight="1"
                            android:gravity="center_vertical"
                            android:text="留言"
                            android:textColor="@color/cl_home_title_text_color"
                            android:textSize="14sp"
                            android:textStyle="bold" />

                        <ImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="10dp"
                            android:src="@drawable/icon_looks" />

                        <TextView
                            android:id="@+id/tv_looks"
                            style="@style/common_text_style"
                            android:paddingLeft="5dp"
                            android:text="0" />

mReturn's avatar
收发货&大视频处理&视频录制
0f54a19c
 
mReturn committed 5 years ago
139
                        <ImageButton
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
140
                            android:id="@+id/iv_like"
mReturn's avatar
收发货&大视频处理&视频录制
0f54a19c
 
mReturn committed 5 years ago
141 142 143 144
                            android:layout_width="40dp"
                            android:layout_height="match_parent"
                            android:layout_marginLeft="5dp"
                            android:background="@color/transparent"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
145 146 147 148 149 150
                            android:src="@drawable/icon_like_gray" />

                        <TextView
                            android:id="@+id/tv_like"
                            style="@style/common_text_style"
                            android:layout_marginRight="10dp"
mReturn's avatar
收发货&大视频处理&视频录制
0f54a19c
 
mReturn committed 5 years ago
151 152
                            android:layout_height="match_parent"
                            android:gravity="center"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
153
                            android:text="0" />
mReturn's avatar
直播调试
f88e6950
 
mReturn committed 4 years ago
154
                        <ImageButton
mReturn's avatar
red packet
020e3ff9
 
mReturn committed 4 years ago
155
                            android:layout_width="35dp"
mReturn's avatar
直播调试
f88e6950
 
mReturn committed 4 years ago
156 157 158
                            android:background="@color/transparent"
                            android:layout_height="match_parent"
                            android:src="@drawable/icon_share_gray" />
mReturn's avatar
red packet
020e3ff9
 
mReturn committed 4 years ago
159 160 161 162 163 164 165
                        <TextView
                            android:id="@+id/tv_shares"
                            style="@style/common_text_style"
                            android:layout_height="match_parent"
                            android:gravity="center_vertical"
                            android:paddingRight="10dp"
                            android:text="0" />
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
166 167 168 169 170 171 172
                    </LinearLayout>


                    <View
                        android:layout_width="match_parent"
                        android:layout_height="1dp"
                        android:background="@color/color_ee" />
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
173

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_margin="10dp"
                        android:focusable="true"
                        android:focusableInTouchMode="true"
                        android:orientation="horizontal">

                        <ImageView
                            android:id="@+id/iv_avatar"
                            android:layout_width="35dp"
                            android:layout_height="35dp"
                            android:layout_marginRight="10dp"
                            android:src="@drawable/icon_user_default" />

                        <EditText
                            android:id="@+id/edt_comment"
                            android:layout_width="0dp"
                            android:layout_height="35dp"
                            android:layout_weight="1"
                            android:background="#f5f5f5"
                            android:hint="@string/ask_detail"
                            android:padding="5dp"
                            android:paddingLeft="5dp"
                            android:singleLine="true"
                            android:textSize="13sp" />

                        <Button
                            android:id="@+id/btn_send"
                            android:layout_width="80dp"
                            android:layout_height="35dp"
                            android:layout_gravity="center_vertical"
                            android:background="@color/cl_home_button"
                            android:gravity="center"
                            android:text="@string/send_str"
                            android:textColor="@color/white"
                            android:textSize="13sp" />
                    </LinearLayout>


                    <android.support.v7.widget.RecyclerView
                        android:id="@+id/rv_component"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="10dp"
                        android:layout_marginRight="10dp" />
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
220
                </LinearLayout>
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
221 222
            </android.support.v4.widget.NestedScrollView>
        </com.scwang.smartrefresh.layout.SmartRefreshLayout>
mReturn's avatar
学习模块功能开发
d7f9680c
 
mReturn committed 5 years ago
223

mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
224
        <Button
mReturn's avatar
收发货&大视频处理&视频录制
0f54a19c
 
mReturn committed 5 years ago
225
            android:visibility="gone"
mReturn's avatar
整合评论
be9eb294
 
mReturn committed 5 years ago
226 227 228 229 230 231 232 233 234 235 236
            android:id="@+id/btn_comment"
            android:layout_width="match_parent"
            android:layout_height="40dp"
            android:layout_alignParentBottom="true"
            android:layout_marginLeft="10dp"
            android:layout_marginRight="10dp"
            android:layout_marginBottom="5dp"
            android:background="@color/cl_home_button"
            android:text="@string/ask_detail"
            android:textColor="@color/white"
            android:textSize="13sp" />
mReturn's avatar
添加学习模块
ed6ea768
 
mReturn committed 5 years ago
237 238 239

    </RelativeLayout>
</layout>