[6.5.0] open the bytex

This commit is contained in:
EmArrow
2024-06-28 09:54:50 +08:00
parent a2bd11b661
commit 01b7f01a2e
11 changed files with 77 additions and 5 deletions

View File

@@ -63,6 +63,7 @@ class RoadCrossLiveView @JvmOverloads constructor(
init {
val res = when (CallerSkinModeListenerManager.getMode()) {
0 -> R.layout.view_road_cross_live
// 0 -> R.layout.view_road_cross_live_light //todo test
1 -> R.layout.view_road_cross_live_light
else -> R.layout.view_road_cross_live
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners android:radius="@dimen/dp_12"/>
<solid android:color="@color/color_252B3F"/>
</shape>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -34,7 +34,7 @@
app:layout_constraintBottom_toBottomOf="@id/ivScan"
app:layout_constraintStart_toEndOf="@id/ivScan"
android:textSize="@dimen/sp_32"
android:textColor="@color/exploration_title"
android:textColor="@color/color_131415"
android:text="@string/exploration_title"
android:layout_marginStart="@dimen/dp_30"
/>

View File

@@ -11,7 +11,7 @@
android:layout_width="@dimen/dp_760"
android:layout_height="@dimen/dp_428"
android:layout_margin="@dimen/dp_20"
android:background="@drawable/bg_road_cross_empty"
android:background="@drawable/bg_road_cross_live_empty"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">

View File

@@ -1,6 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@drawable/bg_nor_light">
<TextView
android:text="@string/road_cross_live_tip"
android:textColor="@color/color_131415"
android:textSize="@dimen/dp_28"
android:layout_marginStart="@dimen/dp_41"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"/>
<ImageView
android:id="@+id/roadCrossLiveClose"
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:layout_marginTop="@dimen/dp_16"
android:layout_marginEnd="@dimen/dp_20"
android:src="@drawable/bg_close_nor_light"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/roadCrossLiveBg"
android:layout_width="@dimen/dp_498"
android:layout_height="@dimen/dp_280"
android:layout_margin="@dimen/dp_87"
android:background="@drawable/bg_road_cross_live_light_empty"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/bg_road_cross_logo_light"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer
android:id="@+id/roadCrossLivePlayer"
android:layout_width="@dimen/dp_498"
android:layout_height="@dimen/dp_280"
android:layout_margin="@dimen/dp_87"
android:visibility="visible"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.core.widget.ContentLoadingProgressBar
android:id="@+id/roadCrossLivePB"
style="?android:attr/progressBarStyleSmall"
android:layout_width="@dimen/dp_55"
android:layout_height="@dimen/dp_55"
android:layout_marginTop="@dimen/dp_214"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -25,6 +25,7 @@
<color name="color_D4D8DC">#D4D8DC</color>
<color name="color_50E8E4">#50E8E4</color>
<color name="color_252B3F">#252B3F</color>
<color name="color_131415">#131415</color>
<color name="color_27FFFFFF">#27FFFFFF</color>
<color name="color_1E111111">#1E111111</color>
<color name="color_FF213757">#FF213757</color>
@@ -89,6 +90,5 @@
<color name="summary_danger_title">#24313E</color>
<color name="summary_danger_num">#106FF0</color>
<color name="summary_tip">#42464F</color>
<color name="exploration_title">#131415</color>
</resources>