opt
@@ -174,6 +174,9 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
|
||||
Log.d(TAG, "onStartPrepared")
|
||||
}
|
||||
|
||||
override fun onPlayError(url: String, vararg objects: Any) {
|
||||
Log.d(TAG, "onPlayError")
|
||||
}
|
||||
override fun onPrepared(url: String, vararg objects: Any) {}
|
||||
override fun onClickStartIcon(url: String, vararg objects: Any) {}
|
||||
override fun onClickStartError(url: String, vararg objects: Any) {}
|
||||
@@ -188,7 +191,6 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) {
|
||||
override fun onTouchScreenSeekVolume(url: String, vararg objects: Any) {}
|
||||
override fun onTouchScreenSeekPosition(url: String, vararg objects: Any) {}
|
||||
override fun onTouchScreenSeekLight(url: String, vararg objects: Any) {}
|
||||
override fun onPlayError(url: String, vararg objects: Any) {}
|
||||
override fun onClickStartThumb(url: String, vararg objects: Any) {}
|
||||
override fun onClickBlank(url: String, vararg objects: Any) {}
|
||||
override fun onClickBlankFullscreen(url: String, vararg objects: Any) {
|
||||
|
||||
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
@@ -136,8 +136,6 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
override fun changeUiToClear() {
|
||||
super.changeUiToClear()
|
||||
Logger.d("liyz", "changeUiToClear ------> ")
|
||||
mBottomContainer?.visibility = View.INVISIBLE
|
||||
mProgressBar?.visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun changeUiToCompleteClear() {
|
||||
@@ -150,11 +148,6 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
override fun onAutoCompletion() {
|
||||
super.onAutoCompletion()
|
||||
Logger.d("liyz", "onAutoCompletion ------> ")
|
||||
mProgressBar?.progress = 0
|
||||
mBottomContainer?.visibility = View.VISIBLE
|
||||
mProgressBar?.visibility = View.VISIBLE
|
||||
start?.visibility = View.VISIBLE
|
||||
start.setImageResource(R.drawable.notice_video_play)
|
||||
}
|
||||
|
||||
override fun showWifiDialog() {
|
||||
@@ -226,4 +219,5 @@ class NoticeSimpleVideoPlayer : StandardGSYVideoPlayer {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<solid android:color="#80ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:id="@android:id/secondaryProgress">
|
||||
<clip>
|
||||
<shape>
|
||||
<solid android:color="#80ffffff" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
<item android:id="@android:id/progress">
|
||||
<clip>
|
||||
<shape>
|
||||
<solid android:color="#2972EE" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,27 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<corners android:radius="5dp" />
|
||||
<solid android:color="#80ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
<!-- <item android:id="@android:id/secondaryProgress">-->
|
||||
<!-- <clip>-->
|
||||
<!-- <shape>-->
|
||||
<!-- <solid android:color="#ff51495e" />-->
|
||||
<!-- </shape>-->
|
||||
<!-- </clip>-->
|
||||
<!-- </item>-->
|
||||
|
||||
<item android:id="@android:id/background">
|
||||
<shape>
|
||||
<corners android:radius="5dp" />
|
||||
<gradient
|
||||
android:angle="0"
|
||||
android:endColor="#53C7F8"
|
||||
android:startColor="#2972EE" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -66,12 +66,11 @@
|
||||
android:layout_width="990px"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@null"
|
||||
android:max="100"
|
||||
android:maxHeight="8px"
|
||||
android:minHeight="8px"
|
||||
android:thumb="@drawable/notice_player_ic_circle_nor"
|
||||
android:visibility="visible" />
|
||||
android:progressDrawable="@drawable/notice_seekbar_style"
|
||||
android:thumb="@drawable/notice_player_ic_circle_nor" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/total"
|
||||
@@ -91,15 +90,6 @@
|
||||
android:scaleType="centerInside" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/start"-->
|
||||
<!-- android:layout_width="100px"-->
|
||||
<!-- android:layout_height="100px"-->
|
||||
<!-- android:layout_centerHorizontal="true"-->
|
||||
<!-- android:layout_centerVertical="true"-->
|
||||
<!-- android:layout_gravity="center_vertical"-->
|
||||
<!-- android:visibility="gone" />-->
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loading"
|
||||
android:layout_width="56px"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
<dimen name="module_hmi_btn_size">38px</dimen>
|
||||
<dimen name="module_hmi_btn_text_size">33px</dimen>
|
||||
|
||||
|
||||
<dimen name="module_switch_map">190px</dimen>
|
||||
<dimen name="module_switch_map_height">76px</dimen>
|
||||
<dimen name="module_switch_margin_left">16px</dimen>
|
||||
|
||||