[6.7.0]行程总结UI调整
This commit is contained in:
@@ -46,8 +46,8 @@ open class ItinerarySummaryDialog(context: Context, isDriver: Boolean, theme: In
|
||||
val params = window!!.attributes
|
||||
if(isDriver){
|
||||
setContentView(R.layout.dialog_itinerary_summary)
|
||||
params.height = AutoSizeUtils.dp2px(context,1200f)
|
||||
params.width = AutoSizeUtils.dp2px(context,2300f)
|
||||
params.height = AutoSizeUtils.dp2px(context,1284f)
|
||||
params.width = AutoSizeUtils.dp2px(context,2384f)
|
||||
}else{
|
||||
setContentView(R.layout.dialog_itinerary_summary_p)
|
||||
params.height = AutoSizeUtils.dp2px(context,1170f)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 MiB |
@@ -1,7 +0,0 @@
|
||||
<?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="#384660" />
|
||||
|
||||
</shape>
|
||||
@@ -2,6 +2,6 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="@dimen/dp_26"/>
|
||||
<solid android:color="#202735" />
|
||||
<solid android:color="#19FFFFFF" />
|
||||
|
||||
</shape>
|
||||
@@ -1,11 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#384660" />
|
||||
<corners android:radius="@dimen/dp_26"
|
||||
/>
|
||||
|
||||
<stroke
|
||||
android:width="@dimen/dp_4"
|
||||
android:color="#202735" />
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="@dimen/dp_26"/>
|
||||
<solid android:color="#19FFFFFF" />
|
||||
|
||||
</shape>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?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_2300"
|
||||
android:layout_height="@dimen/dp_1200"
|
||||
android:layout_width="@dimen/dp_2384"
|
||||
android:layout_height="@dimen/dp_1284"
|
||||
android:background="@drawable/bg_itinerary_summary"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
android:layout_height="@dimen/dp_1090"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginStart="@dimen/dp_65"
|
||||
android:layout_marginStart="@dimen/dp_107"
|
||||
android:layout_marginTop="@dimen/dp_79"
|
||||
app:roundLayoutRadius="@dimen/dp_22">
|
||||
|
||||
<com.mogo.eagle.core.function.view.TravelRealityView
|
||||
@@ -44,8 +44,8 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:src="@drawable/icon_summary_close"
|
||||
android:contentDescription="@string/summary_close"
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginEnd="@dimen/dp_82"
|
||||
android:layout_marginTop="@dimen/dp_62"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
@@ -56,8 +56,8 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:src="@drawable/icon_summary_zhi"
|
||||
android:contentDescription="@string/summary_zhi"
|
||||
android:layout_marginTop="@dimen/dp_110"
|
||||
android:layout_marginStart="@dimen/dp_814"
|
||||
android:layout_marginTop="@dimen/dp_134"
|
||||
android:layout_marginStart="@dimen/dp_856"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -66,8 +66,8 @@
|
||||
android:layout_height="@dimen/dp_86"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:layout_marginTop="@dimen/dp_161"
|
||||
android:layout_marginStart="@dimen/dp_1017"
|
||||
android:layout_marginTop="@dimen/dp_185"
|
||||
android:layout_marginStart="@dimen/dp_1058"
|
||||
android:background="@drawable/bg_summary_zhi_tip"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_28"
|
||||
@@ -80,7 +80,7 @@
|
||||
android:layout_height="@dimen/dp_285"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="@id/ivSummaryZhi"
|
||||
android:layout_marginTop="@dimen/dp_338"
|
||||
android:layout_marginTop="@dimen/dp_362"
|
||||
android:background="@drawable/bg_summary_service"
|
||||
>
|
||||
|
||||
@@ -372,7 +372,7 @@
|
||||
android:text="@string/summary_danger_tip"
|
||||
android:textSize="@dimen/sp_22"
|
||||
android:textColor="@color/summary_tip"
|
||||
android:layout_marginBottom="@dimen/dp_77"
|
||||
android:layout_marginBottom="@dimen/dp_137"
|
||||
android:layout_marginStart="@dimen/dp_m_10"
|
||||
/>
|
||||
|
||||
@@ -384,7 +384,7 @@
|
||||
android:text="@string/summary_powered"
|
||||
android:textSize="@dimen/sp_22"
|
||||
android:textColor="@color/summary_tip"
|
||||
android:layout_marginBottom="@dimen/dp_77"
|
||||
android:layout_marginBottom="@dimen/dp_137"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -74,7 +74,7 @@
|
||||
<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">#2DF0FE</color>
|
||||
<color name="summary_danger_num">#2EACFF</color>
|
||||
<color name="summary_danger_num_p">#106FF0</color>
|
||||
<color name="summary_tip">#6A758D</color>
|
||||
<color name="summary_tip_p">#42464F</color>
|
||||
|
||||
Reference in New Issue
Block a user