Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c07391cd
Commit
c07391cd
authored
Nov 20, 2019
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
播放
parent
72e80914
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
19 deletions
+29
-19
config.gradle
config.gradle
+1
-1
CoursePlayItemViewVideo.kt
m-course/src/main/java/com/yidianling/course/coursePlay/CoursePlayItemViewVideo.kt
+2
-0
course_videoplay_view.xml
m-course/src/main/res/layout/course_videoplay_view.xml
+26
-18
No files found.
config.gradle
View file @
c07391cd
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
m-course/src/main/java/com/yidianling/course/coursePlay/CoursePlayItemViewVideo.kt
View file @
c07391cd
...
...
@@ -192,6 +192,8 @@ class CoursePlayItemViewVideo : RelativeLayout, PlayViewInterface {
)
{
activity
?.
isVideoPlay
=
true
this
@CoursePlayItemViewVideo
.
findViewById
<
View
>(
R
.
id
.
ll_bg
).
visibility
=
View
.
GONE
this
@CoursePlayItemViewVideo
.
findViewById
<
View
>(
R
.
id
.
ll_loading
).
visibility
=
View
.
GONE
this
@CoursePlayItemViewVideo
.
findViewById
<
View
>(
R
.
id
.
app_video_loading
).
visibility
=
View
.
GONE
}
if
(
what
==
PlayStateParams
.
STATE_COMPLETED
)
{
...
...
m-course/src/main/res/layout/course_videoplay_view.xml
View file @
c07391cd
...
...
@@ -85,30 +85,38 @@
<!--加载中-->
<LinearLayout
android:id=
"@+id/
app_video
_loading"
android:id=
"@+id/
ll
_loading"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:orientation=
"vertical"
android:visibility=
"gone"
>
<ProgressBar
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:indeterminateBehavior=
"repeat"
android:indeterminateOnly=
"true"
/>
android:visibility=
"visible"
>
<TextView
android:id=
"@+id/app_video_speed"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
<LinearLayout
android:id=
"@+id/app_video_loading"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"center"
android:text=
"188Kb/s"
android:textColor=
"@android:color/white"
android:visibility=
"gone"
/>
android:orientation=
"vertical"
android:visibility=
"gone"
>
<ProgressBar
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:indeterminateBehavior=
"repeat"
android:indeterminateOnly=
"true"
/>
<TextView
android:id=
"@+id/app_video_speed"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:gravity=
"center"
android:text=
"188Kb/s"
android:textColor=
"@android:color/white"
android:visibility=
"gone"
/>
</LinearLayout>
</LinearLayout>
<!-- 中间触摸提示-->
<include
layout=
"@layout/simple_player_touch_gestures"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment