左晓为主开发手持机充值管理机
zuoxiao
2024-07-13 d08a5a6d062f1568aaeb14d2d72357826291ef97
qihealonelibrary/src/main/res/layout/activity_recharge_qha.xml
@@ -48,10 +48,31 @@
        android:padding="20dp"
        android:visibility="gone">
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="卡状态:"
                android:textSize="@dimen/text_size" />
            <TextView
                android:id="@+id/red_statu"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textColor="@color/red"
                android:textSize="@dimen/new_card_size" />
        </LinearLayout>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:orientation="horizontal">
            <TextView
@@ -93,7 +114,8 @@
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:orientation="horizontal">
            android:orientation="horizontal"
            android:visibility="visible">
            <TextView
@@ -109,12 +131,14 @@
                android:textSize="@dimen/new_card_size" />
        </LinearLayout>
        <TextView
            android:id="@+id/red_remainder_water"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="剩余水量:"
            android:visibility="gone"
            android:textSize="@dimen/text_size" />
        <TextView
@@ -125,7 +149,14 @@
            android:text="最后购水日期:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
        <TextView
            android:id="@+id/red_rechargeElectric"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:text="电量单价:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
        <TextView
            android:id="@+id/red_rechargeNumber"
            android:layout_width="match_parent"
@@ -133,7 +164,7 @@
            android:layout_marginTop="15dp"
            android:text="充值次数:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
            android:visibility="gone" />
        <TextView
            android:id="@+id/red_total_water"
@@ -142,7 +173,7 @@
            android:layout_marginTop="15dp"
            android:text="总用水量:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
            android:visibility="gone" />
        <TextView
            android:id="@+id/red_total_power"
@@ -151,51 +182,59 @@
            android:layout_marginTop="15dp"
            android:text="总用电量:"
            android:textSize="@dimen/text_size"
            android:visibility="visible" />
            android:visibility="gone" />
        <LinearLayout
        <TextView
            android:id="@+id/red_waterPrice"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:orientation="horizontal">
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="卡状态:"
                android:textSize="@dimen/text_size" />
            <TextView
                android:id="@+id/red_statu"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:textSize="@dimen/new_card_size" />
        </LinearLayout>
            android:text="每立方米水价格:"
            android:textSize="@dimen/text_size"
            android:visibility="gone" />
        <LinearLayout
            android:id="@+id/recharge_LL"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:orientation="horizontal">
            android:orientation="vertical">
            <TextView
                android:id="@+id/recharge_tx"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="金额(元):"
                android:textColor="@color/red"
                android:textSize="@dimen/new_card_size" />
            <EditText
                android:id="@+id/recharge_water"
                android:id="@+id/red_recharge_water"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:hint="请输入充值的金额"
                android:inputType="numberDecimal"
                android:textSize="@dimen/new_card_size" />
                android:layout_marginTop="15dp"
                android:text="充值水量:"
                android:textSize="@dimen/text_size"
                android:visibility="gone" />
            <LinearLayout
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:orientation="horizontal">
                <TextView
                    android:id="@+id/recharge_tx"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="金额(元):"
                    android:textColor="@color/red"
                    android:textSize="@dimen/new_card_size" />
                <EditText
                    android:id="@+id/recharge_water"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:hint="请输入充值的金额"
                    android:inputType="numberDecimal"
                    android:textSize="@dimen/new_card_size" />
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>
@@ -204,11 +243,11 @@
        android:id="@+id/recharge_registBtn"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:visibility="gone"
        android:layout_alignParentBottom="true"
        android:background="@color/title_bg"
        android:gravity="center"
        android:text="充值"
        android:textColor="#000000"
        android:textSize="@dimen/new_card_size" />
        android:textSize="@dimen/new_card_size"
        android:visibility="gone" />
</RelativeLayout>