添加游戏列表点击查询游戏状态

This commit is contained in:
18401019693
2023-10-06 10:01:39 +08:00
parent c1d6b67322
commit 2d7684a5c8
12 changed files with 127 additions and 48 deletions

View File

@@ -97,30 +97,38 @@
android:layout_marginTop="10dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/layout_history_empty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:orientation="vertical">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_marginTop="80dp"
android:src="@mipmap/icon_attention_noanchor" />
<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:layout_marginTop="20dp"
android:gravity="center"
android:paddingStart="30dp"
android:paddingTop="12dp"
android:paddingEnd="30dp"
android:paddingBottom="12dp"
android:text="@string/interactive_game_search_room_have_been_found"
android:textColor="#CCFFFFFF"
android:textColorHint="#000"
android:textSize="14sp" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_room"
android:layout_width="match_parent"

View File

@@ -111,16 +111,22 @@
<LinearLayout
android:id="@+id/layout_history_empty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:orientation="vertical">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_gravity="center"
android:layout_marginTop="80dp"
android:src="@mipmap/icon_attention_noanchor" />
<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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -1341,5 +1341,5 @@
<string name="interactive_game_search_room">搜索房間</string>
<string name="interactive_game_search_history">搜索历史</string>
<string name="interactive_game_search_room_name_input">請輸入您要搜索的房主昵稱、房主ID或房間名</string>
<string name="interactive_game_search_room_have_been_found">暫未搜索結果~</string>
<string name="interactive_game_search_room_have_been_found">不存在此房间</string>
</resources>

View File

@@ -1340,5 +1340,5 @@
<string name="interactive_game_search_room">搜索房間</string>
<string name="interactive_game_search_history">搜索历史</string>
<string name="interactive_game_search_room_name_input">請輸入您要搜索的房主昵稱、房主ID或房間名</string>
<string name="interactive_game_search_room_have_been_found">暫未搜索結果~</string>
<string name="interactive_game_search_room_have_been_found">不存在此房间</string>
</resources>

View File

@@ -1341,6 +1341,6 @@
<string name="interactive_game_search_room">搜索房間</string>
<string name="interactive_game_search_history">搜索历史</string>
<string name="interactive_game_search_room_name_input">請輸入您要搜索的房主昵稱、房主ID或房間名</string>
<string name="interactive_game_search_room_have_been_found">暫未搜索結果~</string>
<string name="interactive_game_search_room_have_been_found">不存在此房间</string>
</resources>