564 lines
29 KiB
XML
564 lines
29 KiB
XML
|
|
<?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"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@drawable/bg_fishpond_gradient"
|
||
|
|
android:paddingTop="18dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/titleText"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="FishPond"
|
||
|
|
android:textColor="#F4EFFF"
|
||
|
|
android:textSize="22sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/topCard"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:layout_marginStart="16dp"
|
||
|
|
android:layout_marginEnd="16dp"
|
||
|
|
android:layout_marginTop="14dp"
|
||
|
|
android:background="@drawable/bg_white_16"
|
||
|
|
android:paddingStart="14dp"
|
||
|
|
android:paddingEnd="14dp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/titleText">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/leftInfo"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="剩余匹配"
|
||
|
|
android:textColor="#666666"
|
||
|
|
android:textSize="12sp"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/leftCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:text="50 人"
|
||
|
|
android:textColor="@color/purple_500"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/leftInfo" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rightInfo"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="真诚 | 南宁 | 在线"
|
||
|
|
android:textColor="#666666"
|
||
|
|
android:textSize="12sp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rightName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:text="陈亚楠"
|
||
|
|
android:textColor="@color/purple_500"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/rightInfo" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:id="@+id/orbitContainer"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="0dp"
|
||
|
|
android:layout_marginTop="18dp"
|
||
|
|
android:layout_marginBottom="12dp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/topCard"
|
||
|
|
app:layout_constraintBottom_toTopOf="@id/quickActions">
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="360dp"
|
||
|
|
android:layout_height="360dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/bg_orbit_ring" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/centerButton"
|
||
|
|
android:layout_width="92dp"
|
||
|
|
android:layout_height="92dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/bg_purple_circle"
|
||
|
|
android:padding="22dp"
|
||
|
|
android:src="@drawable/ic_home_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="72dp"
|
||
|
|
android:layout_height="72dp"
|
||
|
|
android:layout_gravity="top|center_horizontal"
|
||
|
|
android:layout_marginTop="26dp"
|
||
|
|
android:background="@drawable/bg_avatar_ring"
|
||
|
|
android:src="@drawable/ic_account_circle_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="72dp"
|
||
|
|
android:layout_height="72dp"
|
||
|
|
android:layout_gravity="center_vertical|start"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:background="@drawable/bg_avatar_ring"
|
||
|
|
android:src="@drawable/ic_account_circle_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="72dp"
|
||
|
|
android:layout_height="72dp"
|
||
|
|
android:layout_gravity="center_vertical|end"
|
||
|
|
android:layout_marginEnd="20dp"
|
||
|
|
android:background="@drawable/bg_avatar_ring"
|
||
|
|
android:src="@drawable/ic_account_circle_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="72dp"
|
||
|
|
android:layout_height="72dp"
|
||
|
|
android:layout_gravity="bottom|start"
|
||
|
|
android:layout_marginStart="72dp"
|
||
|
|
android:layout_marginBottom="26dp"
|
||
|
|
android:background="@drawable/bg_avatar_ring"
|
||
|
|
android:src="@drawable/ic_account_circle_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="72dp"
|
||
|
|
android:layout_height="72dp"
|
||
|
|
android:layout_gravity="bottom|end"
|
||
|
|
android:layout_marginEnd="72dp"
|
||
|
|
android:layout_marginBottom="26dp"
|
||
|
|
android:background="@drawable/bg_avatar_ring"
|
||
|
|
android:src="@drawable/ic_account_circle_24" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/floatingMenu"
|
||
|
|
android:layout_width="44dp"
|
||
|
|
android:layout_height="44dp"
|
||
|
|
android:layout_gravity="bottom|end"
|
||
|
|
android:layout_marginEnd="18dp"
|
||
|
|
android:layout_marginBottom="18dp"
|
||
|
|
android:background="@drawable/bg_white_circle"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_grid_24" />
|
||
|
|
|
||
|
|
</FrameLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:id="@+id/quickActions"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="16dp"
|
||
|
|
android:layout_marginEnd="16dp"
|
||
|
|
android:layout_marginBottom="0dp"
|
||
|
|
app:cardBackgroundColor="@android:color/transparent"
|
||
|
|
app:cardCornerRadius="18dp"
|
||
|
|
app:cardElevation="0dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/orbitContainer"
|
||
|
|
app:layout_constraintBottom_toTopOf="@id/bottomAppBar">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="10dp">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/actionLeft"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="44dp"
|
||
|
|
android:background="@drawable/bg_pill_left"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:foreground="?attr/selectableItemBackground"
|
||
|
|
android:paddingStart="14dp"
|
||
|
|
android:paddingEnd="14dp"
|
||
|
|
app:layout_constraintEnd_toStartOf="@id/actionRight"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/actionLeftIcon"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:src="@drawable/ic_voice_24"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/actionLeftText"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:text="语音 ~ 匹配 ~"
|
||
|
|
android:textColor="#9C27B0"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/actionLeftIcon"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/actionRight"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="44dp"
|
||
|
|
android:layout_marginStart="12dp"
|
||
|
|
android:background="@drawable/bg_pill_right"
|
||
|
|
android:clickable="true"
|
||
|
|
android:focusable="true"
|
||
|
|
android:foreground="?attr/selectableItemBackground"
|
||
|
|
android:paddingStart="14dp"
|
||
|
|
android:paddingEnd="14dp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/actionLeft"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/actionRightIcon"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:src="@drawable/ic_heart_24"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/actionRightText"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:text="心动信号 ~"
|
||
|
|
android:textColor="#E91E63"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/actionRightIcon"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<GridLayout
|
||
|
|
android:id="@+id/grid"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:columnCount="3"
|
||
|
|
android:rowCount="2"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/actionLeft">
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="6dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i1"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_heart_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="在线处对象"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i1"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i2"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_game_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="找人玩游戏"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i2"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i3"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_ktv_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="一起KTV"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i3"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i4"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_palette_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="你画我猜"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i4"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i5"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_crosshair_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="和平精英"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i5"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<com.google.android.material.card.MaterialCardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="88dp"
|
||
|
|
android:layout_columnWeight="1"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
app:cardUseCompatPadding="false"
|
||
|
|
app:cardBackgroundColor="#E6FFFFFF">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="8dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/i6"
|
||
|
|
android:layout_width="42dp"
|
||
|
|
android:layout_height="42dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/bg_diamond_rounded"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:src="@drawable/ic_bottle_24"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginBottom="8dp"
|
||
|
|
android:layout_marginTop="6dp"
|
||
|
|
android:includeFontPadding="false"
|
||
|
|
android:text="桌子游戏"
|
||
|
|
android:textColor="#333333"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/i6"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
</GridLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</com.google.android.material.card.MaterialCardView>
|
||
|
|
|
||
|
|
<include
|
||
|
|
android:id="@+id/bottomNavInclude"
|
||
|
|
layout="@layout/include_bottom_nav"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/quickActions"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent" />
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|