[6.2.6]
[taxi-p] [目的地字数限制放大]
This commit is contained in:
@@ -86,8 +86,8 @@ class ItineraryView : ConstraintLayout, OrderInfoViewModel.ItineraryViewCallback
|
||||
}
|
||||
|
||||
override fun setEndStation(endStation:String){
|
||||
if(endStation.length>9){
|
||||
actv_endstation.text = "${endStation.subSequence(0,9)}…"
|
||||
if(endStation.length>15){
|
||||
actv_endstation.text = "${endStation.subSequence(0,15)}…"
|
||||
}else {
|
||||
actv_endstation.text = endStation
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
android:id="@+id/actv_endstation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLength="10"
|
||||
android:maxLength="25"
|
||||
android:maxLines="1"
|
||||
android:layout_marginStart="@dimen/dp_7"
|
||||
android:textColor="@color/taxi_p_293449"
|
||||
|
||||
@@ -90,8 +90,8 @@ class ItineraryView : ConstraintLayout, OrderInfoViewModel.ItineraryViewCallback
|
||||
}
|
||||
|
||||
override fun setEndStation(endStation:String){
|
||||
if(endStation.length>9){
|
||||
actv_endstation.text = "${endStation.subSequence(0,9)}…"
|
||||
if(endStation.length>15){
|
||||
actv_endstation.text = "${endStation.subSequence(0,15)}…"
|
||||
}else {
|
||||
actv_endstation.text = endStation
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
android:id="@+id/actv_endstation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLength="10"
|
||||
android:maxLength="25"
|
||||
android:maxLines="1"
|
||||
android:layout_marginStart="@dimen/dp_7"
|
||||
android:textColor="@color/taxi_p_293449"
|
||||
|
||||
Reference in New Issue
Block a user