游戏部分功能修改完成
59
common/src/main/res/layout/item_game_type_select_view.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
|
||||
tools:layout_width="94dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gameBg"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:src="@mipmap/ic_yola_game_bg_1"
|
||||
app:layout_constraintDimensionRatio="1.32"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/line" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gameIcon"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:src="@mipmap/ic_yola_game_1"
|
||||
app:layout_constraintDimensionRatio="1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintWidth_percent="0.48" />
|
||||
|
||||
<View
|
||||
android:id="@+id/line"
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="1dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/gameIcon"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/gameIcon"
|
||||
app:layout_constraintVertical_bias="0.36" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/gameName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/interactive_game_room_all"
|
||||
android:textColor="@color/color_111111"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/gameBg"
|
||||
app:layout_constraintEnd_toEndOf="@+id/gameBg"
|
||||
app:layout_constraintStart_toStartOf="@+id/gameBg"
|
||||
app:layout_constraintTop_toBottomOf="@+id/gameIcon"
|
||||
app:layout_constraintVertical_bias="0.39" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
104
common/src/main/res/layout/item_home_sud_game_list2.xml
Normal file
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@mipmap/background_home_sud_game_list">
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintWidth_percent="0.14"
|
||||
app:riv_oval="true" />
|
||||
|
||||
<ImageView
|
||||
app:layout_constraintStart_toStartOf="@+id/avatar"
|
||||
app:layout_constraintEnd_toEndOf="@+id/avatar"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
android:layout_marginBottom="-8dp"
|
||||
android:id="@+id/btn_live"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:adjustViewBounds="true"
|
||||
android:src="@mipmap/icon_user_game_living"
|
||||
tools:visibility="gone"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/topBgImg"
|
||||
android:layout_width="0dp"
|
||||
app:layout_constraintWidth_percent="0.14"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintDimensionRatio="2.66"
|
||||
android:src="@mipmap/ic_yola_game_radus"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:layout_marginEnd="2dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/gold_coin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/ic_yola_game_dou"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/topBgImg"
|
||||
app:layout_constraintEnd_toEndOf="@+id/topBgImg"
|
||||
app:layout_constraintHorizontal_bias="0.81"
|
||||
app:layout_constraintStart_toStartOf="@+id/topBgImg"
|
||||
app:layout_constraintTop_toTopOf="@+id/topBgImg" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/golden_bean_number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="1dp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/topBgImg"
|
||||
app:layout_constraintEnd_toStartOf="@+id/gold_coin"
|
||||
app:layout_constraintTop_toTopOf="@+id/topBgImg"
|
||||
tools:text="1000"
|
||||
android:textColor="#FFBA8232"
|
||||
android:textSize="10sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/room_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:ellipsize="end"
|
||||
android:singleLine="true"
|
||||
android:text="@string/interactive_game_create_room_name"
|
||||
android:textColor="#222"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintStart_toEndOf="@+id/avatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/avatar"
|
||||
app:layout_constraintVertical_bias="0.25" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/room_number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="遊戲人數:2"
|
||||
android:textColor="#777"
|
||||
android:textSize="11sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/avatar"
|
||||
app:layout_constraintStart_toStartOf="@+id/room_name"
|
||||
app:layout_constraintTop_toBottomOf="@+id/room_name" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_1.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_2.png
Normal file
|
After Width: | Height: | Size: 9.8 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_3.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_4.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_5.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_6.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_7.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_8.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_bg_1.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_bg_2.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_bg_3.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_bg_4.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_bot_arrow.png
Normal file
|
After Width: | Height: | Size: 469 B |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_create.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_dou.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_2.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_3.png
Normal file
|
After Width: | Height: | Size: 9.7 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_4.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_5.png
Normal file
|
After Width: | Height: | Size: 6.6 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_6.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_7.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_end_8.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_line.png
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_radus.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_record.png
Normal file
|
After Width: | Height: | Size: 915 B |
BIN
common/src/main/res/mipmap-hdpi/ic_yola_game_top_arrow.png
Normal file
|
After Width: | Height: | Size: 471 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_1.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_2.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_3.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_4.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_5.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_6.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_7.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_8.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_bg_1.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_bg_2.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_bg_3.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_bg_4.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_bot_arrow.png
Normal file
|
After Width: | Height: | Size: 293 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_create.png
Normal file
|
After Width: | Height: | Size: 595 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_dou.png
Normal file
|
After Width: | Height: | Size: 607 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_2.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_3.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_4.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_5.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_6.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_7.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_end_8.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_line.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_radus.png
Normal file
|
After Width: | Height: | Size: 304 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_record.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
common/src/main/res/mipmap-mdpi/ic_yola_game_top_arrow.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_1.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_2.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_3.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_4.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_5.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_6.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_7.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_8.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_bg_1.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_bg_2.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_bg_3.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_bg_4.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_bot_arrow.png
Normal file
|
After Width: | Height: | Size: 521 B |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_create.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_dou.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_2.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_3.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_4.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_5.png
Normal file
|
After Width: | Height: | Size: 9.6 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_6.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_7.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_end_8.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_line.png
Normal file
|
After Width: | Height: | Size: 130 B |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_radus.png
Normal file
|
After Width: | Height: | Size: 576 B |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_record.png
Normal file
|
After Width: | Height: | Size: 914 B |
BIN
common/src/main/res/mipmap-xhdpi/ic_yola_game_top_arrow.png
Normal file
|
After Width: | Height: | Size: 534 B |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_1.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_2.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_3.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_4.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_5.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_6.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_7.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_8.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_bg_1.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_bg_2.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_bg_3.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_bg_4.png
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_bot_arrow.png
Normal file
|
After Width: | Height: | Size: 859 B |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_create.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_dou.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_end_2.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_end_3.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_end_4.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_end_5.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/ic_yola_game_end_6.png
Normal file
|
After Width: | Height: | Size: 25 KiB |