Commit 09d4c173fb677e24e85fd5dac30d72814d30a3e7
更新到3.0.0
剔除原生支付内容,删除第三方支付sdk 统一改为web支付 统计等增加sdk_ver参数
Showing 156 changed files with 20 additions and 1940 deletions Side-by-side Diff
- android/GameSDKRelease/assets/upay_app_info.txt
- android/GameSDKRelease/libs/Easy2PaySDK_1_1_0_4.jar
- android/GameSDKRelease/libs/GameSDK_v2.5.4_proguard.jar
- android/GameSDKRelease/libs/GameSDK_v3.0.0_proguard.jar
- android/GameSDKRelease/libs/PayPalAndroidSDK.jar
- android/GameSDKRelease/libs/Upay_Sdk_2.0.jar
- android/GameSDKRelease/libs/armeabi-v7a/libcardioDecider.so
- android/GameSDKRelease/libs/armeabi-v7a/libcardioRecognizer.so
- android/GameSDKRelease/libs/armeabi-v7a/libcardioRecognizer_tegra2.so
- android/GameSDKRelease/libs/armeabi-v7a/libopencv_core.so
- android/GameSDKRelease/libs/armeabi-v7a/libopencv_imgproc.so
- android/GameSDKRelease/libs/armeabi/libcardioDecider.so
- android/GameSDKRelease/libs/codasdk.jar
- android/GameSDKRelease/libs/mips/libcardioDecider.so
- android/GameSDKRelease/libs/x86/libcardioDecider.so
- android/GameSDKRelease/res/color/item_card_choice_text.xml
- android/GameSDKRelease/res/drawable-hdpi/choice_box_bg.png
- android/GameSDKRelease/res/drawable-hdpi/header_tip_bg.png
- android/GameSDKRelease/res/drawable-hdpi/ic_arrow_down.png
- android/GameSDKRelease/res/drawable-hdpi/ic_arrow_up.png
- android/GameSDKRelease/res/drawable-hdpi/logo_12call.png
- android/GameSDKRelease/res/drawable-hdpi/logo_boa.png
- android/GameSDKRelease/res/drawable-hdpi/logo_cherry.png
- android/GameSDKRelease/res/drawable-hdpi/logo_coda.png
- android/GameSDKRelease/res/drawable-hdpi/logo_e2p.png
- android/GameSDKRelease/res/drawable-hdpi/logo_fpt.png
- android/GameSDKRelease/res/drawable-hdpi/logo_globe.png
- android/GameSDKRelease/res/drawable-hdpi/logo_gp.png
- android/GameSDKRelease/res/drawable-hdpi/logo_indomog.png
- android/GameSDKRelease/res/drawable-hdpi/logo_mgc.png
- android/GameSDKRelease/res/drawable-hdpi/logo_mol.png
- android/GameSDKRelease/res/drawable-hdpi/logo_mol_global.png
- android/GameSDKRelease/res/drawable-hdpi/logo_mycard.png
- android/GameSDKRelease/res/drawable-hdpi/logo_ngan.png
- android/GameSDKRelease/res/drawable-hdpi/logo_onc.png
- android/GameSDKRelease/res/drawable-hdpi/logo_paypal.png
- android/GameSDKRelease/res/drawable-hdpi/logo_rixty.png
- android/GameSDKRelease/res/drawable-hdpi/logo_tm.png
- android/GameSDKRelease/res/drawable-hdpi/logo_vms.png
- android/GameSDKRelease/res/drawable-hdpi/logo_vnp.png
- android/GameSDKRelease/res/drawable-hdpi/logo_vtt.png
- android/GameSDKRelease/res/drawable-hdpi/logo_yandex.png
- android/GameSDKRelease/res/drawable-hdpi/logo_zest.png
- android/GameSDKRelease/res/drawable-hdpi/pay_title_bg.png
- android/GameSDKRelease/res/drawable-hdpi/split_vertical.png
- android/GameSDKRelease/res/drawable-mdpi/choice_box_bg.png
- android/GameSDKRelease/res/drawable-mdpi/header_tip_bg.png
- android/GameSDKRelease/res/drawable-mdpi/ic_arrow_down.png
- android/GameSDKRelease/res/drawable-mdpi/ic_arrow_up.png
- android/GameSDKRelease/res/drawable-mdpi/logo_12call.png
- android/GameSDKRelease/res/drawable-mdpi/logo_boa.png
- android/GameSDKRelease/res/drawable-mdpi/logo_cherry.png
- android/GameSDKRelease/res/drawable-mdpi/logo_coda.png
- android/GameSDKRelease/res/drawable-mdpi/logo_e2p.png
- android/GameSDKRelease/res/drawable-mdpi/logo_fpt.png
- android/GameSDKRelease/res/drawable-mdpi/logo_globe.png
- android/GameSDKRelease/res/drawable-mdpi/logo_gp.png
- android/GameSDKRelease/res/drawable-mdpi/logo_indomog.png
- android/GameSDKRelease/res/drawable-mdpi/logo_mgc.png
- android/GameSDKRelease/res/drawable-mdpi/logo_mol.png
- android/GameSDKRelease/res/drawable-mdpi/logo_mol_global.png
- android/GameSDKRelease/res/drawable-mdpi/logo_mycard.png
- android/GameSDKRelease/res/drawable-mdpi/logo_ngan.png
- android/GameSDKRelease/res/drawable-mdpi/logo_onc.png
- android/GameSDKRelease/res/drawable-mdpi/logo_paypal.png
- android/GameSDKRelease/res/drawable-mdpi/logo_rixty.png
- android/GameSDKRelease/res/drawable-mdpi/logo_tm.png
- android/GameSDKRelease/res/drawable-mdpi/logo_vms.png
- android/GameSDKRelease/res/drawable-mdpi/logo_vnp.png
- android/GameSDKRelease/res/drawable-mdpi/logo_vtt.png
- android/GameSDKRelease/res/drawable-mdpi/logo_yandex.png
- android/GameSDKRelease/res/drawable-mdpi/logo_zest.png
- android/GameSDKRelease/res/drawable-mdpi/pay_title_bg.png
- android/GameSDKRelease/res/drawable-mdpi/split_vertical.png
- android/GameSDKRelease/res/drawable-xhdpi/choice_box_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/header_tip_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_arrow_up.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_12call.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_boa.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_cherry.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_coda.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_e2p.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_fpt.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_globe.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_gp.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_indomog.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_mgc.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_mol.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_mol_global.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_mycard.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_ngan.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_onc.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_paypal.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_rixty.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_tm.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_vms.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_vnp.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_vtt.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_yandex.png
- android/GameSDKRelease/res/drawable-xhdpi/logo_zest.png
- android/GameSDKRelease/res/drawable-xhdpi/pay_title_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/split_vertical.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_amount.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_backout.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_backout_n.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_backout_s.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_bottom_bg_all.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_cancel_n.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_cancel_s.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_commodity.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_description.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_dialog_icon.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_dialog_m.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_download.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_loading_circle.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_loading_logo.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_logo.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_logo_bottom.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_md_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_no_network.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_ok_n.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_ok_s.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_pay_fail.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_pay_ok.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_pay_ok_n.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_pay_ok_s.9.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_pay_success.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_secretary.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_shape_bottom_corner_no_top_line.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_shape_description.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_shape_top_corner_no_bottom_line.xml
- android/GameSDKRelease/res/drawable-xhdpi/upay_sure.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_top_.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_top_bg_all.png
- android/GameSDKRelease/res/drawable-xhdpi/upay_topup_call.jpg
- android/GameSDKRelease/res/drawable/upay_cancel.xml
- android/GameSDKRelease/res/drawable/upay_ok.xml
- android/GameSDKRelease/res/layout/drop_select.xml
- android/GameSDKRelease/res/layout/fragment_billing.xml
- android/GameSDKRelease/res/layout/fragment_card.xml
- android/GameSDKRelease/res/layout/fragment_gp.xml
- android/GameSDKRelease/res/layout/fragment_indomog.xml
- android/GameSDKRelease/res/layout/fragment_mol_point.xml
- android/GameSDKRelease/res/layout/fragment_mycard.xml
- android/GameSDKRelease/res/layout/fragment_payment_choice.xml
- android/GameSDKRelease/res/layout/fragment_paypal.xml
- android/GameSDKRelease/res/layout/fragment_wallet_amount_choice.xml
- android/GameSDKRelease/res/layout/fragment_yandex.xml
- android/GameSDKRelease/res/layout/item_card_choice.xml
- android/GameSDKRelease/res/layout/pay_container.xml
- android/GameSDKRelease/res/layout/pay_title.xml
- android/GameSDKRelease/res/layout/upay_topup_dialog.xml
- android/GameSDKRelease/res/values/upay_strings.xml
- android/GameSDKSample/AndroidManifest.xml
- android/GameSDKSample/assets/upay_app_info.txt
- android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 3 | - | |
| 4 | - <item android:state_pressed="true" android:color="@android:color/white"/> | |
| 5 | - <item android:color="@color/black_text"/> | |
| 6 | - | |
| 7 | -</selector> | |
| 8 | 0 | \ No newline at end of file |
1.31 KB
14.9 KB
1.03 KB
1.02 KB
12 KB
4.64 KB
5.32 KB
16.3 KB
12.2 KB
8.35 KB
11.1 KB
6.3 KB
8.48 KB
14.8 KB
3.48 KB
3.07 KB
7.88 KB
15.6 KB
11.3 KB
12.8 KB
8.35 KB
6.74 KB
13.3 KB
6.44 KB
6.39 KB
5.32 KB
14.1 KB
1.18 KB
949 Bytes
1.16 KB
7.09 KB
1013 Bytes
1001 Bytes
6.6 KB
3.08 KB
3.49 KB
9.45 KB
7.13 KB
5.09 KB
6.15 KB
4.03 KB
5.15 KB
8.24 KB
2.81 KB
2.36 KB
4.97 KB
8.68 KB
6.03 KB
7.36 KB
5 KB
4.22 KB
7.44 KB
10.7 KB
4.09 KB
3.46 KB
7.93 KB
1.14 KB
959 Bytes
1.56 KB
32.4 KB
1.09 KB
20 KB
6.49 KB
7.45 KB
24 KB
21.1 KB
12.7 KB
19.3 KB
8.66 KB
13.2 KB
23.8 KB
2.76 KB
3.25 KB
11.6 KB
25 KB
21.4 KB
19.4 KB
13.8 KB
10.1 KB
23.6 KB
10.7 KB
9.52 KB
6.3 KB
21.3 KB
1.47 KB
959 Bytes
1.37 KB
3.32 KB
3.33 KB
2.04 KB
743 Bytes
743 Bytes
1.55 KB
3.32 KB
| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | - <!-- | |
| 3 | - <rotate xmlns:android="http://schemas.android.com/apk/res/android" | |
| 4 | - android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0" | |
| 5 | - android:toDegrees="360"> <shape android:shape="ring" | |
| 6 | - android:innerRadiusRatio="3" android:thicknessRatio="8" | |
| 7 | - android:useLevel="false"> <gradient android:type="sweep" | |
| 8 | - android:useLevel="false" android:startColor="#FFFFFF" | |
| 9 | - android:centerColor="#FFDC35" android:centerY="0.50" | |
| 10 | - android:endColor="#CE0000" /> </shape> </rotate> | |
| 11 | - --> | |
| 12 | -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 13 | - <item> | |
| 14 | - <rotate android:drawable="@drawable/upay_loading_circle" | |
| 15 | - android:fromDegrees="0.0" android:toDegrees="360.0" android:pivotX="50.0%" | |
| 16 | - android:pivotY="50.0%" /> | |
| 17 | - </item> | |
| 18 | -</layer-list> |
938 Bytes
926 Bytes
12.6 KB
7.32 KB
7.09 KB
6.2 KB
1.14 KB
4.64 KB
1.04 KB
1.01 KB
2.6 KB
1.44 KB
1.42 KB
2.52 KB
8.34 KB
| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!-- 底部圆角 白色背景 灰色边框 长方体 --> | |
| 3 | -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | - <item> | |
| 5 | - <shape> | |
| 6 | - <solid android:color="#FFFFFF" /> | |
| 7 | - <corners android:topLeftRadius="0.1dp" android:topRightRadius="0.1dp" | |
| 8 | - android:bottomRightRadius="5dp" android:bottomLeftRadius="5dp" /> | |
| 9 | - <stroke android:width="1dp" android:color="#ffa8abad" /> | |
| 10 | - </shape> | |
| 11 | - </item> | |
| 12 | - <item android:top="1dp" android:bottom="1dp" android:left="1dp" android:right="1dp"> | |
| 13 | - <shape> | |
| 14 | - <solid android:color="#FFFFFF" /> | |
| 15 | - <corners android:topLeftRadius="0.1dp" android:topRightRadius="0.1dp" | |
| 16 | - android:bottomRightRadius="5dp" android:bottomLeftRadius="5dp" /> | |
| 17 | - <stroke android:width="1dp" android:color="#ffffffff" /> | |
| 18 | - </shape> | |
| 19 | - </item> | |
| 20 | -</layer-list> | |
| 21 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!-- 底部圆角 白色背景 灰色边框 长方体 --> | |
| 3 | -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | - <item> | |
| 5 | - <shape> | |
| 6 | - <solid android:color="#FFFFFF" /> | |
| 7 | - <corners android:topLeftRadius="5dp" android:topRightRadius="5dp" | |
| 8 | - android:bottomRightRadius="5dp" android:bottomLeftRadius="5dp" /> | |
| 9 | - <stroke android:width="1dp" android:color="#ffa8abad" /> | |
| 10 | - </shape> | |
| 11 | - </item> | |
| 12 | - <item android:top="1dp" android:bottom="1dp" android:left="1dp" android:right="1dp"> | |
| 13 | - <shape> | |
| 14 | - <solid android:color="#FFFFFF" /> | |
| 15 | - <corners android:topLeftRadius="5dp" android:topRightRadius="5dp" | |
| 16 | - android:bottomRightRadius="5dp" android:bottomLeftRadius="5dp" /> | |
| 17 | - <stroke android:width="1dp" android:color="#ffffffff" /> | |
| 18 | - </shape> | |
| 19 | - </item> | |
| 20 | -</layer-list> | |
| 21 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | -<!-- 顶部带圆角 白色背景 灰色边框 无下边框 长方体 --> | |
| 3 | -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | - <item> | |
| 5 | - <shape> | |
| 6 | - <solid android:color="#FFFFFF" /> | |
| 7 | - <corners android:topLeftRadius="5dp" android:topRightRadius="5dp" | |
| 8 | - android:bottomRightRadius="0.1dp" android:bottomLeftRadius="0.1dp" /> | |
| 9 | - <stroke android:width="1dp" android:color="#ffa8abad" /> | |
| 10 | - </shape> | |
| 11 | - </item> | |
| 12 | - <item android:top="1dp" android:left="1dp" android:right="1dp"> | |
| 13 | - <shape> | |
| 14 | - <solid android:color="#FFFFFF" /> | |
| 15 | - <corners android:topLeftRadius="5dp" android:topRightRadius="5dp" | |
| 16 | - android:bottomRightRadius="0.1dp" android:bottomLeftRadius="0.1dp" /> | |
| 17 | - <stroke android:width="1dp" android:color="#ffffffff" /> | |
| 18 | - </shape> | |
| 19 | - </item> | |
| 20 | -</layer-list> | |
| 21 | 0 | \ No newline at end of file |
1.27 KB
27.3 KB
2.56 KB
16.7 KB
| ... | ... | @@ -1,5 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | |
| 3 | - <item android:state_pressed="true" android:drawable="@drawable/upay_cancel_s"></item> | |
| 4 | - <item android:state_pressed="false" android:drawable="@drawable/upay_cancel_n"></item> | |
| 5 | -</selector> |
| ... | ... | @@ -1,5 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | |
| 3 | - <item android:state_pressed="true" android:drawable="@drawable/upay_ok_s"></item> | |
| 4 | - <item android:state_pressed="false" android:drawable="@drawable/upay_ok_n"></item> | |
| 5 | -</selector> |
| ... | ... | @@ -1,38 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:id="@+id/choice_bar" | |
| 4 | - android:layout_width="match_parent" | |
| 5 | - android:layout_height="wrap_content" | |
| 6 | - android:layout_marginLeft="13dp" | |
| 7 | - android:layout_marginRight="13dp" | |
| 8 | - android:layout_marginTop="16dp" | |
| 9 | - android:background="@drawable/choice_box_bg" > | |
| 10 | - | |
| 11 | - <TextView | |
| 12 | - android:id="@+id/tv_amount" | |
| 13 | - android:layout_width="wrap_content" | |
| 14 | - android:layout_height="wrap_content" | |
| 15 | - android:layout_centerVertical="true" | |
| 16 | - android:layout_marginLeft="15dp" | |
| 17 | - android:text="50d" | |
| 18 | - android:textColor="@color/black_text" | |
| 19 | - android:textSize="18sp" | |
| 20 | - android:textStyle="italic" /> | |
| 21 | - | |
| 22 | - <ImageView | |
| 23 | - android:id="@+id/arrow_tag" | |
| 24 | - android:layout_width="35dp" | |
| 25 | - android:layout_height="35dp" | |
| 26 | - android:layout_alignParentRight="true" | |
| 27 | - android:layout_centerVertical="true" | |
| 28 | - android:scaleType="center" | |
| 29 | - android:src="@drawable/ic_arrow_down" /> | |
| 30 | - | |
| 31 | - <View | |
| 32 | - android:layout_width="1dp" | |
| 33 | - android:layout_height="match_parent" | |
| 34 | - android:layout_centerVertical="true" | |
| 35 | - android:layout_toLeftOf="@id/arrow_tag" | |
| 36 | - android:background="@drawable/split_vertical" /> | |
| 37 | - | |
| 38 | -</RelativeLayout> | |
| 39 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,130 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="match_parent" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <TextView | |
| 13 | - android:id="@+id/choice_title" | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/header_tip_bg" | |
| 17 | - android:gravity="center_vertical" | |
| 18 | - android:paddingLeft="10dp" | |
| 19 | - android:text="@string/amount_choice_tip" | |
| 20 | - android:textColor="@color/black_text" /> | |
| 21 | - | |
| 22 | - <RelativeLayout | |
| 23 | - android:id="@+id/card_choice" | |
| 24 | - android:layout_width="match_parent" | |
| 25 | - android:layout_height="wrap_content" | |
| 26 | - android:layout_marginLeft="13dp" | |
| 27 | - android:layout_marginRight="13dp" | |
| 28 | - android:layout_marginTop="16dp" | |
| 29 | - android:background="@drawable/choice_box_bg" > | |
| 30 | - | |
| 31 | - <TextView | |
| 32 | - android:id="@+id/tv_card" | |
| 33 | - android:layout_width="wrap_content" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:layout_centerVertical="true" | |
| 36 | - android:layout_marginLeft="15dp" | |
| 37 | - android:textColor="@color/black_text" | |
| 38 | - android:textSize="18sp" | |
| 39 | - android:textStyle="italic" /> | |
| 40 | - | |
| 41 | - <ImageView | |
| 42 | - android:id="@+id/arrow_tag" | |
| 43 | - android:layout_width="35dp" | |
| 44 | - android:layout_height="35dp" | |
| 45 | - android:layout_alignParentRight="true" | |
| 46 | - android:layout_centerVertical="true" | |
| 47 | - android:scaleType="center" | |
| 48 | - android:src="@drawable/ic_arrow_down" /> | |
| 49 | - | |
| 50 | - <View | |
| 51 | - android:layout_width="1dp" | |
| 52 | - android:layout_height="match_parent" | |
| 53 | - android:layout_centerVertical="true" | |
| 54 | - android:layout_toLeftOf="@id/arrow_tag" | |
| 55 | - android:background="@drawable/split_vertical" /> | |
| 56 | - </RelativeLayout> | |
| 57 | - | |
| 58 | - <RelativeLayout | |
| 59 | - android:id="@+id/amount_choice" | |
| 60 | - android:layout_width="match_parent" | |
| 61 | - android:layout_height="wrap_content" | |
| 62 | - android:layout_marginLeft="13dp" | |
| 63 | - android:layout_marginRight="13dp" | |
| 64 | - android:layout_marginTop="16dp" | |
| 65 | - android:background="@drawable/choice_box_bg" > | |
| 66 | - | |
| 67 | - <TextView | |
| 68 | - android:id="@+id/tv_amount" | |
| 69 | - android:layout_width="wrap_content" | |
| 70 | - android:layout_height="wrap_content" | |
| 71 | - android:layout_centerVertical="true" | |
| 72 | - android:layout_marginLeft="15dp" | |
| 73 | - android:textColor="@color/black_text" | |
| 74 | - android:textSize="18sp" | |
| 75 | - android:textStyle="italic" /> | |
| 76 | - | |
| 77 | - <ImageView | |
| 78 | - android:id="@id/arrow_tag" | |
| 79 | - android:layout_width="35dp" | |
| 80 | - android:layout_height="35dp" | |
| 81 | - android:layout_alignParentRight="true" | |
| 82 | - android:layout_centerVertical="true" | |
| 83 | - android:scaleType="center" | |
| 84 | - android:src="@drawable/ic_arrow_down" /> | |
| 85 | - | |
| 86 | - <View | |
| 87 | - android:layout_width="1dp" | |
| 88 | - android:layout_height="match_parent" | |
| 89 | - android:layout_centerVertical="true" | |
| 90 | - android:layout_toLeftOf="@id/arrow_tag" | |
| 91 | - android:background="@drawable/split_vertical" /> | |
| 92 | - </RelativeLayout> | |
| 93 | - | |
| 94 | - <Button | |
| 95 | - android:id="@+id/pay" | |
| 96 | - android:layout_width="match_parent" | |
| 97 | - android:layout_height="wrap_content" | |
| 98 | - android:layout_marginBottom="20dp" | |
| 99 | - android:layout_marginLeft="13dp" | |
| 100 | - android:layout_marginRight="13dp" | |
| 101 | - android:layout_marginTop="23dp" | |
| 102 | - android:layout_weight="3" | |
| 103 | - android:background="@drawable/btn_orange_bg" | |
| 104 | - android:text="@string/pay_ok" | |
| 105 | - android:textColor="@android:color/white" /> | |
| 106 | - | |
| 107 | - <TextView | |
| 108 | - android:id="@+id/summary_title" | |
| 109 | - android:layout_width="match_parent" | |
| 110 | - android:layout_height="wrap_content" | |
| 111 | - android:layout_marginLeft="13dp" | |
| 112 | - android:layout_marginRight="13dp" | |
| 113 | - android:background="@color/summary_bg" | |
| 114 | - android:paddingLeft="10dp" | |
| 115 | - android:textColor="@color/black_text" | |
| 116 | - android:textSize="12sp" /> | |
| 117 | - | |
| 118 | - <TextView | |
| 119 | - android:id="@+id/intro" | |
| 120 | - android:layout_width="match_parent" | |
| 121 | - android:layout_height="wrap_content" | |
| 122 | - android:layout_marginBottom="10dp" | |
| 123 | - android:layout_marginLeft="13dp" | |
| 124 | - android:layout_marginRight="13dp" | |
| 125 | - android:background="@color/summary_bg" | |
| 126 | - android:padding="8dp" | |
| 127 | - android:textColor="@color/black_text" /> | |
| 128 | - </LinearLayout> | |
| 129 | - | |
| 130 | -</ScrollView> | |
| 131 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,78 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="wrap_content" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <TextView | |
| 13 | - android:layout_width="match_parent" | |
| 14 | - android:layout_height="wrap_content" | |
| 15 | - android:background="@drawable/header_tip_bg" | |
| 16 | - android:gravity="center_vertical" | |
| 17 | - android:paddingLeft="10dp" | |
| 18 | - android:text="@string/card_input_tip" | |
| 19 | - android:textColor="@color/black_text" /> | |
| 20 | - | |
| 21 | - <LinearLayout | |
| 22 | - android:id="@+id/card_input_layout" | |
| 23 | - android:layout_width="match_parent" | |
| 24 | - android:layout_height="wrap_content" | |
| 25 | - android:layout_marginLeft="13dp" | |
| 26 | - android:layout_marginRight="13dp" | |
| 27 | - android:orientation="vertical" > | |
| 28 | - | |
| 29 | - <EditText | |
| 30 | - android:id="@+id/card_no" | |
| 31 | - android:layout_width="match_parent" | |
| 32 | - android:layout_height="wrap_content" | |
| 33 | - android:layout_marginTop="10dp" | |
| 34 | - android:background="@drawable/et_bg" | |
| 35 | - android:hint="@string/mol_card_hint" /> | |
| 36 | - | |
| 37 | - <EditText | |
| 38 | - android:id="@+id/card_pwd" | |
| 39 | - android:layout_width="match_parent" | |
| 40 | - android:layout_height="wrap_content" | |
| 41 | - android:layout_marginTop="13dp" | |
| 42 | - android:background="@drawable/et_bg" | |
| 43 | - android:hint="@string/mol_pass_hint" /> | |
| 44 | - </LinearLayout> | |
| 45 | - | |
| 46 | - <Button | |
| 47 | - android:id="@+id/start_pay" | |
| 48 | - android:layout_width="match_parent" | |
| 49 | - android:layout_height="wrap_content" | |
| 50 | - android:layout_margin="13dp" | |
| 51 | - android:background="@drawable/btn_orange_bg" | |
| 52 | - android:text="@string/pay_ok" | |
| 53 | - android:textColor="@android:color/white" /> | |
| 54 | - | |
| 55 | - <TextView | |
| 56 | - android:id="@+id/summary_title" | |
| 57 | - android:layout_width="match_parent" | |
| 58 | - android:layout_height="wrap_content" | |
| 59 | - android:layout_marginLeft="13dp" | |
| 60 | - android:layout_marginRight="13dp" | |
| 61 | - android:background="@color/summary_bg" | |
| 62 | - android:paddingLeft="10dp" | |
| 63 | - android:textColor="@color/black_text" | |
| 64 | - android:textSize="12sp" /> | |
| 65 | - | |
| 66 | - <TextView | |
| 67 | - android:id="@+id/summary" | |
| 68 | - android:layout_width="match_parent" | |
| 69 | - android:layout_height="wrap_content" | |
| 70 | - android:layout_marginLeft="13dp" | |
| 71 | - android:layout_marginRight="13dp" | |
| 72 | - android:background="@color/summary_bg" | |
| 73 | - android:padding="10dp" | |
| 74 | - android:textColor="@color/black_text" | |
| 75 | - android:textSize="11sp" /> | |
| 76 | - </LinearLayout> | |
| 77 | - | |
| 78 | -</ScrollView> | |
| 79 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,154 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" > | |
| 5 | - | |
| 6 | - <LinearLayout | |
| 7 | - android:layout_width="match_parent" | |
| 8 | - android:layout_height="wrap_content" | |
| 9 | - android:orientation="vertical" > | |
| 10 | - | |
| 11 | - <TextView | |
| 12 | - android:id="@+id/choice_title" | |
| 13 | - android:layout_width="match_parent" | |
| 14 | - android:layout_height="wrap_content" | |
| 15 | - android:layout_marginLeft="13dp" | |
| 16 | - android:layout_marginTop="10dp" | |
| 17 | - android:text="@string/gp_choice_tip" /> | |
| 18 | - | |
| 19 | - <com.gumptech.sdk.view.RadioGroup | |
| 20 | - android:id="@+id/choices" | |
| 21 | - android:layout_width="match_parent" | |
| 22 | - android:layout_height="wrap_content" > | |
| 23 | - | |
| 24 | - <LinearLayout | |
| 25 | - android:layout_width="match_parent" | |
| 26 | - android:layout_height="wrap_content" | |
| 27 | - android:layout_marginBottom="5dp" | |
| 28 | - android:layout_marginTop="5dp" | |
| 29 | - android:orientation="horizontal" | |
| 30 | - android:paddingLeft="13dp" | |
| 31 | - android:paddingRight="13dp" > | |
| 32 | - | |
| 33 | - <RadioButton | |
| 34 | - android:id="@+id/choice1" | |
| 35 | - android:layout_width="wrap_content" | |
| 36 | - android:layout_height="wrap_content" | |
| 37 | - android:layout_marginRight="13dp" | |
| 38 | - android:layout_weight="1" | |
| 39 | - android:background="@drawable/r_bg" | |
| 40 | - android:button="@null" | |
| 41 | - android:gravity="center" | |
| 42 | - android:paddingBottom="10dp" | |
| 43 | - android:paddingTop="10dp" | |
| 44 | - android:text="110" | |
| 45 | - android:textColor="@color/black_text" | |
| 46 | - android:textSize="12sp" /> | |
| 47 | - | |
| 48 | - <RadioButton | |
| 49 | - android:id="@+id/choice2" | |
| 50 | - android:layout_width="wrap_content" | |
| 51 | - android:layout_height="wrap_content" | |
| 52 | - android:layout_marginRight="13dp" | |
| 53 | - android:layout_weight="1" | |
| 54 | - android:background="@drawable/r_bg" | |
| 55 | - android:button="@null" | |
| 56 | - android:gravity="center" | |
| 57 | - android:paddingBottom="10dp" | |
| 58 | - android:paddingTop="10dp" | |
| 59 | - android:text="2" | |
| 60 | - android:textColor="@color/black_text" | |
| 61 | - android:textSize="12sp" /> | |
| 62 | - | |
| 63 | - <RadioButton | |
| 64 | - android:id="@+id/choice3" | |
| 65 | - android:layout_width="wrap_content" | |
| 66 | - android:layout_height="wrap_content" | |
| 67 | - android:layout_weight="1" | |
| 68 | - android:background="@drawable/r_bg" | |
| 69 | - android:button="@null" | |
| 70 | - android:gravity="center" | |
| 71 | - android:paddingBottom="10dp" | |
| 72 | - android:paddingTop="10dp" | |
| 73 | - android:text="3" | |
| 74 | - android:textColor="@color/black_text" | |
| 75 | - android:textSize="12sp" /> | |
| 76 | - </LinearLayout> | |
| 77 | - | |
| 78 | - <LinearLayout | |
| 79 | - android:layout_width="match_parent" | |
| 80 | - android:layout_height="wrap_content" | |
| 81 | - android:orientation="horizontal" | |
| 82 | - android:paddingLeft="13dp" | |
| 83 | - android:paddingRight="13dp" > | |
| 84 | - | |
| 85 | - <RadioButton | |
| 86 | - android:id="@+id/choice4" | |
| 87 | - android:layout_width="wrap_content" | |
| 88 | - android:layout_height="wrap_content" | |
| 89 | - android:layout_marginRight="13dp" | |
| 90 | - android:layout_weight="1" | |
| 91 | - android:background="@drawable/r_bg" | |
| 92 | - android:button="@null" | |
| 93 | - android:gravity="center" | |
| 94 | - android:paddingBottom="10dp" | |
| 95 | - android:paddingTop="10dp" | |
| 96 | - android:text="4" | |
| 97 | - android:textColor="@color/black_text" | |
| 98 | - android:textSize="12sp" /> | |
| 99 | - | |
| 100 | - <RadioButton | |
| 101 | - android:id="@+id/choice5" | |
| 102 | - android:layout_width="wrap_content" | |
| 103 | - android:layout_height="wrap_content" | |
| 104 | - android:layout_marginRight="13dp" | |
| 105 | - android:layout_weight="1" | |
| 106 | - android:background="@drawable/r_bg" | |
| 107 | - android:button="@null" | |
| 108 | - android:gravity="center" | |
| 109 | - android:paddingBottom="10dp" | |
| 110 | - android:paddingTop="10dp" | |
| 111 | - android:text="5" | |
| 112 | - android:textColor="@color/black_text" | |
| 113 | - android:textSize="12sp" /> | |
| 114 | - | |
| 115 | - <RadioButton | |
| 116 | - android:id="@+id/choice6" | |
| 117 | - android:layout_width="wrap_content" | |
| 118 | - android:layout_height="wrap_content" | |
| 119 | - android:layout_weight="1" | |
| 120 | - android:background="@drawable/r_bg" | |
| 121 | - android:button="@null" | |
| 122 | - android:gravity="center" | |
| 123 | - android:paddingBottom="10dp" | |
| 124 | - android:paddingTop="10dp" | |
| 125 | - android:text="6" | |
| 126 | - android:textColor="@color/black_text" | |
| 127 | - android:textSize="12sp" /> | |
| 128 | - </LinearLayout> | |
| 129 | - </com.gumptech.sdk.view.RadioGroup> | |
| 130 | - | |
| 131 | - <Button | |
| 132 | - android:id="@+id/pay" | |
| 133 | - android:layout_width="match_parent" | |
| 134 | - android:layout_height="wrap_content" | |
| 135 | - android:layout_marginLeft="13dp" | |
| 136 | - android:layout_marginRight="13dp" | |
| 137 | - android:layout_marginTop="10dp" | |
| 138 | - android:background="@drawable/btn_orange_bg" | |
| 139 | - android:text="@string/pay_ok" | |
| 140 | - android:textColor="@android:color/white" /> | |
| 141 | - | |
| 142 | - <TextView | |
| 143 | - android:id="@+id/intro" | |
| 144 | - android:layout_width="match_parent" | |
| 145 | - android:layout_height="wrap_content" | |
| 146 | - android:layout_marginLeft="13dp" | |
| 147 | - android:layout_marginRight="13dp" | |
| 148 | - android:layout_marginTop="10dp" | |
| 149 | - android:background="@color/common_gray" | |
| 150 | - android:padding="8dp" | |
| 151 | - android:textColor="@color/black_text" /> | |
| 152 | - </LinearLayout> | |
| 153 | - | |
| 154 | -</ScrollView> | |
| 155 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,87 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="fill_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="wrap_content" | |
| 10 | - android:minWidth="293dp" | |
| 11 | - android:orientation="vertical" > | |
| 12 | - | |
| 13 | - <TextView | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/header_tip_bg" | |
| 17 | - android:gravity="center_vertical" | |
| 18 | - android:paddingLeft="10dp" | |
| 19 | - android:text="@string/card_input_tip" | |
| 20 | - android:textColor="@color/black_text" /> | |
| 21 | - | |
| 22 | - <LinearLayout | |
| 23 | - android:id="@+id/card_input_layout" | |
| 24 | - android:layout_width="match_parent" | |
| 25 | - android:layout_height="wrap_content" | |
| 26 | - android:layout_marginLeft="13dp" | |
| 27 | - android:layout_marginRight="13dp" | |
| 28 | - android:layout_marginTop="10dp" | |
| 29 | - android:orientation="vertical" > | |
| 30 | - | |
| 31 | - <EditText | |
| 32 | - android:id="@+id/card_no" | |
| 33 | - android:layout_width="match_parent" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:background="@drawable/et_bg" | |
| 36 | - android:hint="@string/mol_card_hint" /> | |
| 37 | - </LinearLayout> | |
| 38 | - | |
| 39 | - <Button | |
| 40 | - android:id="@+id/start_pay" | |
| 41 | - android:layout_width="match_parent" | |
| 42 | - android:layout_height="wrap_content" | |
| 43 | - android:layout_marginLeft="13dp" | |
| 44 | - android:layout_marginRight="13dp" | |
| 45 | - android:layout_marginTop="16dp" | |
| 46 | - android:background="@drawable/btn_orange_bg" | |
| 47 | - android:text="@string/pay_ok" | |
| 48 | - android:textColor="@android:color/white" | |
| 49 | - android:textSize="16sp" /> | |
| 50 | - | |
| 51 | - <Button | |
| 52 | - android:id="@+id/wallet" | |
| 53 | - android:layout_width="match_parent" | |
| 54 | - android:layout_height="wrap_content" | |
| 55 | - android:layout_marginBottom="15dp" | |
| 56 | - android:layout_marginLeft="13dp" | |
| 57 | - android:layout_marginRight="13dp" | |
| 58 | - android:layout_marginTop="10dp" | |
| 59 | - android:background="@drawable/btn_wallet_bg" | |
| 60 | - android:text="@string/title_indomog_account" | |
| 61 | - android:textSize="15sp" /> | |
| 62 | - | |
| 63 | - <TextView | |
| 64 | - android:id="@+id/summary_title" | |
| 65 | - android:layout_width="match_parent" | |
| 66 | - android:layout_height="wrap_content" | |
| 67 | - android:layout_marginLeft="13dp" | |
| 68 | - android:layout_marginRight="13dp" | |
| 69 | - android:background="@color/summary_bg" | |
| 70 | - android:paddingLeft="10dp" | |
| 71 | - android:textColor="@color/black_text" | |
| 72 | - android:textSize="12sp" /> | |
| 73 | - | |
| 74 | - <TextView | |
| 75 | - android:id="@+id/summary" | |
| 76 | - android:layout_width="match_parent" | |
| 77 | - android:layout_height="wrap_content" | |
| 78 | - android:layout_marginBottom="10dp" | |
| 79 | - android:layout_marginLeft="13dp" | |
| 80 | - android:layout_marginRight="13dp" | |
| 81 | - android:background="@color/summary_bg" | |
| 82 | - android:padding="10dp" | |
| 83 | - android:textColor="@color/black_text" | |
| 84 | - android:textSize="11sp" /> | |
| 85 | - </LinearLayout> | |
| 86 | - | |
| 87 | -</ScrollView> | |
| 88 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,94 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="fill_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="wrap_content" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <TextView | |
| 13 | - android:layout_width="match_parent" | |
| 14 | - android:layout_height="wrap_content" | |
| 15 | - android:background="@drawable/header_tip_bg" | |
| 16 | - android:gravity="center_vertical" | |
| 17 | - android:paddingLeft="10dp" | |
| 18 | - android:text="@string/card_input_tip" | |
| 19 | - android:textColor="@color/black_text" /> | |
| 20 | - | |
| 21 | - <LinearLayout | |
| 22 | - android:id="@+id/card_input_layout" | |
| 23 | - android:layout_width="match_parent" | |
| 24 | - android:layout_height="wrap_content" | |
| 25 | - android:layout_marginLeft="13dp" | |
| 26 | - android:layout_marginRight="13dp" | |
| 27 | - android:layout_marginTop="10dp" | |
| 28 | - android:orientation="vertical" > | |
| 29 | - | |
| 30 | - <EditText | |
| 31 | - android:id="@+id/card_no" | |
| 32 | - android:layout_width="match_parent" | |
| 33 | - android:layout_height="wrap_content" | |
| 34 | - android:background="@drawable/et_bg" | |
| 35 | - android:hint="@string/mol_card_hint" /> | |
| 36 | - | |
| 37 | - <EditText | |
| 38 | - android:id="@+id/card_pwd" | |
| 39 | - android:layout_width="match_parent" | |
| 40 | - android:layout_height="wrap_content" | |
| 41 | - android:layout_marginTop="13dp" | |
| 42 | - android:background="@drawable/et_bg" | |
| 43 | - android:hint="@string/mol_pass_hint" /> | |
| 44 | - </LinearLayout> | |
| 45 | - | |
| 46 | - <Button | |
| 47 | - android:id="@+id/start_pay" | |
| 48 | - android:layout_width="match_parent" | |
| 49 | - android:layout_height="wrap_content" | |
| 50 | - android:layout_marginLeft="13dp" | |
| 51 | - android:layout_marginRight="13dp" | |
| 52 | - android:layout_marginTop="16dp" | |
| 53 | - android:background="@drawable/btn_orange_bg" | |
| 54 | - android:text="@string/pay_ok" | |
| 55 | - android:textColor="@android:color/white" | |
| 56 | - android:textSize="16sp" /> | |
| 57 | - | |
| 58 | - <Button | |
| 59 | - android:id="@+id/wallet" | |
| 60 | - android:layout_width="match_parent" | |
| 61 | - android:layout_height="wrap_content" | |
| 62 | - android:layout_marginBottom="15dp" | |
| 63 | - android:layout_marginLeft="13dp" | |
| 64 | - android:layout_marginRight="13dp" | |
| 65 | - android:layout_marginTop="10dp" | |
| 66 | - android:background="@drawable/btn_wallet_bg" | |
| 67 | - android:text="@string/title_mol_wallet" | |
| 68 | - android:textSize="15sp" /> | |
| 69 | - | |
| 70 | - <TextView | |
| 71 | - android:id="@+id/summary_title" | |
| 72 | - android:layout_width="match_parent" | |
| 73 | - android:layout_height="wrap_content" | |
| 74 | - android:layout_marginLeft="13dp" | |
| 75 | - android:layout_marginRight="13dp" | |
| 76 | - android:background="@color/summary_bg" | |
| 77 | - android:paddingLeft="10dp" | |
| 78 | - android:textColor="@color/black_text" | |
| 79 | - android:textSize="12sp" /> | |
| 80 | - | |
| 81 | - <TextView | |
| 82 | - android:id="@+id/summary" | |
| 83 | - android:layout_width="match_parent" | |
| 84 | - android:layout_height="wrap_content" | |
| 85 | - android:layout_marginBottom="10dp" | |
| 86 | - android:layout_marginLeft="13dp" | |
| 87 | - android:layout_marginRight="13dp" | |
| 88 | - android:background="@color/summary_bg" | |
| 89 | - android:padding="10dp" | |
| 90 | - android:textColor="@color/black_text" | |
| 91 | - android:textSize="11sp" /> | |
| 92 | - </LinearLayout> | |
| 93 | - | |
| 94 | -</ScrollView> | |
| 95 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,106 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="fill_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="wrap_content" | |
| 10 | - android:minWidth="293dp" | |
| 11 | - android:orientation="vertical" > | |
| 12 | - | |
| 13 | - <TextView | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/header_tip_bg" | |
| 17 | - android:gravity="center_vertical" | |
| 18 | - android:paddingLeft="10dp" | |
| 19 | - android:text="@string/card_input_tip" | |
| 20 | - android:textColor="@color/black_text" /> | |
| 21 | - | |
| 22 | - <LinearLayout | |
| 23 | - android:id="@+id/card_input_layout" | |
| 24 | - android:layout_width="match_parent" | |
| 25 | - android:layout_height="wrap_content" | |
| 26 | - android:layout_marginLeft="13dp" | |
| 27 | - android:layout_marginRight="13dp" | |
| 28 | - android:layout_marginTop="10dp" | |
| 29 | - android:orientation="vertical" > | |
| 30 | - | |
| 31 | - <EditText | |
| 32 | - android:id="@+id/card_no" | |
| 33 | - android:layout_width="match_parent" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:background="@drawable/et_bg" | |
| 36 | - android:hint="@string/mol_card_hint" /> | |
| 37 | - | |
| 38 | - <EditText | |
| 39 | - android:id="@+id/card_pwd" | |
| 40 | - android:layout_width="match_parent" | |
| 41 | - android:layout_height="wrap_content" | |
| 42 | - android:layout_marginTop="13dp" | |
| 43 | - android:background="@drawable/et_bg" | |
| 44 | - android:hint="@string/mol_pass_hint" /> | |
| 45 | - </LinearLayout> | |
| 46 | - | |
| 47 | - <Button | |
| 48 | - android:id="@+id/start_pay" | |
| 49 | - android:layout_width="match_parent" | |
| 50 | - android:layout_height="wrap_content" | |
| 51 | - android:layout_marginLeft="13dp" | |
| 52 | - android:layout_marginRight="13dp" | |
| 53 | - android:layout_marginTop="16dp" | |
| 54 | - android:background="@drawable/btn_orange_bg" | |
| 55 | - android:text="@string/pay_ok" | |
| 56 | - android:textColor="@android:color/white" | |
| 57 | - android:textSize="16sp" /> | |
| 58 | - | |
| 59 | - <Button | |
| 60 | - android:id="@+id/wallet" | |
| 61 | - android:layout_width="match_parent" | |
| 62 | - android:layout_height="wrap_content" | |
| 63 | - android:layout_marginLeft="13dp" | |
| 64 | - android:layout_marginRight="13dp" | |
| 65 | - android:layout_marginTop="10dp" | |
| 66 | - android:background="@drawable/btn_wallet_bg" | |
| 67 | - android:text="@string/title_mycard_member" | |
| 68 | - android:textSize="15sp" /> | |
| 69 | - | |
| 70 | - <Button | |
| 71 | - android:id="@+id/billing" | |
| 72 | - android:layout_width="match_parent" | |
| 73 | - android:layout_height="wrap_content" | |
| 74 | - android:layout_marginBottom="15dp" | |
| 75 | - android:layout_marginLeft="13dp" | |
| 76 | - android:layout_marginRight="13dp" | |
| 77 | - android:layout_marginTop="10dp" | |
| 78 | - android:background="@drawable/btn_wallet_bg" | |
| 79 | - android:text="@string/title_mycard_billing" | |
| 80 | - android:textSize="15sp" /> | |
| 81 | - | |
| 82 | - <TextView | |
| 83 | - android:id="@+id/summary_title" | |
| 84 | - android:layout_width="match_parent" | |
| 85 | - android:layout_height="wrap_content" | |
| 86 | - android:layout_marginLeft="13dp" | |
| 87 | - android:layout_marginRight="13dp" | |
| 88 | - android:background="@color/summary_bg" | |
| 89 | - android:paddingLeft="10dp" | |
| 90 | - android:textColor="@color/black_text" | |
| 91 | - android:textSize="12sp" /> | |
| 92 | - | |
| 93 | - <TextView | |
| 94 | - android:id="@+id/summary" | |
| 95 | - android:layout_width="match_parent" | |
| 96 | - android:layout_height="wrap_content" | |
| 97 | - android:layout_marginBottom="10dp" | |
| 98 | - android:layout_marginLeft="13dp" | |
| 99 | - android:layout_marginRight="13dp" | |
| 100 | - android:background="@color/summary_bg" | |
| 101 | - android:padding="10dp" | |
| 102 | - android:textColor="@color/black_text" | |
| 103 | - android:textSize="11sp" /> | |
| 104 | - </LinearLayout> | |
| 105 | - | |
| 106 | -</ScrollView> | |
| 107 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,587 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" > | |
| 5 | - | |
| 6 | - <LinearLayout | |
| 7 | - android:layout_width="match_parent" | |
| 8 | - android:layout_height="wrap_content" | |
| 9 | - android:gravity="center_horizontal" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <RelativeLayout | |
| 13 | - android:id="@+id/item_mycard" | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/payment_bg" | |
| 17 | - android:visibility="gone" > | |
| 18 | - | |
| 19 | - <ImageView | |
| 20 | - android:layout_width="wrap_content" | |
| 21 | - android:layout_height="wrap_content" | |
| 22 | - android:layout_centerVertical="true" | |
| 23 | - android:layout_marginLeft="10dp" | |
| 24 | - android:src="@drawable/logo_mycard" /> | |
| 25 | - | |
| 26 | - <ImageView | |
| 27 | - android:layout_width="wrap_content" | |
| 28 | - android:layout_height="wrap_content" | |
| 29 | - android:layout_alignParentRight="true" | |
| 30 | - android:layout_centerVertical="true" | |
| 31 | - android:layout_marginRight="45dp" | |
| 32 | - android:src="@drawable/arrow_tag" /> | |
| 33 | - </RelativeLayout> | |
| 34 | - | |
| 35 | - <RelativeLayout | |
| 36 | - android:id="@+id/item_mol" | |
| 37 | - android:layout_width="match_parent" | |
| 38 | - android:layout_height="wrap_content" | |
| 39 | - android:background="@drawable/payment_bg" | |
| 40 | - android:visibility="gone" > | |
| 41 | - | |
| 42 | - <ImageView | |
| 43 | - android:layout_width="wrap_content" | |
| 44 | - android:layout_height="wrap_content" | |
| 45 | - android:layout_centerVertical="true" | |
| 46 | - android:layout_marginLeft="10dp" | |
| 47 | - android:src="@drawable/logo_mol" /> | |
| 48 | - | |
| 49 | - <ImageView | |
| 50 | - android:layout_width="wrap_content" | |
| 51 | - android:layout_height="wrap_content" | |
| 52 | - android:layout_alignParentRight="true" | |
| 53 | - android:layout_centerVertical="true" | |
| 54 | - android:layout_marginRight="45dp" | |
| 55 | - android:src="@drawable/arrow_tag" /> | |
| 56 | - </RelativeLayout> | |
| 57 | - | |
| 58 | - <RelativeLayout | |
| 59 | - android:id="@+id/item_mol_global" | |
| 60 | - android:layout_width="match_parent" | |
| 61 | - android:layout_height="wrap_content" | |
| 62 | - android:background="@drawable/payment_bg" | |
| 63 | - android:visibility="gone" > | |
| 64 | - | |
| 65 | - <ImageView | |
| 66 | - android:layout_width="wrap_content" | |
| 67 | - android:layout_height="wrap_content" | |
| 68 | - android:layout_centerVertical="true" | |
| 69 | - android:layout_marginLeft="10dp" | |
| 70 | - android:src="@drawable/logo_mol_global" /> | |
| 71 | - | |
| 72 | - <ImageView | |
| 73 | - android:layout_width="wrap_content" | |
| 74 | - android:layout_height="wrap_content" | |
| 75 | - android:layout_alignParentRight="true" | |
| 76 | - android:layout_centerVertical="true" | |
| 77 | - android:layout_marginRight="45dp" | |
| 78 | - android:src="@drawable/arrow_tag" /> | |
| 79 | - </RelativeLayout> | |
| 80 | - | |
| 81 | - <RelativeLayout | |
| 82 | - android:id="@+id/item_12call" | |
| 83 | - android:layout_width="match_parent" | |
| 84 | - android:layout_height="wrap_content" | |
| 85 | - android:background="@drawable/payment_bg" | |
| 86 | - android:visibility="gone" > | |
| 87 | - | |
| 88 | - <ImageView | |
| 89 | - android:layout_width="wrap_content" | |
| 90 | - android:layout_height="wrap_content" | |
| 91 | - android:layout_centerVertical="true" | |
| 92 | - android:layout_marginLeft="10dp" | |
| 93 | - android:src="@drawable/logo_12call" /> | |
| 94 | - | |
| 95 | - <ImageView | |
| 96 | - android:layout_width="wrap_content" | |
| 97 | - android:layout_height="wrap_content" | |
| 98 | - android:layout_alignParentRight="true" | |
| 99 | - android:layout_centerVertical="true" | |
| 100 | - android:layout_marginRight="45dp" | |
| 101 | - android:src="@drawable/arrow_tag" /> | |
| 102 | - </RelativeLayout> | |
| 103 | - | |
| 104 | - <RelativeLayout | |
| 105 | - android:id="@+id/item_zest" | |
| 106 | - android:layout_width="match_parent" | |
| 107 | - android:layout_height="wrap_content" | |
| 108 | - android:background="@drawable/payment_bg" | |
| 109 | - android:visibility="gone" > | |
| 110 | - | |
| 111 | - <ImageView | |
| 112 | - android:layout_width="wrap_content" | |
| 113 | - android:layout_height="wrap_content" | |
| 114 | - android:layout_centerVertical="true" | |
| 115 | - android:layout_marginLeft="10dp" | |
| 116 | - android:src="@drawable/logo_zest" /> | |
| 117 | - | |
| 118 | - <ImageView | |
| 119 | - android:layout_width="wrap_content" | |
| 120 | - android:layout_height="wrap_content" | |
| 121 | - android:layout_alignParentRight="true" | |
| 122 | - android:layout_centerVertical="true" | |
| 123 | - android:layout_marginRight="45dp" | |
| 124 | - android:src="@drawable/arrow_tag" /> | |
| 125 | - </RelativeLayout> | |
| 126 | - | |
| 127 | - <RelativeLayout | |
| 128 | - android:id="@+id/item_tm" | |
| 129 | - android:layout_width="match_parent" | |
| 130 | - android:layout_height="wrap_content" | |
| 131 | - android:background="@drawable/payment_bg" | |
| 132 | - android:visibility="gone" > | |
| 133 | - | |
| 134 | - <ImageView | |
| 135 | - android:layout_width="wrap_content" | |
| 136 | - android:layout_height="wrap_content" | |
| 137 | - android:layout_centerVertical="true" | |
| 138 | - android:layout_marginLeft="10dp" | |
| 139 | - android:src="@drawable/logo_tm" /> | |
| 140 | - | |
| 141 | - <ImageView | |
| 142 | - android:layout_width="wrap_content" | |
| 143 | - android:layout_height="wrap_content" | |
| 144 | - android:layout_alignParentRight="true" | |
| 145 | - android:layout_centerVertical="true" | |
| 146 | - android:layout_marginRight="45dp" | |
| 147 | - android:src="@drawable/arrow_tag" /> | |
| 148 | - </RelativeLayout> | |
| 149 | - | |
| 150 | - <RelativeLayout | |
| 151 | - android:id="@+id/item_rixty" | |
| 152 | - android:layout_width="match_parent" | |
| 153 | - android:layout_height="wrap_content" | |
| 154 | - android:background="@drawable/payment_bg" | |
| 155 | - android:visibility="gone" > | |
| 156 | - | |
| 157 | - <ImageView | |
| 158 | - android:layout_width="wrap_content" | |
| 159 | - android:layout_height="wrap_content" | |
| 160 | - android:layout_centerVertical="true" | |
| 161 | - android:layout_marginLeft="10dp" | |
| 162 | - android:src="@drawable/logo_rixty" /> | |
| 163 | - | |
| 164 | - <ImageView | |
| 165 | - android:layout_width="wrap_content" | |
| 166 | - android:layout_height="wrap_content" | |
| 167 | - android:layout_alignParentRight="true" | |
| 168 | - android:layout_centerVertical="true" | |
| 169 | - android:layout_marginRight="45dp" | |
| 170 | - android:src="@drawable/arrow_tag" /> | |
| 171 | - </RelativeLayout> | |
| 172 | - | |
| 173 | - <RelativeLayout | |
| 174 | - android:id="@+id/item_paypal" | |
| 175 | - android:layout_width="match_parent" | |
| 176 | - android:layout_height="wrap_content" | |
| 177 | - android:background="@drawable/payment_bg" | |
| 178 | - android:visibility="gone" > | |
| 179 | - | |
| 180 | - <ImageView | |
| 181 | - android:layout_width="wrap_content" | |
| 182 | - android:layout_height="wrap_content" | |
| 183 | - android:layout_centerVertical="true" | |
| 184 | - android:layout_marginLeft="10dp" | |
| 185 | - android:src="@drawable/logo_paypal" /> | |
| 186 | - | |
| 187 | - <ImageView | |
| 188 | - android:layout_width="wrap_content" | |
| 189 | - android:layout_height="wrap_content" | |
| 190 | - android:layout_alignParentRight="true" | |
| 191 | - android:layout_centerVertical="true" | |
| 192 | - android:layout_marginRight="45dp" | |
| 193 | - android:src="@drawable/arrow_tag" /> | |
| 194 | - </RelativeLayout> | |
| 195 | - | |
| 196 | - <RelativeLayout | |
| 197 | - android:id="@+id/item_ngan" | |
| 198 | - android:layout_width="match_parent" | |
| 199 | - android:layout_height="wrap_content" | |
| 200 | - android:background="@drawable/payment_bg" | |
| 201 | - android:visibility="gone" > | |
| 202 | - | |
| 203 | - <ImageView | |
| 204 | - android:layout_width="wrap_content" | |
| 205 | - android:layout_height="wrap_content" | |
| 206 | - android:layout_centerVertical="true" | |
| 207 | - android:layout_marginLeft="10dp" | |
| 208 | - android:src="@drawable/logo_ngan" /> | |
| 209 | - | |
| 210 | - <ImageView | |
| 211 | - android:layout_width="wrap_content" | |
| 212 | - android:layout_height="wrap_content" | |
| 213 | - android:layout_alignParentRight="true" | |
| 214 | - android:layout_centerVertical="true" | |
| 215 | - android:layout_marginRight="45dp" | |
| 216 | - android:src="@drawable/arrow_tag" /> | |
| 217 | - </RelativeLayout> | |
| 218 | - | |
| 219 | - <RelativeLayout | |
| 220 | - android:id="@+id/item_gp" | |
| 221 | - android:layout_width="match_parent" | |
| 222 | - android:layout_height="wrap_content" | |
| 223 | - android:background="@drawable/payment_bg" | |
| 224 | - android:visibility="gone" > | |
| 225 | - | |
| 226 | - <ImageView | |
| 227 | - android:layout_width="wrap_content" | |
| 228 | - android:layout_height="wrap_content" | |
| 229 | - android:layout_centerVertical="true" | |
| 230 | - android:layout_marginLeft="10dp" | |
| 231 | - android:src="@drawable/logo_gp" /> | |
| 232 | - | |
| 233 | - <ImageView | |
| 234 | - android:layout_width="wrap_content" | |
| 235 | - android:layout_height="wrap_content" | |
| 236 | - android:layout_alignParentRight="true" | |
| 237 | - android:layout_centerVertical="true" | |
| 238 | - android:layout_marginRight="45dp" | |
| 239 | - android:src="@drawable/arrow_tag" /> | |
| 240 | - </RelativeLayout> | |
| 241 | - | |
| 242 | - <RelativeLayout | |
| 243 | - android:id="@+id/item_ep_th" | |
| 244 | - android:layout_width="match_parent" | |
| 245 | - android:layout_height="wrap_content" | |
| 246 | - android:background="@drawable/payment_bg" | |
| 247 | - android:visibility="gone" > | |
| 248 | - | |
| 249 | - <ImageView | |
| 250 | - android:layout_width="wrap_content" | |
| 251 | - android:layout_height="wrap_content" | |
| 252 | - android:layout_centerVertical="true" | |
| 253 | - android:layout_marginLeft="10dp" | |
| 254 | - android:src="@drawable/logo_e2p" /> | |
| 255 | - | |
| 256 | - <ImageView | |
| 257 | - android:layout_width="wrap_content" | |
| 258 | - android:layout_height="wrap_content" | |
| 259 | - android:layout_alignParentRight="true" | |
| 260 | - android:layout_centerVertical="true" | |
| 261 | - android:layout_marginRight="45dp" | |
| 262 | - android:src="@drawable/arrow_tag" /> | |
| 263 | - </RelativeLayout> | |
| 264 | - | |
| 265 | - <RelativeLayout | |
| 266 | - android:id="@+id/item_ep_my" | |
| 267 | - android:layout_width="match_parent" | |
| 268 | - android:layout_height="wrap_content" | |
| 269 | - android:background="@drawable/payment_bg" | |
| 270 | - android:visibility="gone" > | |
| 271 | - | |
| 272 | - <ImageView | |
| 273 | - android:layout_width="wrap_content" | |
| 274 | - android:layout_height="wrap_content" | |
| 275 | - android:layout_centerVertical="true" | |
| 276 | - android:layout_marginLeft="10dp" | |
| 277 | - android:src="@drawable/logo_e2p" /> | |
| 278 | - | |
| 279 | - <ImageView | |
| 280 | - android:layout_width="wrap_content" | |
| 281 | - android:layout_height="wrap_content" | |
| 282 | - android:layout_alignParentRight="true" | |
| 283 | - android:layout_centerVertical="true" | |
| 284 | - android:layout_marginRight="45dp" | |
| 285 | - android:src="@drawable/arrow_tag" /> | |
| 286 | - </RelativeLayout> | |
| 287 | - | |
| 288 | - <RelativeLayout | |
| 289 | - android:id="@+id/item_indomog" | |
| 290 | - android:layout_width="match_parent" | |
| 291 | - android:layout_height="wrap_content" | |
| 292 | - android:background="@drawable/payment_bg" | |
| 293 | - android:visibility="gone" > | |
| 294 | - | |
| 295 | - <ImageView | |
| 296 | - android:layout_width="wrap_content" | |
| 297 | - android:layout_height="wrap_content" | |
| 298 | - android:layout_centerVertical="true" | |
| 299 | - android:layout_marginLeft="10dp" | |
| 300 | - android:src="@drawable/logo_indomog" /> | |
| 301 | - | |
| 302 | - <ImageView | |
| 303 | - android:layout_width="wrap_content" | |
| 304 | - android:layout_height="wrap_content" | |
| 305 | - android:layout_alignParentRight="true" | |
| 306 | - android:layout_centerVertical="true" | |
| 307 | - android:layout_marginRight="45dp" | |
| 308 | - android:src="@drawable/arrow_tag" /> | |
| 309 | - </RelativeLayout> | |
| 310 | - | |
| 311 | - <RelativeLayout | |
| 312 | - android:id="@+id/item_yandex" | |
| 313 | - android:layout_width="match_parent" | |
| 314 | - android:layout_height="wrap_content" | |
| 315 | - android:background="@drawable/payment_bg" | |
| 316 | - android:visibility="gone" > | |
| 317 | - | |
| 318 | - <ImageView | |
| 319 | - android:layout_width="wrap_content" | |
| 320 | - android:layout_height="wrap_content" | |
| 321 | - android:layout_centerVertical="true" | |
| 322 | - android:layout_marginLeft="10dp" | |
| 323 | - android:src="@drawable/logo_yandex" /> | |
| 324 | - | |
| 325 | - <ImageView | |
| 326 | - android:layout_width="wrap_content" | |
| 327 | - android:layout_height="wrap_content" | |
| 328 | - android:layout_alignParentRight="true" | |
| 329 | - android:layout_centerVertical="true" | |
| 330 | - android:layout_marginRight="45dp" | |
| 331 | - android:src="@drawable/arrow_tag" /> | |
| 332 | - </RelativeLayout> | |
| 333 | - | |
| 334 | - <RelativeLayout | |
| 335 | - android:id="@+id/item_vnp" | |
| 336 | - android:layout_width="match_parent" | |
| 337 | - android:layout_height="wrap_content" | |
| 338 | - android:background="@drawable/payment_bg" | |
| 339 | - android:visibility="gone" > | |
| 340 | - | |
| 341 | - <ImageView | |
| 342 | - android:layout_width="wrap_content" | |
| 343 | - android:layout_height="wrap_content" | |
| 344 | - android:layout_centerVertical="true" | |
| 345 | - android:layout_marginLeft="10dp" | |
| 346 | - android:src="@drawable/logo_vnp" /> | |
| 347 | - | |
| 348 | - <ImageView | |
| 349 | - android:layout_width="wrap_content" | |
| 350 | - android:layout_height="wrap_content" | |
| 351 | - android:layout_alignParentRight="true" | |
| 352 | - android:layout_centerVertical="true" | |
| 353 | - android:layout_marginRight="45dp" | |
| 354 | - android:src="@drawable/arrow_tag" /> | |
| 355 | - </RelativeLayout> | |
| 356 | - | |
| 357 | - <RelativeLayout | |
| 358 | - android:id="@+id/item_vms" | |
| 359 | - android:layout_width="match_parent" | |
| 360 | - android:layout_height="wrap_content" | |
| 361 | - android:background="@drawable/payment_bg" | |
| 362 | - android:visibility="gone" > | |
| 363 | - | |
| 364 | - <ImageView | |
| 365 | - android:layout_width="wrap_content" | |
| 366 | - android:layout_height="wrap_content" | |
| 367 | - android:layout_centerVertical="true" | |
| 368 | - android:layout_marginLeft="10dp" | |
| 369 | - android:src="@drawable/logo_vms" /> | |
| 370 | - | |
| 371 | - <ImageView | |
| 372 | - android:layout_width="wrap_content" | |
| 373 | - android:layout_height="wrap_content" | |
| 374 | - android:layout_alignParentRight="true" | |
| 375 | - android:layout_centerVertical="true" | |
| 376 | - android:layout_marginRight="45dp" | |
| 377 | - android:src="@drawable/arrow_tag" /> | |
| 378 | - </RelativeLayout> | |
| 379 | - | |
| 380 | - <RelativeLayout | |
| 381 | - android:id="@+id/item_fpt" | |
| 382 | - android:layout_width="match_parent" | |
| 383 | - android:layout_height="wrap_content" | |
| 384 | - android:background="@drawable/payment_bg" | |
| 385 | - android:visibility="gone" > | |
| 386 | - | |
| 387 | - <ImageView | |
| 388 | - android:layout_width="wrap_content" | |
| 389 | - android:layout_height="wrap_content" | |
| 390 | - android:layout_centerVertical="true" | |
| 391 | - android:layout_marginLeft="10dp" | |
| 392 | - android:src="@drawable/logo_fpt" /> | |
| 393 | - | |
| 394 | - <ImageView | |
| 395 | - android:layout_width="wrap_content" | |
| 396 | - android:layout_height="wrap_content" | |
| 397 | - android:layout_alignParentRight="true" | |
| 398 | - android:layout_centerVertical="true" | |
| 399 | - android:layout_marginRight="45dp" | |
| 400 | - android:src="@drawable/arrow_tag" /> | |
| 401 | - </RelativeLayout> | |
| 402 | - | |
| 403 | - <RelativeLayout | |
| 404 | - android:id="@+id/item_vtt" | |
| 405 | - android:layout_width="match_parent" | |
| 406 | - android:layout_height="wrap_content" | |
| 407 | - android:background="@drawable/payment_bg" | |
| 408 | - android:visibility="gone" > | |
| 409 | - | |
| 410 | - <ImageView | |
| 411 | - android:layout_width="wrap_content" | |
| 412 | - android:layout_height="wrap_content" | |
| 413 | - android:layout_centerVertical="true" | |
| 414 | - android:layout_marginLeft="10dp" | |
| 415 | - android:src="@drawable/logo_vtt" /> | |
| 416 | - | |
| 417 | - <ImageView | |
| 418 | - android:layout_width="wrap_content" | |
| 419 | - android:layout_height="wrap_content" | |
| 420 | - android:layout_alignParentRight="true" | |
| 421 | - android:layout_centerVertical="true" | |
| 422 | - android:layout_marginRight="45dp" | |
| 423 | - android:src="@drawable/arrow_tag" /> | |
| 424 | - </RelativeLayout> | |
| 425 | - | |
| 426 | - <RelativeLayout | |
| 427 | - android:id="@+id/item_mgc" | |
| 428 | - android:layout_width="match_parent" | |
| 429 | - android:layout_height="wrap_content" | |
| 430 | - android:background="@drawable/payment_bg" | |
| 431 | - android:visibility="gone" > | |
| 432 | - | |
| 433 | - <ImageView | |
| 434 | - android:layout_width="wrap_content" | |
| 435 | - android:layout_height="wrap_content" | |
| 436 | - android:layout_centerVertical="true" | |
| 437 | - android:layout_marginLeft="10dp" | |
| 438 | - android:src="@drawable/logo_mgc" /> | |
| 439 | - | |
| 440 | - <ImageView | |
| 441 | - android:layout_width="wrap_content" | |
| 442 | - android:layout_height="wrap_content" | |
| 443 | - android:layout_alignParentRight="true" | |
| 444 | - android:layout_centerVertical="true" | |
| 445 | - android:layout_marginRight="45dp" | |
| 446 | - android:src="@drawable/arrow_tag" /> | |
| 447 | - </RelativeLayout> | |
| 448 | - | |
| 449 | - <RelativeLayout | |
| 450 | - android:id="@+id/item_onc" | |
| 451 | - android:layout_width="match_parent" | |
| 452 | - android:layout_height="wrap_content" | |
| 453 | - android:background="@drawable/payment_bg" | |
| 454 | - android:visibility="gone" > | |
| 455 | - | |
| 456 | - <ImageView | |
| 457 | - android:layout_width="wrap_content" | |
| 458 | - android:layout_height="wrap_content" | |
| 459 | - android:layout_centerVertical="true" | |
| 460 | - android:layout_marginLeft="10dp" | |
| 461 | - android:src="@drawable/logo_onc" /> | |
| 462 | - | |
| 463 | - <ImageView | |
| 464 | - android:layout_width="wrap_content" | |
| 465 | - android:layout_height="wrap_content" | |
| 466 | - android:layout_alignParentRight="true" | |
| 467 | - android:layout_centerVertical="true" | |
| 468 | - android:layout_marginRight="45dp" | |
| 469 | - android:src="@drawable/arrow_tag" /> | |
| 470 | - </RelativeLayout> | |
| 471 | - | |
| 472 | - <RelativeLayout | |
| 473 | - android:id="@+id/item_boa" | |
| 474 | - android:layout_width="match_parent" | |
| 475 | - android:layout_height="wrap_content" | |
| 476 | - android:background="@drawable/payment_bg" | |
| 477 | - android:visibility="gone" > | |
| 478 | - | |
| 479 | - <ImageView | |
| 480 | - android:layout_width="wrap_content" | |
| 481 | - android:layout_height="wrap_content" | |
| 482 | - android:layout_centerVertical="true" | |
| 483 | - android:layout_marginLeft="10dp" | |
| 484 | - android:src="@drawable/logo_boa" /> | |
| 485 | - | |
| 486 | - <ImageView | |
| 487 | - android:layout_width="wrap_content" | |
| 488 | - android:layout_height="wrap_content" | |
| 489 | - android:layout_alignParentRight="true" | |
| 490 | - android:layout_centerVertical="true" | |
| 491 | - android:layout_marginRight="45dp" | |
| 492 | - android:src="@drawable/arrow_tag" /> | |
| 493 | - </RelativeLayout> | |
| 494 | - | |
| 495 | - <RelativeLayout | |
| 496 | - android:id="@+id/item_coda" | |
| 497 | - android:layout_width="match_parent" | |
| 498 | - android:layout_height="wrap_content" | |
| 499 | - android:background="@drawable/payment_bg" | |
| 500 | - android:visibility="gone" > | |
| 501 | - | |
| 502 | - <ImageView | |
| 503 | - android:layout_width="wrap_content" | |
| 504 | - android:layout_height="wrap_content" | |
| 505 | - android:layout_centerVertical="true" | |
| 506 | - android:layout_marginLeft="10dp" | |
| 507 | - android:src="@drawable/logo_coda" /> | |
| 508 | - | |
| 509 | - <ImageView | |
| 510 | - android:layout_width="wrap_content" | |
| 511 | - android:layout_height="wrap_content" | |
| 512 | - android:layout_alignParentRight="true" | |
| 513 | - android:layout_centerVertical="true" | |
| 514 | - android:layout_marginRight="45dp" | |
| 515 | - android:src="@drawable/arrow_tag" /> | |
| 516 | - </RelativeLayout> | |
| 517 | - | |
| 518 | - <RelativeLayout | |
| 519 | - android:id="@+id/item_globe" | |
| 520 | - android:layout_width="match_parent" | |
| 521 | - android:layout_height="wrap_content" | |
| 522 | - android:background="@drawable/payment_bg" | |
| 523 | - android:visibility="gone" > | |
| 524 | - | |
| 525 | - <ImageView | |
| 526 | - android:layout_width="wrap_content" | |
| 527 | - android:layout_height="wrap_content" | |
| 528 | - android:layout_centerVertical="true" | |
| 529 | - android:layout_marginLeft="10dp" | |
| 530 | - android:src="@drawable/logo_globe" /> | |
| 531 | - | |
| 532 | - <ImageView | |
| 533 | - android:layout_width="wrap_content" | |
| 534 | - android:layout_height="wrap_content" | |
| 535 | - android:layout_alignParentRight="true" | |
| 536 | - android:layout_centerVertical="true" | |
| 537 | - android:layout_marginRight="45dp" | |
| 538 | - android:src="@drawable/arrow_tag" /> | |
| 539 | - </RelativeLayout> | |
| 540 | - | |
| 541 | - <RelativeLayout | |
| 542 | - android:id="@+id/item_cherry" | |
| 543 | - android:layout_width="match_parent" | |
| 544 | - android:layout_height="wrap_content" | |
| 545 | - android:background="@drawable/payment_bg" | |
| 546 | - android:visibility="gone" > | |
| 547 | - | |
| 548 | - <ImageView | |
| 549 | - android:layout_width="wrap_content" | |
| 550 | - android:layout_height="wrap_content" | |
| 551 | - android:layout_centerVertical="true" | |
| 552 | - android:layout_marginLeft="10dp" | |
| 553 | - android:src="@drawable/logo_cherry" /> | |
| 554 | - | |
| 555 | - <ImageView | |
| 556 | - android:layout_width="wrap_content" | |
| 557 | - android:layout_height="wrap_content" | |
| 558 | - android:layout_alignParentRight="true" | |
| 559 | - android:layout_centerVertical="true" | |
| 560 | - android:layout_marginRight="45dp" | |
| 561 | - android:src="@drawable/arrow_tag" /> | |
| 562 | - </RelativeLayout> | |
| 563 | - <RelativeLayout | |
| 564 | - android:id="@+id/item_upay" | |
| 565 | - android:layout_width="match_parent" | |
| 566 | - android:layout_height="wrap_content" | |
| 567 | - android:background="@drawable/payment_bg" | |
| 568 | - android:visibility="gone" > | |
| 569 | - | |
| 570 | - <ImageView | |
| 571 | - android:layout_width="wrap_content" | |
| 572 | - android:layout_height="wrap_content" | |
| 573 | - android:layout_centerVertical="true" | |
| 574 | - android:layout_marginLeft="10dp" | |
| 575 | - android:src="@drawable/logo_12call" /> | |
| 576 | - | |
| 577 | - <ImageView | |
| 578 | - android:layout_width="wrap_content" | |
| 579 | - android:layout_height="wrap_content" | |
| 580 | - android:layout_alignParentRight="true" | |
| 581 | - android:layout_centerVertical="true" | |
| 582 | - android:layout_marginRight="45dp" | |
| 583 | - android:src="@drawable/arrow_tag" /> | |
| 584 | - </RelativeLayout> | |
| 585 | - </LinearLayout> | |
| 586 | - | |
| 587 | -</ScrollView> | |
| 588 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,175 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" > | |
| 5 | - | |
| 6 | - <LinearLayout | |
| 7 | - android:layout_width="match_parent" | |
| 8 | - android:layout_height="match_parent" | |
| 9 | - android:orientation="vertical" > | |
| 10 | - | |
| 11 | - <TextView | |
| 12 | - android:id="@+id/choice_title" | |
| 13 | - android:layout_width="match_parent" | |
| 14 | - android:layout_height="wrap_content" | |
| 15 | - android:layout_marginLeft="13dp" | |
| 16 | - android:layout_marginTop="10dp" | |
| 17 | - android:text="@string/paypal_choice_tip" /> | |
| 18 | - | |
| 19 | - <com.gumptech.sdk.view.RadioGroup | |
| 20 | - android:id="@+id/choices" | |
| 21 | - android:layout_width="match_parent" | |
| 22 | - android:layout_height="wrap_content" > | |
| 23 | - | |
| 24 | - <LinearLayout | |
| 25 | - android:layout_width="match_parent" | |
| 26 | - android:layout_height="wrap_content" | |
| 27 | - android:layout_marginBottom="5dp" | |
| 28 | - android:layout_marginTop="5dp" | |
| 29 | - android:orientation="horizontal" | |
| 30 | - android:paddingLeft="13dp" | |
| 31 | - android:paddingRight="13dp" > | |
| 32 | - | |
| 33 | - <RadioButton | |
| 34 | - android:id="@+id/choice1" | |
| 35 | - android:layout_width="fill_parent" | |
| 36 | - android:layout_height="wrap_content" | |
| 37 | - android:layout_marginRight="13dp" | |
| 38 | - android:layout_weight="1" | |
| 39 | - android:background="@drawable/r_bg" | |
| 40 | - android:button="@null" | |
| 41 | - android:gravity="center" | |
| 42 | - android:paddingBottom="10dp" | |
| 43 | - android:paddingTop="10dp" | |
| 44 | - android:text="110" | |
| 45 | - android:textColor="@color/black_text" | |
| 46 | - android:textSize="12sp" /> | |
| 47 | - | |
| 48 | - <RadioButton | |
| 49 | - android:id="@+id/choice2" | |
| 50 | - android:layout_width="fill_parent" | |
| 51 | - android:layout_height="wrap_content" | |
| 52 | - android:layout_marginRight="13dp" | |
| 53 | - android:layout_weight="1" | |
| 54 | - android:background="@drawable/r_bg" | |
| 55 | - android:button="@null" | |
| 56 | - android:gravity="center" | |
| 57 | - android:paddingBottom="10dp" | |
| 58 | - android:paddingTop="10dp" | |
| 59 | - android:text="2" | |
| 60 | - android:textColor="@color/black_text" | |
| 61 | - android:textSize="12sp" /> | |
| 62 | - | |
| 63 | - <RadioButton | |
| 64 | - android:id="@+id/choice3" | |
| 65 | - android:layout_width="fill_parent" | |
| 66 | - android:layout_height="wrap_content" | |
| 67 | - android:layout_weight="1" | |
| 68 | - android:background="@drawable/r_bg" | |
| 69 | - android:button="@null" | |
| 70 | - android:gravity="center" | |
| 71 | - android:paddingBottom="10dp" | |
| 72 | - android:paddingTop="10dp" | |
| 73 | - android:text="3" | |
| 74 | - android:textColor="@color/black_text" | |
| 75 | - android:textSize="12sp" /> | |
| 76 | - </LinearLayout> | |
| 77 | - | |
| 78 | - <LinearLayout | |
| 79 | - android:layout_width="match_parent" | |
| 80 | - android:layout_height="wrap_content" | |
| 81 | - android:orientation="horizontal" | |
| 82 | - android:paddingLeft="13dp" | |
| 83 | - android:paddingRight="13dp" > | |
| 84 | - | |
| 85 | - <RadioButton | |
| 86 | - android:id="@+id/choice4" | |
| 87 | - android:layout_width="fill_parent" | |
| 88 | - android:layout_height="wrap_content" | |
| 89 | - android:layout_marginRight="13dp" | |
| 90 | - android:layout_weight="1" | |
| 91 | - android:background="@drawable/r_bg" | |
| 92 | - android:button="@null" | |
| 93 | - android:gravity="center" | |
| 94 | - android:paddingBottom="10dp" | |
| 95 | - android:paddingTop="10dp" | |
| 96 | - android:text="4" | |
| 97 | - android:textColor="@color/black_text" | |
| 98 | - android:textSize="12sp" /> | |
| 99 | - | |
| 100 | - <RadioButton | |
| 101 | - android:id="@+id/choice5" | |
| 102 | - android:layout_width="fill_parent" | |
| 103 | - android:layout_height="wrap_content" | |
| 104 | - android:layout_marginRight="13dp" | |
| 105 | - android:layout_weight="1" | |
| 106 | - android:background="@drawable/r_bg" | |
| 107 | - android:button="@null" | |
| 108 | - android:gravity="center" | |
| 109 | - android:paddingBottom="10dp" | |
| 110 | - android:paddingTop="10dp" | |
| 111 | - android:text="5" | |
| 112 | - android:textColor="@color/black_text" | |
| 113 | - android:textSize="12sp" /> | |
| 114 | - | |
| 115 | - <RadioButton | |
| 116 | - android:id="@+id/choice6" | |
| 117 | - android:layout_width="fill_parent" | |
| 118 | - android:layout_height="wrap_content" | |
| 119 | - android:layout_weight="1" | |
| 120 | - android:background="@drawable/r_bg" | |
| 121 | - android:button="@null" | |
| 122 | - android:gravity="center" | |
| 123 | - android:paddingBottom="10dp" | |
| 124 | - android:paddingTop="10dp" | |
| 125 | - android:text="6" | |
| 126 | - android:textColor="@color/black_text" | |
| 127 | - android:textSize="12sp" /> | |
| 128 | - </LinearLayout> | |
| 129 | - </com.gumptech.sdk.view.RadioGroup> | |
| 130 | - | |
| 131 | - <LinearLayout | |
| 132 | - android:layout_width="match_parent" | |
| 133 | - android:layout_height="wrap_content" | |
| 134 | - android:layout_marginLeft="13dp" | |
| 135 | - android:layout_marginRight="13dp" | |
| 136 | - android:layout_marginTop="10dp" | |
| 137 | - android:gravity="center_vertical" | |
| 138 | - android:orientation="horizontal" > | |
| 139 | - | |
| 140 | - <EditText | |
| 141 | - android:id="@+id/amount" | |
| 142 | - android:layout_width="match_parent" | |
| 143 | - android:layout_height="wrap_content" | |
| 144 | - android:layout_marginRight="13dp" | |
| 145 | - android:layout_weight="1" | |
| 146 | - android:background="@drawable/et_bg" | |
| 147 | - android:hint="@string/paypal_amount_hint" | |
| 148 | - android:imeOptions="flagNoExtractUi" | |
| 149 | - android:inputType="number" | |
| 150 | - android:visibility="gone" /> | |
| 151 | - | |
| 152 | - <Button | |
| 153 | - android:id="@+id/pay" | |
| 154 | - android:layout_width="match_parent" | |
| 155 | - android:layout_height="wrap_content" | |
| 156 | - android:layout_weight="3" | |
| 157 | - android:background="@drawable/btn_orange_bg" | |
| 158 | - android:text="@string/pay_ok" | |
| 159 | - android:textColor="@android:color/white" /> | |
| 160 | - </LinearLayout> | |
| 161 | - | |
| 162 | - <TextView | |
| 163 | - android:id="@+id/intro" | |
| 164 | - android:layout_width="match_parent" | |
| 165 | - android:layout_height="wrap_content" | |
| 166 | - android:layout_marginBottom="10dp" | |
| 167 | - android:layout_marginLeft="13dp" | |
| 168 | - android:layout_marginRight="13dp" | |
| 169 | - android:layout_marginTop="10dp" | |
| 170 | - android:background="@color/common_gray" | |
| 171 | - android:padding="8dp" | |
| 172 | - android:textColor="@color/black_text" /> | |
| 173 | - </LinearLayout> | |
| 174 | - | |
| 175 | -</ScrollView> | |
| 176 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,95 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="match_parent" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <TextView | |
| 13 | - android:id="@+id/choice_title" | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/header_tip_bg" | |
| 17 | - android:gravity="center_vertical" | |
| 18 | - android:paddingLeft="10dp" | |
| 19 | - android:text="@string/amount_choice_tip" | |
| 20 | - android:textColor="@color/black_text" /> | |
| 21 | - | |
| 22 | - <RelativeLayout | |
| 23 | - android:id="@+id/amount_choice" | |
| 24 | - android:layout_width="match_parent" | |
| 25 | - android:layout_height="wrap_content" | |
| 26 | - android:layout_marginLeft="13dp" | |
| 27 | - android:layout_marginRight="13dp" | |
| 28 | - android:layout_marginTop="16dp" | |
| 29 | - android:background="@drawable/choice_box_bg" > | |
| 30 | - | |
| 31 | - <TextView | |
| 32 | - android:id="@+id/tv_amount" | |
| 33 | - android:layout_width="wrap_content" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:layout_centerVertical="true" | |
| 36 | - android:layout_marginLeft="15dp" | |
| 37 | - android:textColor="@color/black_text" | |
| 38 | - android:textSize="18sp" | |
| 39 | - android:textStyle="italic" | |
| 40 | - android:text="50d" /> | |
| 41 | - | |
| 42 | - <ImageView | |
| 43 | - android:id="@+id/arrow_tag" | |
| 44 | - android:layout_width="35dp" | |
| 45 | - android:layout_height="35dp" | |
| 46 | - android:layout_alignParentRight="true" | |
| 47 | - android:layout_centerVertical="true" | |
| 48 | - android:scaleType="center" | |
| 49 | - android:src="@drawable/ic_arrow_down" /> | |
| 50 | - | |
| 51 | - <View | |
| 52 | - android:layout_width="1dp" | |
| 53 | - android:layout_height="match_parent" | |
| 54 | - android:layout_centerVertical="true" | |
| 55 | - android:layout_toLeftOf="@id/arrow_tag" | |
| 56 | - android:background="@drawable/split_vertical" /> | |
| 57 | - </RelativeLayout> | |
| 58 | - | |
| 59 | - <Button | |
| 60 | - android:id="@+id/pay" | |
| 61 | - android:layout_width="match_parent" | |
| 62 | - android:layout_height="wrap_content" | |
| 63 | - android:layout_marginBottom="20dp" | |
| 64 | - android:layout_marginLeft="13dp" | |
| 65 | - android:layout_marginRight="13dp" | |
| 66 | - android:layout_marginTop="23dp" | |
| 67 | - android:layout_weight="3" | |
| 68 | - android:background="@drawable/btn_orange_bg" | |
| 69 | - android:text="@string/pay_ok" | |
| 70 | - android:textColor="@android:color/white" /> | |
| 71 | - | |
| 72 | - <TextView | |
| 73 | - android:id="@+id/summary_title" | |
| 74 | - android:layout_width="match_parent" | |
| 75 | - android:layout_height="wrap_content" | |
| 76 | - android:layout_marginLeft="13dp" | |
| 77 | - android:layout_marginRight="13dp" | |
| 78 | - android:background="@color/summary_bg" | |
| 79 | - android:paddingLeft="10dp" | |
| 80 | - android:textColor="@color/black_text" | |
| 81 | - android:textSize="12sp" /> | |
| 82 | - | |
| 83 | - <TextView | |
| 84 | - android:id="@+id/intro" | |
| 85 | - android:layout_width="match_parent" | |
| 86 | - android:layout_height="wrap_content" | |
| 87 | - android:layout_marginBottom="10dp" | |
| 88 | - android:layout_marginLeft="13dp" | |
| 89 | - android:layout_marginRight="13dp" | |
| 90 | - android:background="@color/summary_bg" | |
| 91 | - android:padding="8dp" | |
| 92 | - android:textColor="@color/black_text" /> | |
| 93 | - </LinearLayout> | |
| 94 | - | |
| 95 | -</ScrollView> | |
| 96 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,119 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="match_parent" | |
| 5 | - android:background="@color/payment_common_bg" > | |
| 6 | - | |
| 7 | - <LinearLayout | |
| 8 | - android:layout_width="match_parent" | |
| 9 | - android:layout_height="match_parent" | |
| 10 | - android:orientation="vertical" > | |
| 11 | - | |
| 12 | - <TextView | |
| 13 | - android:id="@+id/choice_title" | |
| 14 | - android:layout_width="match_parent" | |
| 15 | - android:layout_height="wrap_content" | |
| 16 | - android:background="@drawable/header_tip_bg" | |
| 17 | - android:gravity="center_vertical" | |
| 18 | - android:paddingLeft="10dp" | |
| 19 | - android:text="@string/amount_choice_tip" | |
| 20 | - android:textColor="@color/black_text" /> | |
| 21 | - | |
| 22 | - <RelativeLayout | |
| 23 | - android:id="@+id/amount_choice" | |
| 24 | - android:layout_width="match_parent" | |
| 25 | - android:layout_height="wrap_content" | |
| 26 | - android:layout_marginLeft="13dp" | |
| 27 | - android:layout_marginRight="13dp" | |
| 28 | - android:layout_marginTop="16dp" | |
| 29 | - android:background="@drawable/choice_box_bg" > | |
| 30 | - | |
| 31 | - <TextView | |
| 32 | - android:id="@+id/tv_amount" | |
| 33 | - android:layout_width="wrap_content" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:layout_centerVertical="true" | |
| 36 | - android:layout_marginLeft="15dp" | |
| 37 | - android:text="50d" | |
| 38 | - android:textColor="@color/black_text" | |
| 39 | - android:textSize="18sp" | |
| 40 | - android:textStyle="italic" /> | |
| 41 | - | |
| 42 | - <ImageView | |
| 43 | - android:id="@+id/arrow_tag" | |
| 44 | - android:layout_width="35dp" | |
| 45 | - android:layout_height="35dp" | |
| 46 | - android:layout_alignParentRight="true" | |
| 47 | - android:layout_centerVertical="true" | |
| 48 | - android:scaleType="center" | |
| 49 | - android:src="@drawable/ic_arrow_down" /> | |
| 50 | - | |
| 51 | - <View | |
| 52 | - android:layout_width="1dp" | |
| 53 | - android:layout_height="match_parent" | |
| 54 | - android:layout_centerVertical="true" | |
| 55 | - android:layout_toLeftOf="@id/arrow_tag" | |
| 56 | - android:background="@drawable/split_vertical" /> | |
| 57 | - </RelativeLayout> | |
| 58 | - | |
| 59 | - <Button | |
| 60 | - android:id="@+id/money" | |
| 61 | - android:layout_width="match_parent" | |
| 62 | - android:layout_height="wrap_content" | |
| 63 | - android:layout_marginLeft="13dp" | |
| 64 | - android:layout_marginRight="13dp" | |
| 65 | - android:layout_marginTop="23dp" | |
| 66 | - android:layout_weight="3" | |
| 67 | - android:background="@drawable/btn_orange_bg" | |
| 68 | - android:text="@string/yandex_money" | |
| 69 | - android:textColor="@android:color/white" /> | |
| 70 | - | |
| 71 | - <Button | |
| 72 | - android:id="@+id/bank" | |
| 73 | - android:layout_width="match_parent" | |
| 74 | - android:layout_height="wrap_content" | |
| 75 | - android:layout_marginLeft="13dp" | |
| 76 | - android:layout_marginRight="13dp" | |
| 77 | - android:layout_marginTop="10dp" | |
| 78 | - android:layout_weight="3" | |
| 79 | - android:background="@drawable/btn_orange_bg" | |
| 80 | - android:text="@string/yandex_bank" | |
| 81 | - android:textColor="@android:color/white" /> | |
| 82 | - | |
| 83 | - <Button | |
| 84 | - android:id="@+id/cash" | |
| 85 | - android:layout_width="match_parent" | |
| 86 | - android:layout_height="wrap_content" | |
| 87 | - android:layout_marginBottom="20dp" | |
| 88 | - android:layout_marginLeft="13dp" | |
| 89 | - android:layout_marginRight="13dp" | |
| 90 | - android:layout_marginTop="10dp" | |
| 91 | - android:layout_weight="3" | |
| 92 | - android:background="@drawable/btn_orange_bg" | |
| 93 | - android:text="@string/yandex_cash" | |
| 94 | - android:textColor="@android:color/white" /> | |
| 95 | - | |
| 96 | - <TextView | |
| 97 | - android:id="@+id/summary_title" | |
| 98 | - android:layout_width="match_parent" | |
| 99 | - android:layout_height="wrap_content" | |
| 100 | - android:layout_marginLeft="13dp" | |
| 101 | - android:layout_marginRight="13dp" | |
| 102 | - android:background="@color/summary_bg" | |
| 103 | - android:paddingLeft="10dp" | |
| 104 | - android:textColor="@color/black_text" | |
| 105 | - android:textSize="12sp" /> | |
| 106 | - | |
| 107 | - <TextView | |
| 108 | - android:id="@+id/intro" | |
| 109 | - android:layout_width="match_parent" | |
| 110 | - android:layout_height="wrap_content" | |
| 111 | - android:layout_marginBottom="10dp" | |
| 112 | - android:layout_marginLeft="13dp" | |
| 113 | - android:layout_marginRight="13dp" | |
| 114 | - android:background="@color/summary_bg" | |
| 115 | - android:padding="8dp" | |
| 116 | - android:textColor="@color/black_text" /> | |
| 117 | - </LinearLayout> | |
| 118 | - | |
| 119 | -</ScrollView> | |
| 120 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,17 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="wrap_content" | |
| 5 | - android:background="@drawable/item_card_choice_bg" | |
| 6 | - android:orientation="vertical" | |
| 7 | - android:padding="10dp" > | |
| 8 | - | |
| 9 | - <TextView | |
| 10 | - android:id="@+id/name" | |
| 11 | - android:layout_width="wrap_content" | |
| 12 | - android:layout_height="wrap_content" | |
| 13 | - android:layout_gravity="center_vertical" | |
| 14 | - android:textColor="@color/item_card_choice_text" | |
| 15 | - android:textSize="16sp" /> | |
| 16 | - | |
| 17 | -</LinearLayout> | |
| 18 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,24 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:layout_width="match_parent" | |
| 4 | - android:layout_height="wrap_content" | |
| 5 | - android:background="@drawable/pay_title_bg" > | |
| 6 | - | |
| 7 | - <ImageView | |
| 8 | - android:id="@+id/back" | |
| 9 | - android:layout_width="50dp" | |
| 10 | - android:layout_height="50dp" | |
| 11 | - android:layout_alignParentLeft="true" | |
| 12 | - android:layout_centerVertical="true" | |
| 13 | - android:scaleType="center" | |
| 14 | - android:src="@drawable/ic_back_light" /> | |
| 15 | - | |
| 16 | - <TextView | |
| 17 | - android:id="@+id/title" | |
| 18 | - android:layout_width="wrap_content" | |
| 19 | - android:layout_height="wrap_content" | |
| 20 | - android:layout_centerInParent="true" | |
| 21 | - android:textColor="@android:color/white" | |
| 22 | - android:textSize="18sp" /> | |
| 23 | - | |
| 24 | -</RelativeLayout> | |
| 25 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,100 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | - android:id="@+id/upay_topup_bg" | |
| 4 | - android:layout_width="match_parent" | |
| 5 | - android:layout_height="match_parent" | |
| 6 | - android:orientation="vertical" | |
| 7 | - android:background="#000000" | |
| 8 | - > | |
| 9 | - <ScrollView | |
| 10 | - android:layout_width="match_parent" | |
| 11 | - android:layout_height="wrap_content" | |
| 12 | - android:scrollbars="vertical" | |
| 13 | - android:layout_centerHorizontal="true" | |
| 14 | - android:layout_centerVertical="true" | |
| 15 | - android:background="@drawable/upay_dialog_m" | |
| 16 | - android:layout_marginLeft="20dp" | |
| 17 | - android:layout_marginRight="20dp"> | |
| 18 | - <LinearLayout | |
| 19 | - android:layout_width="fill_parent" | |
| 20 | - android:layout_height="wrap_content" | |
| 21 | - android:orientation="vertical" | |
| 22 | - > | |
| 23 | - <ImageView | |
| 24 | - android:id="@+id/img_topup_title" | |
| 25 | - android:layout_width="158dp" | |
| 26 | - android:layout_height="110dp" | |
| 27 | - android:layout_marginTop="10dp" | |
| 28 | - android:src="@drawable/upay_topup_call" | |
| 29 | - android:layout_gravity="center_horizontal" | |
| 30 | - /> | |
| 31 | - | |
| 32 | - <LinearLayout | |
| 33 | - android:layout_width="wrap_content" | |
| 34 | - android:layout_height="wrap_content" | |
| 35 | - android:layout_marginTop="20dp" | |
| 36 | - android:layout_marginLeft="10dp" | |
| 37 | - android:layout_marginRight="10dp"> | |
| 38 | - <TextView | |
| 39 | - android:layout_width="wrap_content" | |
| 40 | - android:layout_height="wrap_content" | |
| 41 | - android:text="@string/card" | |
| 42 | - android:textSize="16dp" | |
| 43 | - android:textColor="#000"/> | |
| 44 | - <TextView | |
| 45 | - android:layout_width="wrap_content" | |
| 46 | - android:layout_height="wrap_content" | |
| 47 | - android:text="*" | |
| 48 | - android:textSize="16dp" | |
| 49 | - android:layout_marginLeft="5dp" | |
| 50 | - android:textColor="#FF0033"/> | |
| 51 | - </LinearLayout> | |
| 52 | - | |
| 53 | - <EditText | |
| 54 | - android:id="@+id/et_card_number" | |
| 55 | - android:layout_width="fill_parent" | |
| 56 | - android:layout_height="wrap_content" | |
| 57 | - android:hint="@string/card_hint" | |
| 58 | - android:layout_marginLeft="10dp" | |
| 59 | - android:layout_marginRight="10dp" | |
| 60 | - android:layout_marginTop="10dp" | |
| 61 | - android:textSize="16dp" | |
| 62 | - android:textColor="#000"/> | |
| 63 | - | |
| 64 | - | |
| 65 | - <LinearLayout | |
| 66 | - android:layout_width="fill_parent" | |
| 67 | - android:layout_height="wrap_content" | |
| 68 | - android:layout_marginTop="20dp" | |
| 69 | - android:layout_marginBottom="10dp" | |
| 70 | - android:layout_gravity="center_horizontal"> | |
| 71 | - <Button | |
| 72 | - android:id="@+id/butn_ok" | |
| 73 | - android:layout_width="wrap_content" | |
| 74 | - android:layout_height="40dp" | |
| 75 | - android:background="@drawable/upay_ok" | |
| 76 | - android:layout_gravity="left" | |
| 77 | - android:layout_marginLeft="10dp" | |
| 78 | - android:layout_marginRight="10dp" | |
| 79 | - android:text="@string/button_ok" | |
| 80 | - android:layout_weight="1" | |
| 81 | - android:textColor="#fff" | |
| 82 | - android:textSize="18dp" | |
| 83 | - /> | |
| 84 | - <Button | |
| 85 | - android:id="@+id/butn_cancel" | |
| 86 | - android:layout_width="wrap_content" | |
| 87 | - android:layout_height="40dp" | |
| 88 | - android:background="@drawable/upay_cancel" | |
| 89 | - android:layout_gravity="right" | |
| 90 | - android:layout_marginRight="10dp" | |
| 91 | - android:layout_weight="1" | |
| 92 | - android:text="@string/button_cancel" | |
| 93 | - android:textColor="#fff" | |
| 94 | - android:layout_marginLeft="10dp" | |
| 95 | - android:textSize="18dp" | |
| 96 | - /> | |
| 97 | - </LinearLayout> | |
| 98 | - </LinearLayout> | |
| 99 | -</ScrollView> | |
| 100 | -</RelativeLayout> | |
| 101 | 0 | \ No newline at end of file |
| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | -<?xml version="1.0" encoding="utf-8"?> | |
| 2 | -<resources> | |
| 3 | - | |
| 4 | - <string name="card">Card number :</string> | |
| 5 | - <string name="card_hint">Card number</string> | |
| 6 | - <string name="button_ok">Top up</string> | |
| 7 | - <string name="button_cancel">Cancel</string> | |
| 8 | - | |
| 9 | - <string name="progress_message">Please wait...</string> | |
| 10 | -</resources> |
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | - package="com.gumptech.loginsdk.sample" | |
| 4 | - android:versionCode="4" | |
| 5 | - android:versionName="1.4" > | |
| 3 | + package="com.loginsdk.sample" | |
| 4 | + android:versionCode="6" | |
| 5 | + android:versionName="1.6" > | |
| 6 | 6 | |
| 7 | 7 | <uses-sdk |
| 8 | 8 | android:minSdkVersion="8" |
| ... | ... | @@ -10,6 +10,7 @@ import android.widget.TextView; |
| 10 | 10 | import android.widget.Toast; |
| 11 | 11 | |
| 12 | 12 | import com.gumptech.sdk.GumpSDK; |
| 13 | +import com.loginsdk.sample.R; | |
| 13 | 14 | |
| 14 | 15 | public class MainActivity extends Activity implements GumpSDK.Callback { |
| 15 | 16 | |
| ... | ... | @@ -46,12 +47,12 @@ public class MainActivity extends Activity implements GumpSDK.Callback { |
| 46 | 47 | payInfo.putString("product", "元宝"); |
| 47 | 48 | payInfo.putFloat("amount", 0.0f); |
| 48 | 49 | payInfo.putString("extraInfo", "This is demo!"); |
| 49 | - payInfo.putString("serverId", "B4003"); | |
| 50 | - payInfo.putString("roleId", "10010"); | |
| 50 | + payInfo.putString("serverId", "5001"); | |
| 51 | + payInfo.putString("roleId", "41081"); | |
| 51 | 52 | GumpSDK.pay(MainActivity.this, payInfo); |
| 52 | 53 | } |
| 53 | 54 | }); |
| 54 | - GumpSDK.init(getApplicationContext(), appId, "f702defbc67edb455949f46babab0c18", "1000"); | |
| 55 | + GumpSDK.init(getApplicationContext(), appId, "93a27b0bd99bac3e68a440b48aa421ab", "1000"); | |
| 55 | 56 | GumpSDK.setLogoShow(true); |
| 56 | 57 | tvVersion.setText("SDK Version:" + GumpSDK.getVersion()); |
| 57 | 58 | GumpSDK.start(this); |
| ... | ... | @@ -71,17 +72,19 @@ public class MainActivity extends Activity implements GumpSDK.Callback { |
| 71 | 72 | } else if (resultCode == RESULT_CANCELED) { |
| 72 | 73 | Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show(); |
| 73 | 74 | } |
| 74 | - } else if (requestCode == GumpSDK.PAY_REQUEST_CODE) { | |
| 75 | - if (resultCode == RESULT_OK) { | |
| 76 | - int code = data.getIntExtra("code", -1); | |
| 77 | - String msg = data.getStringExtra("msg"); | |
| 78 | - String orderId = data.getStringExtra("orderId"); | |
| 79 | - String extraInfo = data.getStringExtra("extraInfo"); | |
| 80 | - Toast.makeText(this, "pay result: " + code + "," + msg + ",orderId:" + orderId + ",extraInfo:" + extraInfo, Toast.LENGTH_SHORT).show(); | |
| 81 | - } else if (resultCode == RESULT_CANCELED) { | |
| 82 | - Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show(); | |
| 83 | - } | |
| 84 | - } | |
| 75 | + } | |
| 76 | + //@Deprecated | |
| 77 | +// else if (requestCode == GumpSDK.PAY_REQUEST_CODE) { | |
| 78 | +// if (resultCode == RESULT_OK) { | |
| 79 | +// int code = data.getIntExtra("code", -1); | |
| 80 | +// String msg = data.getStringExtra("msg"); | |
| 81 | +// String orderId = data.getStringExtra("orderId"); | |
| 82 | +// String extraInfo = data.getStringExtra("extraInfo"); | |
| 83 | +// Toast.makeText(this, "pay result: " + code + "," + msg + ",orderId:" + orderId + ",extraInfo:" + extraInfo, Toast.LENGTH_SHORT).show(); | |
| 84 | +// } else if (resultCode == RESULT_CANCELED) { | |
| 85 | +// Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show(); | |
| 86 | +// } | |
| 87 | +// } | |
| 85 | 88 | super.onActivityResult(requestCode, resultCode, data); |
| 86 | 89 | } |
| 87 | 90 |