fragment_mycard.xml 4 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:background="@color/payment_common_bg" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:minWidth="293dp"
        android:orientation="vertical" >

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@drawable/header_tip_bg"
            android:gravity="center_vertical"
            android:paddingLeft="10dp"
            android:text="@string/card_input_tip"
            android:textColor="@color/black_text" />

        <LinearLayout
            android:id="@+id/card_input_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:layout_marginTop="10dp"
            android:orientation="vertical" >

            <EditText
                android:id="@+id/card_no"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:background="@drawable/et_bg"
                android:hint="@string/mol_card_hint" />

            <EditText
                android:id="@+id/card_pwd"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="13dp"
                android:background="@drawable/et_bg"
                android:hint="@string/mol_pass_hint" />
        </LinearLayout>

        <Button
            android:id="@+id/start_pay"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:layout_marginTop="16dp"
            android:background="@drawable/btn_orange_bg"
            android:text="@string/pay_ok"
            android:textColor="@android:color/white"
            android:textSize="16sp" />

        <Button
            android:id="@+id/wallet"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:layout_marginTop="10dp"
            android:background="@drawable/btn_wallet_bg"
            android:text="@string/title_mycard_member"
            android:textSize="15sp" />

        <Button
            android:id="@+id/billing"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="15dp"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:layout_marginTop="10dp"
            android:background="@drawable/btn_wallet_bg"
            android:text="@string/title_mycard_billing"
            android:textSize="15sp" />

        <TextView
            android:id="@+id/summary_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:background="@color/summary_bg"
            android:paddingLeft="10dp"
            android:textColor="@color/black_text"
            android:textSize="12sp" />

        <TextView
            android:id="@+id/summary"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="10dp"
            android:layout_marginLeft="13dp"
            android:layout_marginRight="13dp"
            android:background="@color/summary_bg"
            android:padding="10dp"
            android:textColor="@color/black_text"
            android:textSize="11sp" />
    </LinearLayout>

</ScrollView>