2023-09-26 14:56:55 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="486dp"
|
|
|
|
android:background="@drawable/bg_live_sud_list"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:ignore="MissingDefaultResource">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/interactive_game"
|
|
|
|
android:textColor="#fff"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/interactive_game_search_room"
|
|
|
|
android:textColor="#FFFFFF"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/btn_back"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_gravity="end|center_vertical"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:src="@mipmap/icon_interactive_game_create_room_back" />
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:background="@drawable/bg_live_sud_list_input">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginStart="11dp"
|
|
|
|
android:src="@mipmap/ic_home_game_search" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/edit_search"
|
|
|
|
android:layout_width="266dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@null"
|
|
|
|
android:hint="@string/interactive_game_search_room_name_input"
|
|
|
|
android:paddingStart="5dp"
|
|
|
|
android:paddingTop="9dp"
|
|
|
|
android:paddingBottom="9dp"
|
|
|
|
android:textColor="#8fff"
|
|
|
|
android:textColorHint="#8fff"
|
|
|
|
android:textSize="10sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/layout_history"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:text="@string/interactive_game_search_history"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/list_history"
|
2023-09-27 17:08:14 +08:00
|
|
|
android:visibility="gone"
|
2023-09-26 14:56:55 +08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
|
|
app:spanCount="3"
|
|
|
|
tools:itemCount="5"
|
|
|
|
tools:layoutManager="GridLayoutManager"
|
|
|
|
tools:listitem="@layout/item_search_history" />
|
2023-09-27 17:08:14 +08:00
|
|
|
<com.yunbao.common.views.FlowLayout
|
|
|
|
android:id="@+id/search_history"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp" />
|
2023-09-26 14:56:55 +08:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/layout_history_empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/textView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/bg_home_search_not"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="30dp"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingEnd="30dp"
|
|
|
|
android:paddingBottom="12dp"
|
|
|
|
android:text="暫未搜索結果~"
|
|
|
|
android:textColor="#CCFFFFFF"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/list_room"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|