新增小游戏相关内容
This commit is contained in:
@@ -2,19 +2,30 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="45dp"
|
||||
android:background="@mipmap/sub_bg"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="68dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_marginTop="45dp">
|
||||
android:paddingBottom="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/activityGameAchievement"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone"
|
||||
android:textColor="#FFFFFF"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="TextView" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/layoutUser"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
@@ -33,9 +44,9 @@
|
||||
android:id="@+id/sub_win_hat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@mipmap/sub_win_hat"
|
||||
android:visibility="gone"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/sub_win_head"
|
||||
@@ -43,9 +54,9 @@
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:riv_corner_radius="360dp"
|
||||
app:riv_border_color="#FFFFDCB3"
|
||||
app:riv_border_width="1dp"/>
|
||||
app:riv_border_width="1dp"
|
||||
app:riv_corner_radius="360dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -54,23 +65,40 @@
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp"
|
||||
android:ellipsize="end"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="用户昵称哈哈哈"/>
|
||||
android:text="用户昵称哈哈哈"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/sub_win_score"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="@color/white_60"
|
||||
android:textSize="11sp"
|
||||
android:layout_gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="+10000"/>
|
||||
android:text="+10000"
|
||||
android:textColor="@color/white_60"
|
||||
android:textSize="11sp" />
|
||||
<ImageView
|
||||
android:id="@+id/winActivityIcon"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
android:src="@mipmap/ic_game_activity_rank_coin"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
@@ -80,7 +108,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="15dp"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:src="@mipmap/sub_vs"/>
|
||||
android:src="@mipmap/sub_vs" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="wrap_content"
|
||||
@@ -92,12 +120,12 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- <androidx.appcompat.widget.AppCompatImageView-->
|
||||
<!-- android:id="@+id/sub_loss_hat"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:src="@mipmap/sub_win_hat"-->
|
||||
<!-- android:layout_centerHorizontal="true"/>-->
|
||||
<!-- <androidx.appcompat.widget.AppCompatImageView-->
|
||||
<!-- android:id="@+id/sub_loss_hat"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:src="@mipmap/sub_win_hat"-->
|
||||
<!-- android:layout_centerHorizontal="true"/>-->
|
||||
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/sub_loss_head"
|
||||
@@ -105,9 +133,9 @@
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:scaleType="centerCrop"
|
||||
app:riv_corner_radius="360dp"
|
||||
app:riv_border_color="#FFFFDCB3"
|
||||
app:riv_border_width="1dp"/>
|
||||
app:riv_border_width="1dp"
|
||||
app:riv_corner_radius="360dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -116,23 +144,36 @@
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="@color/white"
|
||||
android:ellipsize="end"
|
||||
android:textSize="13sp"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text="用户昵称"/>
|
||||
|
||||
android:text="用户昵称"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp" />
|
||||
<LinearLayout
|
||||
android:layout_marginTop="10dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/sub_loss_score"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="@color/white_60"
|
||||
android:textSize="11sp"
|
||||
android:singleLine="true"
|
||||
android:text="+10000"/>
|
||||
android:text="+10000"
|
||||
android:textColor="@color/white_60"
|
||||
android:textSize="11sp" />
|
||||
<ImageView
|
||||
android:id="@+id/lossActivityIcon"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
android:src="@mipmap/ic_game_activity_rank_coin"
|
||||
android:layout_width="12dp"
|
||||
android:layout_height="12dp"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
@@ -142,32 +183,32 @@
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
android:gravity="center_vertical">
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_marginEnd="15dp"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="40dp">
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginEnd="15dp">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/sub_leave"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="40dp"
|
||||
android:src="@mipmap/sub_leave_zh"/>
|
||||
android:src="@mipmap/sub_leave_zh" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/sub_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:textColor="#FF5B5B5B"
|
||||
android:textSize="13sp"
|
||||
android:text="10"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:layout_marginTop="10dp"/>
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="10"
|
||||
android:textColor="#FF5B5B5B"
|
||||
android:textSize="13sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -176,7 +217,7 @@
|
||||
android:id="@+id/sub_again"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="40dp"
|
||||
android:src="@mipmap/sub_again_zh"/>
|
||||
android:src="@mipmap/sub_again_zh" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -184,10 +225,10 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="14dp"
|
||||
android:textSize="11sp"
|
||||
android:textColor="@color/white_60"
|
||||
android:singleLine="true"
|
||||
android:text="@string/sub_admission_fee"
|
||||
android:singleLine="true"/>
|
||||
android:textColor="@color/white_60"
|
||||
android:textSize="11sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user