Merge branch 'dev_robo_240612_6.5.0_tmp' of gitlab.zhidaoauto.com:SCA/L4HA/AndroidApp/MoGoEagleEye into dev_robo_240612_6.5.0_tmp
This commit is contained in:
@@ -2,34 +2,54 @@ package com.mogo.eagle.core.function.hmi.ui.widget
|
||||
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import androidx.lifecycle.LifecycleObserver
|
||||
import android.os.Bundle
|
||||
import android.widget.ImageView
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.dialog.BaseFloatDialog
|
||||
import me.jessyan.autosize.utils.AutoSizeUtils
|
||||
|
||||
/**
|
||||
* 行程总结View
|
||||
* 鹰眼6.5.0需求
|
||||
*/
|
||||
class ItinerarySummaryDialog(context: Context) : BaseFloatDialog(context), LifecycleObserver {
|
||||
class ItinerarySummaryDialog(context: Context, isDriver: Boolean, theme: Int) :
|
||||
Dialog(context, theme) {
|
||||
|
||||
companion object {
|
||||
private const val TAG = "ItinerarySummaryView"
|
||||
private val mContext: Context
|
||||
private val isDriver: Boolean
|
||||
|
||||
|
||||
|
||||
}
|
||||
private var ivSummaryClose: ImageView ?= null
|
||||
|
||||
init {
|
||||
setContentView(R.layout.dialog_itinerary_summary)
|
||||
this.mContext = context
|
||||
this.isDriver = isDriver
|
||||
}
|
||||
|
||||
override fun onAttachedToWindow() {
|
||||
super.onAttachedToWindow()
|
||||
override fun onCreate(savedInstanceState: Bundle?){
|
||||
super.onCreate(savedInstanceState)
|
||||
val params = window!!.attributes
|
||||
if(isDriver){
|
||||
setContentView(R.layout.dialog_itinerary_summary)
|
||||
params.height = AutoSizeUtils.dp2px(context,840f)
|
||||
params.width = AutoSizeUtils.dp2px(context,1600f)
|
||||
}else{
|
||||
setContentView(R.layout.dialog_itinerary_summary_p)
|
||||
params.height = AutoSizeUtils.dp2px(context,1170f)
|
||||
params.width = AutoSizeUtils.dp2px(context,2158f)
|
||||
}
|
||||
window!!.attributes = params //向WindowManager设置属性
|
||||
setCanceledOnTouchOutside(false)
|
||||
initEvent()
|
||||
}
|
||||
|
||||
override fun onDetachedFromWindow() {
|
||||
super.onDetachedFromWindow()
|
||||
private fun initEvent(){
|
||||
//关闭Dialog按钮
|
||||
ivSummaryClose = findViewById(R.id.ivSummaryClose)
|
||||
ivSummaryClose?.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
@@ -0,0 +1,7 @@
|
||||
<?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_16"/>
|
||||
<solid android:color="#121826" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?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_20"/>
|
||||
<solid android:color="#333E52" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#2B61A5FF"
|
||||
android:endColor="#2B6F9EFB"/>
|
||||
<corners
|
||||
android:radius="@dimen/dp_25"/>
|
||||
</shape>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#121826" />
|
||||
<corners android:radius="@dimen/dp_20"
|
||||
/>
|
||||
|
||||
<stroke
|
||||
android:width="@dimen/dp_2"
|
||||
android:color="#34425E" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?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_26"/>
|
||||
<solid android:color="#73FFFFFF" />
|
||||
|
||||
</shape>
|
||||
@@ -1,53 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/dp_2158"
|
||||
android:layout_height="@dimen/dp_1170"
|
||||
android:layout_width="@dimen/dp_1600"
|
||||
android:layout_height="@dimen/dp_840"
|
||||
android:background="@drawable/bg_itinerary_summary"
|
||||
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivSummaryClose"
|
||||
android:layout_width="@dimen/dp_86"
|
||||
android:layout_height="@dimen/dp_86"
|
||||
android:layout_width="@dimen/dp_50"
|
||||
android:layout_height="@dimen/dp_50"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:src="@drawable/icon_summary_close"
|
||||
android:contentDescription="@string/summary_close"
|
||||
android:layout_marginEnd="@dimen/dp_43"
|
||||
android:layout_marginTop="@dimen/dp_68"
|
||||
android:layout_marginEnd="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivSummaryZhi"
|
||||
android:layout_width="@dimen/dp_190"
|
||||
android:layout_height="@dimen/dp_160"
|
||||
android:layout_width="@dimen/dp_135"
|
||||
android:layout_height="@dimen/dp_114"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:src="@drawable/icon_summary_zhi"
|
||||
android:contentDescription="@string/summary_zhi"
|
||||
android:layout_marginTop="@dimen/dp_120"
|
||||
android:layout_marginStart="@dimen/dp_735"
|
||||
android:layout_marginTop="@dimen/dp_98"
|
||||
android:layout_marginStart="@dimen/dp_565"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_927"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_130"
|
||||
android:layout_marginEnd="@dimen/dp_220"
|
||||
android:layout_width="@dimen/dp_738"
|
||||
android:layout_height="@dimen/dp_60"
|
||||
app:layout_constraintTop_toTopOf="@id/ivSummaryZhi"
|
||||
app:layout_constraintLeft_toRightOf="@id/ivSummaryZhi"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:background="@drawable/bg_summary_zhi_tip"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:gravity="center"
|
||||
android:text="全程 5km,智慧道路护航 3km,全息感知覆盖率 60%,车辆服务"
|
||||
/>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clService"
|
||||
android:layout_width="@dimen/dp_1261"
|
||||
android:layout_height="@dimen/dp_260"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_486"
|
||||
android:layout_marginEnd="@dimen/dp_83"
|
||||
android:layout_width="@dimen/dp_970"
|
||||
android:layout_height="@dimen/dp_200"
|
||||
app:layout_constraintTop_toBottomOf="@id/ivSummaryZhi"
|
||||
app:layout_constraintLeft_toLeftOf="@id/ivSummaryZhi"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:background="@drawable/bg_summary_service"
|
||||
>
|
||||
|
||||
<TextView
|
||||
@@ -56,11 +59,11 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textColor="@color/summary_service_content"
|
||||
android:text="@string/summary_intersection_services"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginStart="@dimen/dp_58"
|
||||
android:layout_marginBottom="@dimen/dp_44"
|
||||
android:layout_marginStart="@dimen/dp_39"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -70,10 +73,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInfoTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textColor="@color/summary_service_content"
|
||||
android:text="@string/summary_light_services"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginBottom="@dimen/dp_44"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -83,10 +86,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvLightServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVehicleTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textColor="@color/summary_service_content"
|
||||
android:text="@string/summary_info_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginBottom="@dimen/dp_44"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -96,10 +99,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInfoTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVulnerableTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textColor="@color/summary_service_content"
|
||||
android:text="@string/summary_vehicle_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginBottom="@dimen/dp_44"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -108,11 +111,11 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textSize="@dimen/sp_20"
|
||||
android:textColor="@color/summary_service_content"
|
||||
android:text="@string/summary_vulnerable_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginEnd="@dimen/dp_58"
|
||||
android:layout_marginBottom="@dimen/dp_44"
|
||||
android:layout_marginEnd="@dimen/dp_39"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -122,9 +125,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvIntersectionServicesUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textSize="@dimen/sp_72"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="1"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -134,9 +138,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvIntersectionServicesNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvIntersectionServicesNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvIntersectionServices"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
@@ -147,9 +152,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvLightServices"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvLightServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvLightServicesUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textSize="@dimen/sp_72"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="4"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -159,9 +165,10 @@
|
||||
app:layout_constraintRight_toRightOf="@id/tvLightServices"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvLightServicesNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvLightServicesNum"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
@@ -172,9 +179,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvInfoTip"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvInfoTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInfoTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textSize="@dimen/sp_72"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="3"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -184,9 +192,10 @@
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInfoTipNum"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInfoTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvInfoTip"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
@@ -197,9 +206,10 @@
|
||||
app:layout_constraintBottom_toTopOf="@id/tvVehicleTip"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvVehicleTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVehicleTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textSize="@dimen/sp_72"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="2"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -209,9 +219,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvVehicleTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvVehicleTip"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvVehicleTipNum"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
@@ -222,9 +233,11 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvVulnerableTip"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvVulnerableTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVulnerableTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textSize="@dimen/sp_72"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="5"
|
||||
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -234,9 +247,10 @@
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvVulnerableTipNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvVulnerableTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvVulnerableTip"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_service_num"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_15"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
@@ -244,11 +258,12 @@
|
||||
|
||||
<View
|
||||
android:id="@+id/viewDangerLayout"
|
||||
android:layout_width="@dimen/dp_611"
|
||||
android:layout_height="@dimen/dp_366"
|
||||
android:layout_width="@dimen/dp_470"
|
||||
android:layout_height="@dimen/dp_270"
|
||||
app:layout_constraintTop_toBottomOf="@id/clService"
|
||||
app:layout_constraintLeft_toLeftOf="@id/clService"
|
||||
android:layout_marginTop="@dimen/dp_38"
|
||||
android:background="@drawable/bg_summary_achievement"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -257,9 +272,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewDangerLayout"
|
||||
app:layout_constraintRight_toRightOf="@id/viewDangerLayout"
|
||||
app:layout_constraintTop_toTopOf="@id/viewDangerLayout"
|
||||
android:textSize="@dimen/sp_39"
|
||||
android:textColor="@color/summary_danger_title"
|
||||
android:textSize="@dimen/sp_30"
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/summary_danger_title"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -271,7 +287,9 @@
|
||||
app:layout_constraintRight_toLeftOf="@id/tvDangerUnit"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:textColor="@color/summary_danger_num"
|
||||
android:textSize="@dimen/sp_195"
|
||||
android:textSize="@dimen/sp_150"
|
||||
android:text="5"
|
||||
android:layout_marginTop="@dimen/dp_80"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -282,18 +300,20 @@
|
||||
app:layout_constraintRight_toRightOf="@id/viewDangerLayout"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvDangerNum"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:textColor="@color/summary_danger_num"
|
||||
android:textSize="@dimen/sp_52"
|
||||
android:textSize="@dimen/sp_40"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:id="@+id/viewEfficiencyLayout"
|
||||
android:layout_width="@dimen/dp_611"
|
||||
android:layout_height="@dimen/dp_366"
|
||||
android:layout_width="@dimen/dp_470"
|
||||
android:layout_height="@dimen/dp_270"
|
||||
app:layout_constraintTop_toBottomOf="@id/clService"
|
||||
app:layout_constraintRight_toRightOf="@id/clService"
|
||||
android:layout_marginTop="@dimen/dp_38"
|
||||
android:background="@drawable/bg_summary_achievement"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -303,8 +323,9 @@
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintTop_toTopOf="@id/viewEfficiencyLayout"
|
||||
android:text="@string/summary_efficiency_title"
|
||||
android:textSize="@dimen/sp_39"
|
||||
android:textColor="@color/summary_danger_title"
|
||||
android:textSize="@dimen/sp_30"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginTop="@dimen/dp_44"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -316,7 +337,9 @@
|
||||
app:layout_constraintRight_toLeftOf="@id/tvEfficiencyUnit"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:textColor="@color/summary_danger_num"
|
||||
android:textSize="@dimen/sp_195"
|
||||
android:textSize="@dimen/sp_150"
|
||||
android:text="13"
|
||||
android:layout_marginTop="@dimen/dp_80"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -327,7 +350,8 @@
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvEfficiencyNum"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:textSize="@dimen/sp_52"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:textSize="@dimen/sp_40"
|
||||
android:textColor="@color/summary_danger_num"
|
||||
android:text="@string/summary_efficiency_unit"
|
||||
/>
|
||||
@@ -338,8 +362,10 @@
|
||||
app:layout_constraintTop_toBottomOf="@id/viewDangerLayout"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewDangerLayout"
|
||||
android:text="@string/summary_danger_tip"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textColor="@color/summary_tip"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginStart="@dimen/dp_m_10"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -348,8 +374,9 @@
|
||||
app:layout_constraintTop_toBottomOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
android:text="@string/summary_powered"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textColor="@color/summary_tip"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,382 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/dp_2158"
|
||||
android:layout_height="@dimen/dp_1170"
|
||||
android:background="@drawable/bg_itinerary_summary_p"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivSummaryClose"
|
||||
android:layout_width="@dimen/dp_86"
|
||||
android:layout_height="@dimen/dp_86"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:src="@drawable/icon_summary_close_p"
|
||||
android:contentDescription="@string/summary_close"
|
||||
android:layout_marginEnd="@dimen/dp_80"
|
||||
android:layout_marginTop="@dimen/dp_80"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivSummaryZhi"
|
||||
android:layout_width="@dimen/dp_190"
|
||||
android:layout_height="@dimen/dp_160"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:src="@drawable/icon_summary_zhi"
|
||||
android:contentDescription="@string/summary_zhi"
|
||||
android:layout_marginTop="@dimen/dp_150"
|
||||
android:layout_marginStart="@dimen/dp_813"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/dp_927"
|
||||
android:layout_height="@dimen/dp_84"
|
||||
app:layout_constraintTop_toTopOf="@id/ivSummaryZhi"
|
||||
app:layout_constraintLeft_toRightOf="@id/ivSummaryZhi"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginStart="@dimen/dp_20"
|
||||
android:background="@drawable/bg_summary_zhi_tip"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/sp_28"
|
||||
android:gravity="center"
|
||||
android:text="“旅途全长 38 km,全感知覆盖率 90%,车辆服务次数 68次”"
|
||||
/>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clService"
|
||||
android:layout_width="@dimen/dp_1261"
|
||||
android:layout_height="@dimen/dp_260"
|
||||
app:layout_constraintTop_toBottomOf="@id/ivSummaryZhi"
|
||||
app:layout_constraintLeft_toLeftOf="@id/ivSummaryZhi"
|
||||
android:layout_marginTop="@dimen/dp_40"
|
||||
android:background="@drawable/bg_summary_service_p"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvIntersectionServices"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textColor="@color/summary_service_content_p"
|
||||
android:text="@string/summary_intersection_services"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginStart="@dimen/dp_58"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLightServices"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInfoTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textColor="@color/summary_service_content_p"
|
||||
android:text="@string/summary_light_services"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInfoTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvLightServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVehicleTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textColor="@color/summary_service_content_p"
|
||||
android:text="@string/summary_info_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVehicleTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInfoTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVulnerableTip"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textColor="@color/summary_service_content_p"
|
||||
android:text="@string/summary_vehicle_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVulnerableTip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:textSize="@dimen/sp_26"
|
||||
android:textColor="@color/summary_service_content_p"
|
||||
android:text="@string/summary_vulnerable_tip"
|
||||
android:layout_marginBottom="@dimen/dp_56"
|
||||
android:layout_marginEnd="@dimen/dp_58"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvIntersectionServicesNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvIntersectionServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvIntersectionServicesUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="1"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvIntersectionServicesUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvIntersectionServicesNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvIntersectionServicesNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvIntersectionServices"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLightServicesNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvLightServices"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvLightServices"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvLightServicesUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="4"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLightServicesUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintRight_toRightOf="@id/tvLightServices"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvLightServicesNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvLightServicesNum"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInfoTipNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvInfoTip"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvInfoTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvInfoTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="3"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvInfoTipUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvInfoTipNum"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvInfoTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvInfoTip"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVehicleTipNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvVehicleTip"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvVehicleTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVehicleTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="2"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVehicleTipUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvVehicleTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvVehicleTip"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvVehicleTipNum"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVulnerableTipNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvVulnerableTip"
|
||||
app:layout_constraintBottom_toTopOf="@id/tvVulnerableTip"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvVulnerableTipUnit"
|
||||
android:textSize="@dimen/sp_94"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:text="5"
|
||||
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVulnerableTipUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvVulnerableTipNum"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvVulnerableTipNum"
|
||||
app:layout_constraintRight_toRightOf="@id/tvVulnerableTip"
|
||||
android:textSize="@dimen/sp_31"
|
||||
android:textColor="@color/summary_service_num_p"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/viewDangerLayout"
|
||||
android:layout_width="@dimen/dp_611"
|
||||
android:layout_height="@dimen/dp_366"
|
||||
app:layout_constraintTop_toBottomOf="@id/clService"
|
||||
app:layout_constraintLeft_toLeftOf="@id/clService"
|
||||
android:layout_marginTop="@dimen/dp_38"
|
||||
android:background="@drawable/bg_summary_achievement_p"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewDangerLayout"
|
||||
app:layout_constraintRight_toRightOf="@id/viewDangerLayout"
|
||||
app:layout_constraintTop_toTopOf="@id/viewDangerLayout"
|
||||
android:textSize="@dimen/sp_39"
|
||||
android:textColor="@color/summary_danger_title"
|
||||
android:text="@string/summary_danger_title"
|
||||
android:layout_marginTop="@dimen/dp_58"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDangerNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/viewDangerLayout"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewDangerLayout"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvDangerUnit"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:textColor="@color/summary_danger_num_p"
|
||||
android:textSize="@dimen/sp_195"
|
||||
android:text="5"
|
||||
android:layout_marginTop="@dimen/dp_120"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDangerUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvDangerNum"
|
||||
app:layout_constraintRight_toRightOf="@id/viewDangerLayout"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvDangerNum"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:textColor="@color/summary_danger_num_p"
|
||||
android:textSize="@dimen/sp_52"
|
||||
android:text="@string/summary_service_unit"
|
||||
/>
|
||||
|
||||
<View
|
||||
android:id="@+id/viewEfficiencyLayout"
|
||||
android:layout_width="@dimen/dp_611"
|
||||
android:layout_height="@dimen/dp_366"
|
||||
app:layout_constraintTop_toBottomOf="@id/clService"
|
||||
app:layout_constraintRight_toRightOf="@id/clService"
|
||||
android:layout_marginTop="@dimen/dp_38"
|
||||
android:background="@drawable/bg_summary_achievement_p"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintTop_toTopOf="@id/viewEfficiencyLayout"
|
||||
android:text="@string/summary_efficiency_title"
|
||||
android:textSize="@dimen/sp_39"
|
||||
android:textColor="@color/summary_danger_title"
|
||||
android:layout_marginTop="@dimen/dp_58"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEfficiencyNum"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintRight_toLeftOf="@id/tvEfficiencyUnit"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:textColor="@color/summary_danger_num_p"
|
||||
android:textSize="@dimen/sp_195"
|
||||
android:text="13"
|
||||
android:layout_marginTop="@dimen/dp_120"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvEfficiencyUnit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@id/tvEfficiencyNum"
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvEfficiencyNum"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
android:layout_marginBottom="@dimen/dp_40"
|
||||
android:textSize="@dimen/sp_52"
|
||||
android:textColor="@color/summary_danger_num_p"
|
||||
android:text="@string/summary_efficiency_unit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/viewDangerLayout"
|
||||
app:layout_constraintLeft_toLeftOf="@id/viewDangerLayout"
|
||||
android:text="@string/summary_danger_tip"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_tip_p"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginStart="@dimen/dp_m_10"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/viewEfficiencyLayout"
|
||||
app:layout_constraintRight_toRightOf="@id/viewEfficiencyLayout"
|
||||
android:text="@string/summary_powered"
|
||||
android:textSize="@dimen/sp_24"
|
||||
android:textColor="@color/summary_tip_p"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -3,7 +3,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
@@ -12,6 +13,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/icon_exploration_loading"
|
||||
android:contentDescription="@string/exploration_loading"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -21,6 +23,7 @@
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -3,7 +3,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_margin="@dimen/dp_10">
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_10">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivExplorationLoading"
|
||||
@@ -11,6 +12,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/icon_exploration_loading_p"
|
||||
android:contentDescription="@string/exploration_loading"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -20,6 +22,7 @@
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textColor="@color/auto_exploration_content_p"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_gravity="center_vertical"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivScan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_100"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:src="@drawable/icon_exploration_scan"
|
||||
@@ -17,8 +17,8 @@
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_75"
|
||||
android:layout_height="@dimen/dp_75"
|
||||
app:layout_constraintTop_toTopOf="@id/ivScan"
|
||||
app:layout_constraintBottom_toBottomOf="@id/ivScan"
|
||||
app:layout_constraintLeft_toLeftOf="@id/ivScan"
|
||||
@@ -38,7 +38,6 @@
|
||||
android:textColor="@color/white"
|
||||
android:text="@string/exploration_title"
|
||||
android:layout_marginStart="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -47,6 +46,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvExplorationTitle"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvExplorationTitle"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -47,7 +47,6 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:src="@drawable/icon_exploration_close"
|
||||
android:contentDescription="@string/exploration_close"
|
||||
android:padding="@dimen/dp_20"
|
||||
/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -56,6 +55,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvExplorationTitle"
|
||||
app:layout_constraintLeft_toLeftOf="@id/tvExplorationTitle"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -86,11 +86,15 @@
|
||||
<color name="voice_user_end">#FF1E32D9</color>
|
||||
<color name="voice_resp">#243959</color>
|
||||
|
||||
<color name="summary_service_content">#49546A</color>
|
||||
<color name="summary_service_num">#464646</color>
|
||||
<color name="summary_service_content">#7C93C2</color>
|
||||
<color name="summary_service_content_p">#49546A</color>
|
||||
<color name="summary_service_num">#FFFFFF</color>
|
||||
<color name="summary_service_num_p">#464646</color>
|
||||
<color name="summary_danger_title">#24313E</color>
|
||||
<color name="summary_danger_num">#106FF0</color>
|
||||
<color name="summary_tip">#42464F</color>
|
||||
<color name="summary_danger_num">#2DF0FE</color>
|
||||
<color name="summary_danger_num_p">#106FF0</color>
|
||||
<color name="summary_tip">#6A758D</color>
|
||||
<color name="summary_tip_p">#42464F</color>
|
||||
|
||||
<color name="light_prompt_content">#131415 </color>
|
||||
<color name="light_prompt_red">#FF3B2D</color>
|
||||
|
||||
@@ -88,4 +88,20 @@
|
||||
<item name="android:layout_margin">@dimen/dp_10</item>
|
||||
</style>
|
||||
|
||||
<style name="summary_dialog" parent="@android:style/Theme.Dialog">
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowBackground">@drawable/bg_itinerary_summary</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
</style>
|
||||
|
||||
<style name="summary_dialog_p" parent="@android:style/Theme.Dialog">
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowBackground">@drawable/bg_itinerary_summary_p</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user