[Taxi/Bus v2.6.6] bus driver 切换路线UI调整

This commit is contained in:
wangmingjun
2022-05-06 11:54:00 +08:00
parent 9cb1947522
commit eff7456acd
2 changed files with 11 additions and 4 deletions

View File

@@ -48,6 +48,7 @@
android:fadingEdgeLength="40dp"
android:layout_marginTop="@dimen/dp_50"
android:layout_marginLeft="@dimen/dp_80"
android:layout_marginRight="@dimen/dp_80"
android:layout_marginBottom="@dimen/dp_30"/>
<TextView

View File

@@ -2,7 +2,8 @@
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="282px">
android:layout_height="wrap_content"
android:paddingBottom="@dimen/dp_80">
<ImageView
android:id="@+id/switch_line_item_select_iv"
@@ -14,11 +15,14 @@
<TextView
android:id="@+id/switch_line_name"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@+id/switch_line_item_select_iv"
android:layout_marginLeft="@dimen/dp_33"
android:maxLines="2"
android:ellipsize="end"
android:textStyle="bold"
android:textColor="@android:color/white"
android:text="@string/bus_switch_line_name"
@@ -26,7 +30,7 @@
<TextView
android:id="@+id/switch_line_start_station"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_17"
android:layout_marginTop="@dimen/dp_30"
@@ -35,6 +39,7 @@
android:text="@string/bus_switch_line_start"
android:textColor="#B9C3E9"
android:textSize="@dimen/dp_36"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch_line_name"
app:layout_constraintLeft_toRightOf="@+id/switch_line_start_greenDot"/>
@@ -69,7 +74,7 @@
<TextView
android:id="@+id/switch_line_end_station"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_17"
android:layout_marginTop="@dimen/dp_30"
@@ -78,6 +83,7 @@
android:text="@string/bus_switch_line_end"
android:textColor="#B9C3E9"
android:textSize="@dimen/dp_36"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toRightOf="@+id/switch_line_end_blueDot"
app:layout_constraintTop_toBottomOf="@+id/switch_line_start_station"/>
</androidx.constraintlayout.widget.ConstraintLayout>