style: 统一进港页面结束日期筛选文案并优化 PadSearchLayout 防换行
- 进港查询/出库/提取记录页第二个日期筛选 hint 统一为"请选择结束 xx 日期" - PadSearchLayout 内部 EditText/TextView 增加 singleLine + ellipsize=end, textSize 14sp 调为 13sp,避免长 hint 换行、布局被撑高 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,11 +15,12 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
|
android:ellipsize="end"
|
||||||
android:paddingStart="10dp"
|
android:paddingStart="10dp"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="@color/text_normal"
|
android:textColor="@color/text_normal"
|
||||||
android:textColorHint="@color/text_gray_l"
|
android:textColorHint="@color/text_gray_l"
|
||||||
android:textSize="14sp"
|
android:textSize="13sp"
|
||||||
tools:text="edittext" />
|
tools:text="edittext" />
|
||||||
|
|
||||||
<Spinner
|
<Spinner
|
||||||
@@ -36,11 +37,13 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:ellipsize="end"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:paddingStart="10dp"
|
android:paddingStart="10dp"
|
||||||
|
android:singleLine="true"
|
||||||
android:textColor="@color/text_normal"
|
android:textColor="@color/text_normal"
|
||||||
android:textColorHint="@color/text_gray_l"
|
android:textColorHint="@color/text_gray_l"
|
||||||
android:textSize="14sp"
|
android:textSize="13sp"
|
||||||
tools:text="textView" />
|
tools:text="textView" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<!-- 缴费日期止 -->
|
<!-- 缴费日期止 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"选择缴费日期止"}'
|
hint='@{"请选择结束缴费日期"}'
|
||||||
icon="@{@drawable/img_date}"
|
icon="@{@drawable/img_date}"
|
||||||
type="@{SearchLayoutType.DATE}"
|
type="@{SearchLayoutType.DATE}"
|
||||||
value="@={viewModel.paymentDateEnd}"
|
value="@={viewModel.paymentDateEnd}"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<!-- 缴费日期止 -->
|
<!-- 缴费日期止 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"选择缴费日期止"}'
|
hint='@{"请选择结束缴费日期"}'
|
||||||
icon="@{@drawable/img_date}"
|
icon="@{@drawable/img_date}"
|
||||||
type="@{SearchLayoutType.DATE}"
|
type="@{SearchLayoutType.DATE}"
|
||||||
value="@={viewModel.paymentDateEnd}"
|
value="@={viewModel.paymentDateEnd}"
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请选择结束日期"}'
|
hint='@{"请选择结束航班日期"}'
|
||||||
icon="@{@drawable/img_date}"
|
icon="@{@drawable/img_date}"
|
||||||
type="@{SearchLayoutType.DATE}"
|
type="@{SearchLayoutType.DATE}"
|
||||||
value="@={viewModel.flightDateEnd}" />
|
value="@={viewModel.flightDateEnd}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user