fragment_apply_replacecard.xml 5 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/bgColor"
    android:orientation="vertical"
    tools:context="com.shunzhi.parent.ui.fragment.ReportFragment">
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white"
        android:visibility="gone">

        <TextView
            android:id="@+id/tvNoData"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:background="@drawable/baogao_back"
            android:lineSpacingExtra="@dimen/size_dp_5"
            android:textColor="@color/xueqing_blue"
            android:textSize="@dimen/size_dp_16" />
    </RelativeLayout>


    <LinearLayout
        android:layout_marginTop="@dimen/margin_tiny"
        android:layout_marginLeft="@dimen/margin_24"
        android:layout_marginRight="@dimen/margin_24"
        android:layout_width="match_parent"
        android:layout_height="170dp"
        android:background="@drawable/report_white"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="2"
            android:gravity="center"
            android:background="@drawable/report_white"
            android:orientation="horizontal">

            <TextView
                android:layout_weight="1.2"
                android:id="@+id/tv_carduser"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:paddingLeft="@dimen/margin_small"
                android:text="补卡人:"
                android:textColor="@color/hintTextColor"
                android:textSize="@dimen/textSize16" />

            <TextView
                android:id="@+id/et_carduser"
                android:layout_weight="2.8"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_margin="@dimen/dp_8"
                android:gravity="center"
                android:text="张三"
                android:textColor="@color/hintTextColor"
                android:textSize="@dimen/textSize16" />
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="2"
            android:gravity="center"
            android:orientation="horizontal">

            <TextView
                android:id="@+id/tv_cardnum"
                android:layout_weight="1.2"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:paddingLeft="@dimen/margin_small"
                android:text="卡号:"
                android:textColor="@color/hintTextColor"
                android:textSize="@dimen/textSize16" />

            <EditText
                android:id="@+id/et_cardnum"
                android:layout_weight="2.8"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_margin="@dimen/dp_8"
                android:gravity="center"
                android:background="@null"
                android:text=""
                android:textColor="@color/hintTextColor"
                android:textSize="@dimen/textSize16" />

        </LinearLayout>

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="1dp"
        android:background="@color/bg_gray_pressed"/>

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="0dp"
            android:layout_margin="10dp"
            android:layout_weight="2"
            android:orientation="horizontal">

            <Button
                android:id="@+id/bt_sure"
                android:layout_width="80dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/dp_40"
                android:layout_alignParentLeft="true"
                android:text="确定"
                android:textColor="@color/white"
                android:textSize="@dimen/textSize16"
                android:background="@drawable/button_shape"/>

            <Button
                android:id="@+id/bt_cancle"
                android:layout_width="80dp"
                android:layout_height="wrap_content"
                android:layout_marginRight="@dimen/dp_40"
                android:layout_alignParentRight="true"
                android:text="取消"
                android:textColor="@color/white"
                android:textSize="@dimen/textSize16"
                android:background="@drawable/button_shape"/>
        </RelativeLayout>
    </LinearLayout>
</LinearLayout>