左晓为主开发手持机充值管理机
zuoxiao
2023-11-16 682caa4cef47046184e860d86ebb8467c11e032f
app/src/main/res/layout/activity_new_card.xml
@@ -47,7 +47,8 @@
            <LinearLayout
                style="@style/newCardLL"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                android:layout_height="wrap_content"
                android:orientation="horizontal">
                <TextView
                    android:layout_width="wrap_content"
@@ -57,13 +58,21 @@
                <EditText
                    android:id="@+id/newCard_name"
                    android:layout_width="match_parent"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:textSize="@dimen/new_card_size" />
                <ImageView
                    android:id="@+id/newCard_scanBtn"
                    android:layout_width="45dp"
                    android:layout_height="45dp"
                    android:visibility="gone"
                    android:padding="10dp"
                    android:src="@mipmap/icon_scan" />
            </LinearLayout>
            <LinearLayout
                style="@style/newCardLL"
                android:layout_width="match_parent"
@@ -79,21 +88,29 @@
                    android:id="@+id/newCard_id"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:inputType="numberSigned"
                    android:digits="0123456789Xx"
                     android:maxLength="18"
                    android:inputType="numberSigned"
                    android:maxLength="18"
                    android:textSize="@dimen/new_card_size" />
            </LinearLayout>
            <TextView
                android:id="@+id/newCard_idTip"
                style="@style/newCardLL"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="扫描后请核对身份信息无误"
                android:textColor="#FF4500"
                android:visibility="gone" />
            <LinearLayout
                style="@style/newCardLL"
                android:visibility="gone"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                android:layout_height="wrap_content"
                android:visibility="gone">
                <TextView
                    android:layout_width="wrap_content"
@@ -130,10 +147,7 @@
                    android:layout_height="wrap_content"
                    android:inputType="number"
                    android:maxLength="11"
                    android:textSize="@dimen/new_card_size" />
            </LinearLayout>