| | |
| | | android:layout_height="match_parent" |
| | | android:layout_below="@+id/titleBar" |
| | | android:fillViewport="true" |
| | | android:visibility="visible"> |
| | | android:visibility="gone"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_above="@+id/bottom_button_container" |
| | | android:layout_below="@+id/titleBar" |
| | | android:orientation="vertical" |
| | | android:visibility="gone"> |
| | | android:visibility="visible"> |
| | | |
| | | <ScrollView |
| | | android:layout_width="match_parent" |
| | |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical"> |
| | | |
| | | <!-- 当前卡地址显示区域 --> |
| | | <!-- 卡片信息区域 --> |
| | | <androidx.cardview.widget.CardView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="12dp" |
| | | app:cardCornerRadius="8dp" |
| | | app:cardElevation="2dp"> |
| | | app:cardCornerRadius="6dp" |
| | | app:cardElevation="1dp"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:padding="16dp"> |
| | | android:padding="14dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="12dp" |
| | | android:text="卡号" |
| | | android:layout_marginBottom="10dp" |
| | | android:text="卡片信息" |
| | | android:textColor="@color/base_blue_bg" |
| | | android:textSize="18sp" |
| | | android:textSize="17sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_current_card_address" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:background="#F5F5F5" |
| | | android:padding="12dp" |
| | | android:text="--" |
| | | android:textColor="#333333" |
| | | android:textSize="16sp" |
| | | android:textIsSelectable="true" /> |
| | | |
| | | </LinearLayout> |
| | | </androidx.cardview.widget.CardView> |
| | | |
| | | <!-- 旧卡信息区域 --> |
| | | <androidx.cardview.widget.CardView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | app:cardCornerRadius="8dp" |
| | | app:cardElevation="2dp"> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:padding="16dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="12dp" |
| | | android:text="旧卡信息" |
| | | android:textColor="@color/base_blue_bg" |
| | | android:textSize="18sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <!-- 持卡人 --> |
| | | <!-- 新卡卡地址 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:background="#F8F9FA" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="12dp"> |
| | | android:padding="8dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="100dp" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="持卡人:" |
| | | android:text="新卡卡地址:" |
| | | android:textColor="#333333" |
| | | android:textSize="16sp" |
| | | android:textSize="15sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_current_card_address" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:background="#F5F5F5" |
| | | android:padding="8dp" |
| | | android:text="--" |
| | | android:textColor="#333333" |
| | | android:textSize="15sp" |
| | | android:textIsSelectable="true" /> |
| | | </LinearLayout> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1dp" |
| | | android:layout_marginTop="2dp" |
| | | android:background="@color/base_blue_bg" /> |
| | | <!-- 持卡人和卡片状态 - 同一行显示 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="2dp" |
| | | android:layout_marginBottom="1dp" |
| | | android:background="#FFFFFF" |
| | | android:orientation="horizontal" |
| | | android:padding="10dp"> |
| | | |
| | | <!-- 持卡人 --> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="持卡人" |
| | | android:textColor="#333333" |
| | | android:textSize="13sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_user_name" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="3dp" |
| | | android:text="--" |
| | | android:textColor="#666666" |
| | | android:textSize="15sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 卡片状态 --> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="卡片状态" |
| | | android:textColor="#333333" |
| | | android:textSize="13sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_card_status" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="3dp" |
| | | android:text="正常" |
| | | android:textColor="#4CAF50" |
| | | android:textSize="15sp" /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | |
| | | <!-- 卡号 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="1dp" |
| | | android:background="#F8F9FA" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="8dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="80dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="卡号:" |
| | | android:textColor="#333333" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_card_number" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="--" |
| | | android:textColor="#666666" |
| | | android:textSize="16sp" /> |
| | | android:textSize="14sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 卡片状态 --> |
| | | <!-- 客户编号 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | |
| | | android:background="#FFFFFF" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="12dp"> |
| | | android:padding="8dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="100dp" |
| | | android:layout_width="80dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="卡片状态:" |
| | | android:text="客户编号:" |
| | | android:textColor="#333333" |
| | | android:textSize="16sp" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_card_status" |
| | | android:id="@+id/tv_customer_id" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="正常" |
| | | android:textColor="#4CAF50" |
| | | android:textSize="16sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 卡内余额 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="1dp" |
| | | android:background="#F8F9FA" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="12dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="100dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="卡内余额:" |
| | | android:textColor="#333333" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_card_balance" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="0.00元" |
| | | android:textColor="#FF6B35" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" /> |
| | | android:text="--" |
| | | android:textColor="#666666" |
| | | android:textSize="14sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 手机号 --> |
| | |
| | | android:background="#FFFFFF" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="12dp"> |
| | | android:padding="8dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="100dp" |
| | | android:layout_width="80dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="手机号:" |
| | | android:textColor="#333333" |
| | | android:textSize="16sp" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | |
| | | android:layout_weight="1" |
| | | android:text="--" |
| | | android:textColor="#666666" |
| | | android:textSize="16sp" /> |
| | | android:textSize="14sp" /> |
| | | </LinearLayout> |
| | | <!-- 卡内余额 --> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="1dp" |
| | | android:background="#F8F9FA" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal" |
| | | android:padding="8dp"> |
| | | |
| | | <TextView |
| | | android:layout_width="80dp" |
| | | android:layout_height="wrap_content" |
| | | android:text="卡内余额:" |
| | | android:textColor="#333333" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_card_balance" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:text="0.00元" |
| | | android:textColor="#FF6B35" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | |
| | | android:elevation="4dp" |
| | | android:orientation="vertical" |
| | | android:padding="16dp" |
| | | android:visibility="gone"> |
| | | android:visibility="visible"> |
| | | |
| | | <!-- 支付方式选择区域 --> |
| | | <LinearLayout |
| | |
| | | android:layout_height="wrap_content" |
| | | android:orientation="horizontal" |
| | | android:layout_marginBottom="16dp"> |
| | | <!-- 返回金额输入 --> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_marginEnd="8dp" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="6dp" |
| | | android:text="返回金额(元)" |
| | | android:textColor="#333333" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_return_amount" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="48dp" |
| | | android:background="@drawable/edit_text_bg" |
| | | android:hint="返回金额" |
| | | android:inputType="numberDecimal" |
| | | android:padding="12dp" |
| | | android:text="" |
| | | android:textColor="#333333" |
| | | android:textColorHint="#999999" |
| | | android:textSize="16sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 工本费输入 --> |
| | | <LinearLayout |
| | |
| | | android:textSize="16sp" /> |
| | | </LinearLayout> |
| | | |
| | | <!-- 返回金额输入 --> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_marginStart="8dp" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginBottom="6dp" |
| | | android:text="返回金额(元)" |
| | | android:textColor="#333333" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" /> |
| | | |
| | | <EditText |
| | | android:id="@+id/et_return_amount" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="48dp" |
| | | android:background="@drawable/edit_text_bg" |
| | | android:hint="返回金额" |
| | | android:inputType="numberDecimal" |
| | | android:padding="12dp" |
| | | android:text="0" |
| | | android:textColor="#333333" |
| | | android:textColorHint="#999999" |
| | | android:textSize="16sp" /> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | |