123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392 |
- <?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/main_color"
- android:orientation="vertical">
- <!--app:divider="@drawable/bssdk_slidingview_line"-->
- <!--app:showDividers="middle"-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_45DP"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_15DP"
- android:paddingRight="@dimen/DIMEN_15DP">
- <TextView
- android:id="@+id/tv_pay_center_back"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:drawableStart="@drawable/bssdk_left_arrow"
- android:drawableLeft="@drawable/bssdk_left_arrow"
- android:drawablePadding="@dimen/DIMEN_5DP"
- android:gravity="center"
- android:text="返回"
- android:textColor="@color/indicator_color" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="蓝叠币充值中心"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_15SP" />
- <TextView
- android:id="@+id/tv_pay_record"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="充值记录"
- android:textColor="@color/indicator_color" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="2px"
- android:background="@drawable/bssdk_slidingview_line" />
- <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">
- <!--app:divider="@drawable/bssdk_slidingview_line"-->
- <!--app:showDividers="middle"-->
- <LinearLayout
- android:id="@+id/ll_pay_center_userid"
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_32DP"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:text="用户ID"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <com.bluestacks.sdk.widget.customview.BSMarqueeText
- android:id="@+id/tv_pay_center_userid"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ellipsize="marquee"
- android:gravity="end|center_vertical"
- android:marqueeRepeatLimit="marquee_forever"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/bssdk_right_arrow"
- android:visibility="invisible" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="@drawable/bssdk_slidingview_line" />
- <LinearLayout
- android:id="@+id/ll_pay_center_money"
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_32DP"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:text="蓝叠币"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:id="@+id/tv_pay_center_money"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:layout_weight="1"
- android:gravity="end|center_vertical"
- android:text="@string/bssdk_center_pay_text"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/bssdk_right_arrow"
- android:visibility="invisible" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="@drawable/bssdk_slidingview_line" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:orientation="vertical"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:text="支付方式"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="@dimen/DIMEN_5DP"
- android:gravity="center"
- android:orientation="horizontal"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ProgressBar
- android:id="@+id/pb_pay_center_type_loading"
- style="?android:attr/progressBarStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:indeterminateDrawable="@drawable/bssdk_dialog_loading_bg"
- android:visibility="visible"
- tools:visibility="gone" />
- <com.bluestacks.sdk.widget.customview.GiridViewForScrollView
- android:id="@+id/gv_pay_center_type"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginEnd="@dimen/DIMEN_9DP"
- android:layout_marginRight="@dimen/DIMEN_9DP"
- 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"
- tools:visibility="visible" />
- </RelativeLayout>
- <!--<RelativeLayout-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginLeft="@dimen/DIMEN_30DP">-->
- <!--<TextView-->
- <!--android:id="@+id/tv_pay_center_wechat"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="@dimen/DIMEN_4DP"-->
- <!--android:drawablePadding="@dimen/DIMEN_2DP"-->
- <!--android:drawableTop="@drawable/bssdk_wechat_logo"-->
- <!--android:paddingLeft="@dimen/DIMEN_7DP"-->
- <!--android:paddingRight="@dimen/DIMEN_7DP"-->
- <!--android:text="微信支付"-->
- <!--android:textColor="@color/alpha_50_white"-->
- <!--android:textSize="@dimen/TEXT_SIZE_12SP"-->
- <!--android:visibility="visible"/>-->
- <!--<TextView-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:background="@drawable/bssdk_price_discount"-->
- <!--android:paddingBottom="@dimen/DIMEN_2DP"-->
- <!--android:paddingLeft="@dimen/DIMEN_5DP"-->
- <!--android:paddingRight="@dimen/DIMEN_5DP"-->
- <!--android:paddingTop="@dimen/DIMEN_2DP"-->
- <!--android:text="1.1折"-->
- <!--android:textColor="@color/text_color_fd412f"-->
- <!--android:textSize="@dimen/TEXT_SIZE_8SP"-->
- <!--android:visibility="gone"-->
- <!--tools:visibility="visible"/>-->
- <!--</RelativeLayout>-->
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="@drawable/bssdk_slidingview_line" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_10DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:text="充值蓝叠币数量"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ProgressBar
- android:id="@+id/pb_pay_center_loading"
- style="?android:attr/progressBarStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:indeterminateDrawable="@drawable/bssdk_dialog_loading_bg"
- android:visibility="visible"
- tools:visibility="gone" />
- <com.bluestacks.sdk.widget.customview.GiridViewForScrollView
- android:id="@+id/gv_pay_center"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/DIMEN_10DP"
- android:layout_marginEnd="@dimen/DIMEN_9DP"
- android:layout_marginRight="@dimen/DIMEN_9DP"
- android:fadeScrollbars="false"
- android:focusable="true"
- android:listSelector="@drawable/bssdk_item_bg_selector"
- 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"
- tools:visibility="visible" />
- </RelativeLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="@drawable/bssdk_slidingview_line" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_32DP"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingStart="@dimen/DIMEN_19DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingEnd="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:gravity="center_vertical"
- android:text="充值数量"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <EditText
- android:id="@+id/et_pay_center_price"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:layout_weight="1"
- android:background="@null"
- android:focusable="true"
- android:gravity="center_vertical"
- android:imeOptions="actionDone"
- android:hint="请输入正确的充值数量"
- android:inputType="number"
- android:maxLength="8"
- android:textColor="@color/white"
- android:textColorHint="@color/alpha_50_white"
- android:textCursorDrawable="@drawable/bssdk_text_cursor_drawable"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_marginEnd="@dimen/DIMEN_10DP"
- android:layout_marginRight="@dimen/DIMEN_10DP"
- android:gravity="center_vertical"
- android:text="蓝叠币"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:background="@drawable/bssdk_slidingview_line" />
- <Button
- android:id="@+id/btn_pay_center_confirm"
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_40DP"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:layout_marginTop="@dimen/DIMEN_35DP"
- android:layout_marginRight="@dimen/DIMEN_20DP"
- android:layout_marginBottom="@dimen/DIMEN_20DP"
- android:background="@drawable/bssdk_btn_login_bg"
- android:enabled="false"
- android:text="@string/bssdk_confirm_payment_price_text"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_14SP" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </LinearLayout>
|