modify videoplayer and oil test

This commit is contained in:
lixiaopeng
2020-02-04 17:56:19 +08:00
parent 087338ad26
commit a822cdac2c
9 changed files with 46 additions and 23 deletions

View File

@@ -82,11 +82,11 @@ public class LaucherShareDialog extends Dialog implements View.OnClickListener {
sendShareReceiver("1");
traceTypeData("1");
} else if (id == R.id.oil_price_layout) {
// traceData("1");
// Intent intent = new Intent();
// intent.setData(Uri.parse("reshthing://com.zhidao.fresh.things/shareOilPrice"));
// mContext.startActivity(intent);
// traceTypeData("2");
traceData("1");
Intent intent = new Intent();
intent.setData(Uri.parse("freshthing://com.zhidao.fresh.things/shareOilPrice"));
mContext.startActivity(intent);
traceTypeData("2");
} else if (id == R.id.traffic_check_layout) { //交通检查
traceData("1");
sendShareReceiver("2");

View File

@@ -105,7 +105,7 @@ class MediaCoverVideoPlayer : StandardGSYVideoPlayer {
override fun changeUiToCompleteShow() {
super.changeUiToCompleteShow()
setViewShowState(mBottomContainer, View.INVISIBLE)
// setViewShowState(mBottomContainer, View.INVISIBLE)
}
override fun onAutoCompletion() {

View File

@@ -76,7 +76,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
override fun changeUiToCompleteShow() {
super.changeUiToCompleteShow()
setViewShowState(mBottomContainer, View.INVISIBLE)
// setViewShowState(mBottomContainer, View.INVISIBLE)
}
override fun onAutoCompletion() {

View File

@@ -9,7 +9,7 @@
android:thickness="4mm"
android:useLevel="false">
<gradient
android:endColor="@color/colorAccent"
android:endColor="@color/color_545362"
android:startColor="@color/color_171F7FFF"
android:type="sweep"/>
</shape>

View File

@@ -0,0 +1,22 @@
<?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="#59000000"/>
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<solid android:color="#40ffffff"/>
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<solid android:color="#B3FFFFFF"/>
</shape>
</clip>
</item>
</layer-list>

View File

@@ -31,30 +31,27 @@
</RelativeLayout>
<!--局部播放器-->
<LinearLayout
android:id="@+id/layout_bottom"
android:layout_width="@dimen/tanlu_module_full_bottom_width"
android:layout_width="match_parent"
android:layout_height="@dimen/tanlu_module_full_bottom_height"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/tanlu_module_full_bottom_margin"
android:background="@drawable/shape_bg_99191c25_4px"
android:gravity="center_vertical"
android:orientation="horizontal">
<SeekBar
android:id="@+id/progress"
android:layout_width="@dimen/dp_660"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_gravity="bottom"
android:background="@null"
android:max="100"
android:maxHeight="@dimen/dp_8"
android:minHeight="@dimen/dp_8"
android:paddingTop="@dimen/dp_16"
android:paddingBottom="@dimen/dp_16"
android:progressDrawable="@drawable/video_seek_progress"
android:thumb="@drawable/video_seek_thumb" />
android:maxHeight="@dimen/tanlu_module_small_player_height"
android:minHeight="@dimen/tanlu_module_small_player_height"
android:progressDrawable="@drawable/small_video_seekbar_style"
android:thumb="@null" />
<ImageView
android:id="@+id/fullscreen"

View File

@@ -54,6 +54,7 @@
android:minHeight="@dimen/dp_4"
android:paddingTop="@dimen/dp_8"
android:paddingBottom="@dimen/dp_8"
android:paddingRight="@dimen/dp_4"
android:progressDrawable="@drawable/video_seek_progress"
android:thumb="@drawable/video_seek_thumb" />

View File

@@ -12,8 +12,8 @@
<dimen name="tanlu_module_full_start_height">56px</dimen>
<dimen name="tanlu_module_full_loading_width">96px</dimen>
<dimen name="tanlu_module_full_loading_height">96px</dimen>
<dimen name="tanlu_module_full_bottom_height">144px</dimen>
<dimen name="tanlu_module_full_bottom_width">760px</dimen>
<dimen name="tanlu_module_full_bottom_height">90px</dimen>
<dimen name="tanlu_module_full_bottom_width">700px</dimen>
<dimen name="tanlu_module_full_bottom_margin">10px</dimen>
<dimen name="tanlu_module_full_top_height">72px</dimen>

View File

@@ -13,8 +13,8 @@
<dimen name="tanlu_module_full_start_height">106px</dimen>
<dimen name="tanlu_module_full_loading_width">96px</dimen>
<dimen name="tanlu_module_full_loading_height">96px</dimen>
<dimen name="tanlu_module_full_bottom_height">144px</dimen>
<dimen name="tanlu_module_full_bottom_width">760px</dimen>
<dimen name="tanlu_module_full_bottom_height">100px</dimen>
<dimen name="tanlu_module_full_bottom_width">700px</dimen>
<dimen name="tanlu_module_full_bottom_margin">10px</dimen>
<dimen name="tanlu_module_full_top_height">135px</dimen>
@@ -41,6 +41,9 @@
<dimen name="tanlu_module_card_previous_margin_left">90px</dimen>
<dimen name="tanlu_module_card_next_margin_left">80px</dimen>
<!--播放器高度-->
<dimen name="tanlu_module_small_player_height">10px</dimen>
<!--字体-->
<dimen name="tanlu_module_full_title_content">38px</dimen>
<dimen name="tanlu_module_full_title_time">26px</dimen>