| | |
| | | android:layout_marginStart="16dp" |
| | | android:layout_marginTop="24dp" |
| | | android:layout_marginEnd="16dp" |
| | | android:layout_marginBottom="80dp" |
| | | android:layout_marginBottom="24dp" |
| | | app:cardBackgroundColor="@android:color/white" |
| | | app:cardCornerRadius="12dp" |
| | | app:cardElevation="4dp" |
| | | app:layout_constraintBottom_toTopOf="@id/btnConfirm" |
| | | app:layout_constraintBottom_toTopOf="@id/buttonContainer" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/titleBar"> |
| | | |
| | | <LinearLayout |
| | | <ScrollView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | android:padding="32dp"> |
| | | android:fillViewport="true"> |
| | | |
| | | <ImageView |
| | | android:id="@+id/successIcon" |
| | | android:layout_width="150dp" |
| | | android:layout_height="150dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/icon_success" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/successTitle" |
| | | android:layout_width="wrap_content" |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="24dp" |
| | | android:text="写卡成功" |
| | | android:textColor="#4CAF50" |
| | | android:textSize="24sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/successMessage" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="16dp" |
| | | android:gravity="center" |
| | | android:text="卡片信息已成功写入\n请妥善保管您的卡片" |
| | | android:textColor="#666666" |
| | | android:textSize="16sp" |
| | | android:lineSpacingExtra="4dp" /> |
| | | android:orientation="vertical" |
| | | android:padding="24dp" |
| | | android:minHeight="300dp"> |
| | | |
| | | </LinearLayout> |
| | | <ImageView |
| | | android:id="@+id/successIcon" |
| | | android:layout_width="120dp" |
| | | android:layout_height="120dp" |
| | | android:scaleType="fitCenter" |
| | | android:src="@drawable/icon_success" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/successTitle" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="20dp" |
| | | android:text="写卡成功" |
| | | android:textColor="#4CAF50" |
| | | android:textSize="22sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/successMessage" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="12dp" |
| | | android:gravity="center" |
| | | android:text="卡片信息已成功写入\n请妥善保管您的卡片" |
| | | android:textColor="#666666" |
| | | android:textSize="15sp" |
| | | android:lineSpacingExtra="4dp" /> |
| | | |
| | | </LinearLayout> |
| | | </ScrollView> |
| | | </androidx.cardview.widget.CardView> |
| | | |
| | | <Button |
| | | android:id="@+id/btnConfirm" |
| | | <LinearLayout |
| | | android:id="@+id/buttonContainer" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginStart="32dp" |
| | | android:layout_marginEnd="32dp" |
| | | android:layout_marginBottom="24dp" |
| | | android:background="@drawable/bg_button_primary" |
| | | android:text="确定" |
| | | android:textColor="@android:color/white" |
| | | android:textSize="18sp" |
| | | android:textStyle="bold" |
| | | android:orientation="vertical" |
| | | android:paddingStart="32dp" |
| | | android:paddingEnd="32dp" |
| | | android:paddingBottom="24dp" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toStartOf="parent" /> |
| | | app:layout_constraintStart_toStartOf="parent"> |
| | | |
| | | <Button |
| | | android:id="@+id/btnReprint" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="44dp" |
| | | android:layout_marginBottom="12dp" |
| | | android:background="@drawable/bg_button_outline_selector" |
| | | android:text="再次打印" |
| | | android:textColor="#2196F3" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <Button |
| | | android:id="@+id/btnConfirm" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="48dp" |
| | | android:background="@drawable/bg_button_primary" |
| | | android:text="确定" |
| | | android:textColor="@android:color/white" |
| | | android:textSize="18sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | </LinearLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |