sud游戏搜索页面优化更改

This commit is contained in:
18401019693
2023-09-27 17:08:14 +08:00
parent c94f549531
commit 32ebfa719d
8 changed files with 96 additions and 36 deletions

View File

@@ -4,6 +4,7 @@
<shape android:shape="rectangle">
<solid android:color="#343434" />
<corners android:topLeftRadius="14dp" android:topRightRadius="14dp" android:bottomLeftRadius="14dp" android:bottomRightRadius="14dp" />
<padding android:bottom="7dp" android:left="11dp" android:right="11dp" android:top="7dp" />
</shape>
</item>
</selector>

View File

@@ -4,6 +4,7 @@
<shape android:shape="rectangle">
<solid android:color="#ffe7e0df" />
<corners android:topLeftRadius="14dp" android:topRightRadius="14dp" android:bottomLeftRadius="14dp" android:bottomRightRadius="14dp" />
<padding android:bottom="7dp" android:left="11dp" android:right="11dp" android:top="7dp" />
</shape>
</item>
</selector>

View File

@@ -48,7 +48,7 @@
android:id="@+id/edit_search"
android:layout_width="266dp"
android:layout_height="wrap_content"
android:background="@drawable/bg_live_sud_list_input_home"
android:background="@null"
android:hint="@string/interactive_game_search_room_name_input"
android:paddingStart="5dp"
android:paddingTop="9dp"
@@ -81,12 +81,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:visibility="gone"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:spanCount="3"
tools:itemCount="5"
tools:layoutManager="GridLayoutManager"
tools:listitem="@layout/item_search_history" />
<com.yunbao.common.views.FlowLayout
android:id="@+id/search_history"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp" />
<LinearLayout
android:id="@+id/layout_history_empty"
android:layout_width="match_parent"

View File

@@ -87,6 +87,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_history"
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
@@ -95,6 +96,11 @@
tools:itemCount="5"
tools:layoutManager="GridLayoutManager"
tools:listitem="@layout/item_search_history" />
<com.yunbao.common.views.FlowLayout
android:id="@+id/search_history"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp" />
<LinearLayout
android:id="@+id/layout_history_empty"