123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <?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="@drawable/bssdk_dialog"
- android:orientation="vertical"
- android:padding="1px">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_44DP"
- android:background="@drawable/bssdk_pay_dialog_top"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:text="蓝叠支付中心"
- android:textColor="@color/white" />
- <ImageView
- android:id="@+id/iv_pay_dialog_close"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_centerVertical="true"
- android:padding="@dimen/DIMEN_16DP"
- android:src="@drawable/bssdk_close_pay" />
- </RelativeLayout>
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbarStyle="outsideOverlay"
- android:scrollbars="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_12DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:gravity="center_vertical">
- <View
- android:layout_width="0dp"
- android:layout_height="1px"
- android:layout_weight="1"
- android:background="@color/line_bg" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/DIMEN_5DP"
- android:paddingRight="@dimen/DIMEN_5DP"
- android:text="支付详情"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <View
- android:layout_width="0dp"
- android:layout_height="1px"
- android:layout_weight="1"
- android:background="@color/line_bg" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:gravity="bottom"
- android:orientation="horizontal">
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="start|bottom"
- android:text="支付金额"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_14SP" />
- <TextView
- android:id="@+id/tv_pay_dialog_pay_money"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="end|bottom"
- android:text="500.00元"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_16SP" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/layout_pay_dialog_vouchers"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:visibility="visible">
- <TextView
- android:id="@+id/tv_pay_dialog_vouchers_name"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="start|center_vertical"
- android:hint="代金券"
- android:textColor="@color/alpha_50_white"
- android:textColorHint="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_14SP" />
- <TextView
- android:id="@+id/tv_pay_dialog_vouchers_money"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="end|center_vertical"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_16SP"
- tools:text="8" />
- <TextView
- android:id="@+id/tv_pay_dialog_vouchers_money2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_12DP"
- android:gravity="end|center_vertical"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_16SP"
- tools:text=".00元" />
- <TextView
- android:id="@+id/tv_pay_dialog_select"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:drawableEnd="@drawable/bssdk_pay_right"
- android:drawablePadding="@dimen/DIMEN_4DP"
- android:gravity="end|center_vertical"
- android:text="选择"
- android:textColor="@color/indicator_color"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:gravity="center_vertical"
- android:orientation="horizontal">
- <View
- android:layout_width="0dp"
- android:layout_height="1px"
- android:layout_weight="1"
- android:background="@color/line_bg" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="@dimen/DIMEN_5DP"
- android:paddingRight="@dimen/DIMEN_5DP"
- android:text="支付方式"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <View
- android:layout_width="0dp"
- android:layout_height="1px"
- android:layout_weight="1"
- android:background="@color/line_bg" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginBottom="@dimen/DIMEN_10DP"
- android:gravity="center">
- <ProgressBar
- android:id="@+id/pb_pay_dialog_type_loading"
- style="?android:attr/progressBarStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:indeterminateDrawable="@drawable/bssdk_dialog_loading_bg"
- android:visibility="visible" />
- <com.bluestacks.sdk.widget.customview.GiridViewForScrollView
- android:id="@+id/gv_pay_dialog_type"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:fadeScrollbars="false"
- android:listSelector="@color/transparent"
- android:numColumns="3"
- android:scrollbars="none"
- android:stretchMode="columnWidth"
- android:verticalSpacing="@dimen/DIMEN_10DP"
- android:visibility="gone"
- tools:listitem="@layout/bssdk_item_pay_center_body" />
- </LinearLayout>
- <Button
- android:id="@+id/btn_pay_dialog_pay"
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_40DP"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:background="@drawable/bssdk_btn_login_bg"
- android:enabled="false"
- android:text="确认支付%s元"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_14SP" />
- <TextView
- android:id="@+id/btn_pay_dialog_customer_service"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:gravity="end"
- android:paddingTop="@dimen/DIMEN_7DP"
- android:paddingBottom="@dimen/DIMEN_7DP"
- android:text="客服QQ:3033957406"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_10SP" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </LinearLayout>
|