From e5ca87e89fef96c827ec37d1d91082f626cbb17d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 11 五月 2021 18:50:09 +0800 Subject: [PATCH] 特价新版UI改造 --- app/src/main/res/layout/activity_order_form_num_search.xml | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/activity_order_form_num_search.xml b/app/src/main/res/layout/activity_order_form_num_search.xml index 962a25a..456bb67 100644 --- a/app/src/main/res/layout/activity_order_form_num_search.xml +++ b/app/src/main/res/layout/activity_order_form_num_search.xml @@ -29,12 +29,11 @@ android:layout_weight="1"> <AutoCompleteTextView - android:textCursorDrawable="@drawable/shape_input_cursor" android:id="@+id/et_search" android:layout_width="match_parent" android:layout_height="35dp" android:layout_gravity="center_vertical" - android:background="@drawable/shape_search" + android:background="@drawable/shape_search_order" android:completionThreshold="1" android:hint=" 杈撳叆璁㈠崟鍙锋垨鍟嗗搧鍏抽敭璇�" android:imeOptions="actionSearch" @@ -42,6 +41,8 @@ android:paddingLeft="45dp" android:paddingRight="5dp" android:singleLine="true" + android:textColor="#A1A1A1" + android:textCursorDrawable="@drawable/shape_input_cursor" android:textSize="14sp" /> <ImageView @@ -49,7 +50,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginLeft="20dp" - android:src="@drawable/ic_recommend_search" /> + android:src="@drawable/icon_search_gray" /> </FrameLayout> <TextView @@ -64,9 +65,9 @@ </LinearLayout> <View - android:layout_marginTop="4dp" android:layout_width="match_parent" android:layout_height="1px" + android:layout_marginTop="4dp" android:background="#dddddd"></View> <ScrollView @@ -92,7 +93,7 @@ android:layout_height="wrap_content" android:layout_weight="1" android:text="鍘嗗彶鎼滅储" - android:textColor="@color/gray2" /> + android:textColor="@color/search_title_text_color" /> <TextView android:id="@+id/tv_clear_history" @@ -110,16 +111,12 @@ </LinearLayout> - <com.wpc.library.widget.MyListView - android:id="@+id/lv_search_history" + <com.tejia.lijin.app.util.FlowLayout + android:id="@+id/fl_search_history" android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_marginTop="16dp" - android:layout_marginRight="15dp" - android:layout_marginBottom="8dp" - android:background="@color/white" - android:divider="@color/white" - android:dividerHeight="1dp"></com.wpc.library.widget.MyListView> + android:layout_height="wrap_content" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp"></com.tejia.lijin.app.util.FlowLayout> </LinearLayout> </ScrollView> -- Gitblit v1.8.0