You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
5.7 KiB
153 lines
5.7 KiB
<?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="wrap_content"
|
|
android:background="@drawable/dialog_background"
|
|
android:padding="16dp">
|
|
|
|
<!-- 关闭按钮 -->
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/closeButtonCard"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginEnd="2dp"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="2dp"
|
|
app:cardBackgroundColor="@color/white"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/buttonClose"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center_vertical"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless">
|
|
|
|
<ImageView
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:src="@drawable/ic_close"
|
|
android:layout_marginEnd="6dp"
|
|
android:contentDescription="关闭图标"
|
|
app:tint="@color/primary_text_color" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="关闭"
|
|
android:textColor="@color/primary_text_color"
|
|
android:textSize="14sp"
|
|
android:minWidth="24dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- 主内容容器 -->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
app:layout_constraintTop_toBottomOf="@+id/closeButtonCard"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<!-- Logo -->
|
|
<ImageView
|
|
android:layout_width="80dp"
|
|
android:layout_height="80dp"
|
|
android:src="@drawable/ic_warriors_logo"
|
|
android:layout_marginBottom="24dp"
|
|
android:contentDescription="Warriors Logo" />
|
|
|
|
<!-- 欢迎标题 -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="尊敬的Test门店"
|
|
android:textColor="@color/white"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="8dp" />
|
|
|
|
<!-- 欢迎副标题 -->
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="欢迎登录欧软智能场馆iPad端核销系统!"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp"
|
|
android:layout_marginBottom="32dp"
|
|
android:gravity="center" />
|
|
|
|
<!-- 选择平台标签 -->
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="请选择平台"
|
|
android:textColor="@color/white"
|
|
android:textSize="14sp"
|
|
android:layout_marginBottom="12dp" />
|
|
|
|
<!-- 平台选择下拉框 -->
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="32dp"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="2dp"
|
|
app:cardBackgroundColor="@color/white">
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerPlatform"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="52dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:background="@android:color/transparent"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<!-- 进入使用按钮 -->
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardCornerRadius="8dp"
|
|
app:cardElevation="0dp"
|
|
app:cardBackgroundColor="@android:color/transparent">
|
|
|
|
<TextView
|
|
android:id="@+id/buttonEnter"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:text="进入使用"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/white"
|
|
android:background="@drawable/enter_button_selector"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:focusable="true" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|