<?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="match_parent"
|
android:background="@color/white">
|
|
|
<com.dayu.baselibrary.view.TitleBar
|
android:id="@+id/titleBar"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/dimen_title_height"
|
android:background="@color/title_bar_bg"
|
android:elevation="4dp"
|
app:centerText="制卡"
|
tools:ignore="MissingConstraints" />
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:fillViewport="true"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/titleBar">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="12dp">
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_newCard"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="12dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toStartOf="@+id/home_redCard"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_add" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="开卡"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_recharge"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="12dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:visibility="gone"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_recharge" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="充值"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_redCard"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="12dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@+id/home_newCard"
|
app:layout_constraintTop_toTopOf="parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_read" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="读卡"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_loss"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toStartOf="@+id/home_replacement"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/home_newCard">
|
|
<LinearLayout
|
android:id="@+id/home_loss_LL"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_report" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="挂失"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<TextView
|
android:id="@+id/home_reportLoss"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:text="解除挂失"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp"
|
android:visibility="gone"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_replacement"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@+id/home_loss"
|
app:layout_constraintTop_toBottomOf="@+id/home_redCard">
|
|
<LinearLayout
|
android:id="@+id/home_replaceLL"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_replacement" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="解挂、补卡"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_reverse"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toStartOf="@+id/home_deduction"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/home_replacement">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/chongzheng" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="冲正"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_deduction"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@+id/home_reverse"
|
app:layout_constraintTop_toBottomOf="@+id/home_replacement">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/bukou" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="补扣"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_rewrite"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintEnd_toStartOf="@+id/home_manage"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@+id/home_reverse">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/fanxie" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="反写"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
android:id="@+id/home_manage"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="6dp"
|
android:layout_marginTop="16dp"
|
android:layout_marginEnd="6dp"
|
android:layout_marginBottom="12dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="10dp"
|
app:cardElevation="3dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toEndOf="@+id/home_rewrite"
|
app:layout_constraintTop_toBottomOf="@+id/home_deduction"
|
app:layout_constraintVertical_bias="0.0">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="12dp">
|
|
<ImageView
|
android:layout_width="55dp"
|
android:layout_height="55dp"
|
android:src="@drawable/home_system" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="6dp"
|
android:gravity="center"
|
android:text="制作管理卡"
|
android:textColor="@color/text_selecter_color"
|
android:textSize="14sp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
</ScrollView>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|