aiqu_deduction_pay_header.xml 2.1 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools">

    <RelativeLayout
        android:id="@+id/charge_rl_deduction"
        android:layout_width="match_parent"
        android:padding="8dp"
        android:layout_height="40dp">

        <TextView
            android:id="@+id/tv_deduction_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:text="抵用券"
            android:textColor="#333"
            android:textStyle="bold"
            android:textSize="13sp"/>

        <TextView
            android:id="@+id/tv_deduction_count"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="5dp"
            android:paddingLeft="2dp"
            android:paddingRight="2dp"
            android:textColor="@color/white"
            android:textSize="10sp"
            android:background="@drawable/new_down_bg1"
            tools:text="10张可用"
            android:layout_toRightOf="@+id/tv_deduction_name"/>

        <TextView
            android:id="@+id/tv_deduction_money"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_toLeftOf="@+id/iv_indicator"
            android:layout_marginRight="1dp"
            android:text="选择抵用券"
            android:textStyle="bold"
            android:textColor="#333"
            android:textSize="13sp"/>

        <ImageView
            android:id="@+id/iv_indicator"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_alignParentRight="true"
            android:src="@drawable/aiqu_down"/>

    </RelativeLayout>
</LinearLayout>