Commit f633382ee8e0d18c952d38b22bfc5796882c21fd
1 parent
af9c440cf4
Exists in
master
version3.3.7
升级bluePay的SDK,增加line支付
Showing 52 changed files with 1039 additions and 240 deletions Side-by-side Diff
- android/GameSDKRelease/libs/BluePay_3.4.0.1209_pro.jar
- android/GameSDKRelease/libs/BluePay_3.6.2.0414pro.jar
- android/GameSDKRelease/libs/GameSDK_v3.3.6_proguard.jar
- android/GameSDKRelease/libs/GameSDK_v3.3.7_proguard.jar
- android/GameSDKRelease/res/anim/loading.xml
- android/GameSDKRelease/res/drawable-hdpi/blue_arrow_back.png
- android/GameSDKRelease/res/drawable-hdpi/bluep_logo_line.png
- android/GameSDKRelease/res/drawable-hdpi/bluep_logo_onetwocall.jpg
- android/GameSDKRelease/res/drawable-hdpi/bluep_logo_telenor.png
- android/GameSDKRelease/res/drawable-hdpi/bluep_logo_telkomsel.png
- android/GameSDKRelease/res/drawable-hdpi/btn_back.png
- android/GameSDKRelease/res/drawable-hdpi/btn_back_pressed.png
- android/GameSDKRelease/res/drawable-hdpi/gump_loading.png
- android/GameSDKRelease/res/drawable-hdpi/loading.png
- android/GameSDKRelease/res/drawable-hdpi/refresh.png
- android/GameSDKRelease/res/drawable-hdpi/refresh_down.png
- android/GameSDKRelease/res/drawable-ldpi/blue_arrow_back.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg.9.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg_hl.9.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg_selector.xml
- android/GameSDKRelease/res/drawable-ldpi/bluep_icon_one_calltip.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_icon_true_tip.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_input_bg.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_12call.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_happy.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_mobifone.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_truemoney.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_unipin.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_viettel.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_vinaphone.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_logo_vtc.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_payarrow.jpg
- android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_high.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_normal.png
- android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_selector.xml
- android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_bg.9.png
- android/GameSDKRelease/res/drawable-ldpi/bluepay_logo.png
- android/GameSDKRelease/res/drawable-xhdpi/gump_loading.png
- android/GameSDKRelease/res/drawable-xhdpi/loading.png
- android/GameSDKRelease/res/drawable/icon.png
- android/GameSDKRelease/res/drawable/loading_progress.xml
- android/GameSDKRelease/res/layout/activity_pay_ui.xml
- android/GameSDKRelease/res/layout/bluep_by_offline.xml
- android/GameSDKRelease/res/layout/bluep_by_otc_landscape.xml
- android/GameSDKRelease/res/layout/bluep_by_otc_portrait.xml
- android/GameSDKRelease/res/layout/bluep_smslist.xml
- android/GameSDKRelease/res/layout/fragment_mod_password.xml
- android/GameSDKRelease/res/layout/item_drop_down.xml
- android/GameSDKRelease/res/layout/view_loading.xml
- android/GameSDKSample/AndroidManifest.xml
- android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
- doc/AndroidDocument.md
android/GameSDKRelease/libs/BluePay_3.4.0.1209_pro.jar
No preview for this file type
android/GameSDKRelease/libs/BluePay_3.6.2.0414pro.jar
No preview for this file type
android/GameSDKRelease/libs/GameSDK_v3.3.6_proguard.jar
No preview for this file type
android/GameSDKRelease/libs/GameSDK_v3.3.7_proguard.jar
No preview for this file type
android/GameSDKRelease/res/anim/loading.xml
| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<rotate xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | + android:repeatMode="restart" | |
| 4 | + android:fromDegrees="0" | |
| 5 | + android:toDegrees="+360" | |
| 6 | + android:pivotX="50%" | |
| 7 | + android:pivotY="50%" | |
| 8 | + android:interpolator="@android:anim/accelerate_interpolator" | |
| 9 | + android:duration="1500" | |
| 10 | + android:repeatCount="-1" | |
| 11 | + | |
| 12 | + > | |
| 13 | + | |
| 14 | + | |
| 15 | +</rotate> |
android/GameSDKRelease/res/drawable-hdpi/blue_arrow_back.png
955 Bytes
android/GameSDKRelease/res/drawable-hdpi/bluep_logo_line.png
44.2 KB
android/GameSDKRelease/res/drawable-hdpi/bluep_logo_onetwocall.jpg
7.31 KB
android/GameSDKRelease/res/drawable-hdpi/bluep_logo_telenor.png
17.8 KB
android/GameSDKRelease/res/drawable-hdpi/bluep_logo_telkomsel.png
18.7 KB
android/GameSDKRelease/res/drawable-hdpi/btn_back.png
3.01 KB
android/GameSDKRelease/res/drawable-hdpi/btn_back_pressed.png
2.87 KB
android/GameSDKRelease/res/drawable-hdpi/gump_loading.png
7.04 KB
android/GameSDKRelease/res/drawable-hdpi/loading.png
android/GameSDKRelease/res/drawable-hdpi/refresh.png
5.41 KB
android/GameSDKRelease/res/drawable-hdpi/refresh_down.png
3.36 KB
android/GameSDKRelease/res/drawable-ldpi/blue_arrow_back.png
955 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg.9.png
258 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg_hl.9.png
269 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_btnbg_selector.xml
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<selector | |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | + <item android:state_focused="true" android:drawable="@drawable/bluep_btnbg" /> | |
| 5 | + <item android:state_pressed="true" android:drawable="@drawable/bluep_btnbg_hl" /> | |
| 6 | + <item android:state_pressed="false" android:drawable="@drawable/bluep_btnbg" /> | |
| 7 | +</selector> |
android/GameSDKRelease/res/drawable-ldpi/bluep_icon_one_calltip.jpg
44.6 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_icon_true_tip.jpg
57.4 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_input_bg.png
380 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_12call.jpg
7.31 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_happy.jpg
17.7 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_mobifone.jpg
24.2 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_truemoney.png
4.96 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_unipin.png
11.2 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_viettel.jpg
23.3 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_vinaphone.jpg
25.4 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_logo_vtc.jpg
75.1 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_payarrow.jpg
11.5 KB
android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_high.png
715 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_normal.png
672 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_selector.xml
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<selector | |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 4 | + <item android:state_focused="true" android:drawable="@drawable/bluep_paylist_arrow_normal" /> | |
| 5 | + <item android:state_pressed="true" android:drawable="@drawable/bluep_paylist_arrow_high" /> | |
| 6 | + <item android:state_pressed="false" android:drawable="@drawable/bluep_paylist_arrow_normal" /> | |
| 7 | +</selector> |
android/GameSDKRelease/res/drawable-ldpi/bluep_paylist_bg.9.png
248 Bytes
android/GameSDKRelease/res/drawable-ldpi/bluepay_logo.png
13.4 KB
android/GameSDKRelease/res/drawable-xhdpi/gump_loading.png
11.2 KB
android/GameSDKRelease/res/drawable-xhdpi/loading.png
11.2 KB
android/GameSDKRelease/res/drawable/icon.png
20.8 KB
android/GameSDKRelease/res/drawable/loading_progress.xml
android/GameSDKRelease/res/layout/activity_pay_ui.xml
| ... | ... | @@ -0,0 +1,60 @@ |
| 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="match_parent" | |
| 5 | + android:orientation="vertical" > | |
| 6 | + | |
| 7 | + <RelativeLayout | |
| 8 | + android:layout_width="match_parent" | |
| 9 | + android:layout_height="45dp" | |
| 10 | + android:background="#2DD1E2" > | |
| 11 | + | |
| 12 | + <Button | |
| 13 | + android:id="@+id/btn_back" | |
| 14 | + android:layout_width="wrap_content" | |
| 15 | + android:layout_height="wrap_content" | |
| 16 | + android:layout_centerVertical="true" | |
| 17 | + android:text="Cancel" | |
| 18 | + android:background="@null" | |
| 19 | + android:textColor="@android:color/white" | |
| 20 | + android:onClick="backto" /> | |
| 21 | + | |
| 22 | + <TextView | |
| 23 | + android:id="@+id/tv_payment" | |
| 24 | + android:layout_width="wrap_content" | |
| 25 | + android:layout_height="wrap_content" | |
| 26 | + android:layout_centerHorizontal="true" | |
| 27 | + android:layout_centerVertical="true" | |
| 28 | + android:text="BluePay" | |
| 29 | + android:textColor="@android:color/white" | |
| 30 | + android:textSize="25sp" /> | |
| 31 | + | |
| 32 | + <Button | |
| 33 | + android:id="@+id/btn_complete" | |
| 34 | + android:layout_width="25dp" | |
| 35 | + android:layout_height="25dp" | |
| 36 | + android:layout_alignParentRight="true" | |
| 37 | + android:layout_centerVertical="true" | |
| 38 | + android:layout_marginRight="10dp" | |
| 39 | + android:background="@drawable/refresh" | |
| 40 | + android:onClick="complete" | |
| 41 | + android:textSize="15sp" | |
| 42 | + /> | |
| 43 | + | |
| 44 | + </RelativeLayout> | |
| 45 | + <FrameLayout | |
| 46 | + android:layout_gravity="center" | |
| 47 | + android:layout_width="match_parent" | |
| 48 | + android:layout_height="match_parent"> | |
| 49 | + <TextView | |
| 50 | + android:layout_gravity="center" | |
| 51 | + android:layout_width="wrap_content" | |
| 52 | + android:layout_height="wrap_content" | |
| 53 | + android:id="@+id/tv_error"/> | |
| 54 | + <WebView | |
| 55 | + android:id="@+id/wb_content" | |
| 56 | + android:layout_width="match_parent" | |
| 57 | + android:layout_height="match_parent" /> | |
| 58 | + </FrameLayout> | |
| 59 | + | |
| 60 | +</LinearLayout> | |
| 0 | 61 | \ No newline at end of file |
android/GameSDKRelease/res/layout/bluep_by_offline.xml
| ... | ... | @@ -0,0 +1,63 @@ |
| 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="match_parent" | |
| 5 | + android:orientation="vertical" > | |
| 6 | + | |
| 7 | + <EditText | |
| 8 | + android:id="@+id/et_msisdn" | |
| 9 | + android:layout_width="match_parent" | |
| 10 | + android:layout_height="wrap_content" | |
| 11 | + android:ems="10" | |
| 12 | + android:hint="Silahkan masukan nomor telepon anda" > | |
| 13 | + | |
| 14 | + <requestFocus android:layout_width="wrap_content" /> | |
| 15 | + </EditText> | |
| 16 | + | |
| 17 | + | |
| 18 | + <RadioGroup | |
| 19 | + android:id="@+id/rg_pay_channel" | |
| 20 | + android:layout_width="wrap_content" | |
| 21 | + android:layout_height="wrap_content" | |
| 22 | + android:layout_below="@+id/et_msisdn" | |
| 23 | + android:layout_centerHorizontal="true" | |
| 24 | + android:layout_marginTop="17dp" | |
| 25 | + android:orientation="horizontal" > | |
| 26 | + | |
| 27 | + <RadioButton | |
| 28 | + android:id="@+id/rbtn_otc" | |
| 29 | + android:layout_width="wrap_content" | |
| 30 | + android:layout_height="wrap_content" | |
| 31 | + android:layout_alignParentRight="true" | |
| 32 | + android:layout_gravity="center_vertical" | |
| 33 | + android:layout_marginRight="30dp" | |
| 34 | + android:text="OTC" /> | |
| 35 | + | |
| 36 | + <RadioButton | |
| 37 | + android:id="@+id/rbtn_atm" | |
| 38 | + android:layout_width="wrap_content" | |
| 39 | + android:layout_height="wrap_content" | |
| 40 | + android:layout_gravity="center_vertical" | |
| 41 | + android:text="ATM" /> | |
| 42 | + </RadioGroup> | |
| 43 | + | |
| 44 | + <Spinner | |
| 45 | + android:id="@+id/sp_pay_channel" | |
| 46 | + android:layout_width="wrap_content" | |
| 47 | + android:layout_height="wrap_content" | |
| 48 | + android:layout_below="@+id/rg_pay_channel" | |
| 49 | + android:spinnerMode="dropdown" | |
| 50 | + android:layout_centerHorizontal="true" | |
| 51 | + /> | |
| 52 | + <TextView | |
| 53 | + android:id="@+id/tv_tips" | |
| 54 | + android:layout_width="wrap_content" | |
| 55 | + android:layout_height="wrap_content" | |
| 56 | + android:layout_below="@id/sp_pay_channel" | |
| 57 | + android:layout_alignParentLeft="true" | |
| 58 | + android:layout_margin="10dp" | |
| 59 | + android:textColor="#FF0000" | |
| 60 | + android:text="ssssssss" /> | |
| 61 | + | |
| 62 | + | |
| 63 | +</RelativeLayout> | |
| 0 | 64 | \ No newline at end of file |
android/GameSDKRelease/res/layout/bluep_by_otc_landscape.xml
| ... | ... | @@ -3,124 +3,344 @@ |
| 3 | 3 | android:id="@+id/scrollView1" |
| 4 | 4 | android:layout_width="350sp" |
| 5 | 5 | android:layout_height="wrap_content" |
| 6 | + android:layout_gravity="center" | |
| 7 | + android:layout_margin="10dp" | |
| 6 | 8 | android:background="#ffffffff" > |
| 7 | - | |
| 8 | - <LinearLayout | |
| 9 | - android:layout_width="fill_parent" | |
| 10 | - android:layout_height="380sp" | |
| 11 | - android:gravity="center" | |
| 12 | - android:id="@+id/payByPortrait" | |
| 13 | - android:orientation="vertical" > | |
| 14 | - | |
| 9 | + | |
| 10 | + <LinearLayout | |
| 11 | + android:id="@+id/payByPortrait" | |
| 12 | + android:layout_width="fill_parent" | |
| 13 | + android:layout_height="380sp" | |
| 14 | + android:layout_margin="10dp" | |
| 15 | + android:orientation="vertical" > | |
| 16 | + | |
| 15 | 17 | <RelativeLayout |
| 16 | - android:layout_width="fill_parent" | |
| 17 | - android:layout_height="50sp" > | |
| 18 | - | |
| 19 | - <ImageView | |
| 20 | - android:id="@+id/headerLogo" | |
| 21 | - android:layout_width="200sp" | |
| 22 | - android:layout_height="wrap_content" | |
| 23 | - android:layout_alignParentLeft ="true" | |
| 24 | - android:layout_marginLeft="5sp" | |
| 25 | - android:layout_marginTop="5sp" | |
| 26 | - android:layout_centerVertical="true" | |
| 27 | - android:background="@drawable/bluepay_logo" /> | |
| 28 | - | |
| 29 | - </RelativeLayout> | |
| 30 | - | |
| 18 | + android:layout_width="fill_parent" | |
| 19 | + android:layout_height="50sp" > | |
| 20 | + | |
| 21 | + <ImageView | |
| 22 | + android:id="@+id/headerLogo" | |
| 23 | + android:layout_width="200sp" | |
| 24 | + android:layout_height="wrap_content" | |
| 25 | + android:layout_alignParentLeft="true" | |
| 26 | + android:layout_centerVertical="true" | |
| 27 | + android:layout_marginLeft="5sp" | |
| 28 | + android:layout_marginTop="5sp" | |
| 29 | + android:background="@drawable/bluepay_logo" /> | |
| 30 | + </RelativeLayout> | |
| 31 | + | |
| 31 | 32 | <RelativeLayout |
| 32 | - android:layout_width="wrap_content" | |
| 33 | - android:layout_weight="0.6" | |
| 34 | - android:paddingTop="5sp" | |
| 35 | - android:layout_height="wrap_content"> | |
| 36 | - | |
| 37 | - | |
| 33 | + android:layout_width="wrap_content" | |
| 34 | + android:layout_height="wrap_content" | |
| 35 | + android:layout_weight="0.6" | |
| 36 | + android:paddingTop="5sp" > | |
| 37 | + | |
| 38 | 38 | <ImageView |
| 39 | - android:id="@+id/tipIv" | |
| 40 | - android:layout_width="200sp" | |
| 41 | - android:layout_height="100sp" | |
| 42 | - android:layout_centerHorizontal="true" | |
| 43 | - android:src="@drawable/bluep_logo_onetwocall"/> | |
| 44 | - | |
| 39 | + android:id="@+id/tipIv" | |
| 40 | + android:layout_width="200sp" | |
| 41 | + android:layout_height="100sp" | |
| 42 | + android:layout_centerHorizontal="true" | |
| 43 | + android:src="@drawable/bluep_logo_12call" /> | |
| 44 | + | |
| 45 | 45 | <LinearLayout |
| 46 | - android:layout_width="wrap_content" | |
| 47 | - android:layout_height="wrap_content" | |
| 48 | - android:layout_below="@id/tipIv" | |
| 49 | - android:layout_centerHorizontal="true" | |
| 50 | - android:layout_marginTop="5sp" | |
| 51 | - android:orientation="vertical" > | |
| 52 | - | |
| 53 | - <TextView | |
| 54 | - android:id="@+id/textView1" | |
| 55 | - android:layout_width="fill_parent" | |
| 56 | - android:layout_height="wrap_content" | |
| 57 | - android:gravity="center_horizontal" | |
| 58 | - android:singleLine="true" | |
| 59 | - android:text="Please Input your Card No." | |
| 60 | - android:textSize="20px" | |
| 61 | - android:visibility="gone" /> | |
| 62 | - | |
| 63 | - <EditText | |
| 64 | - android:id="@+id/payEdit" | |
| 65 | - android:layout_width="240sp" | |
| 66 | - android:layout_height="wrap_content" | |
| 67 | - android:layout_gravity="center" | |
| 68 | - android:layout_weight="1" | |
| 69 | - android:background="@drawable/bluep_input_bg" | |
| 70 | - android:ems="10" | |
| 71 | - android:gravity="left" | |
| 72 | - android:hint="Please Input your Card No." | |
| 73 | - android:inputType="number" | |
| 46 | + android:id="@+id/linearLayout1" | |
| 47 | + android:layout_width="wrap_content" | |
| 48 | + android:layout_height="wrap_content" | |
| 49 | + android:layout_below="@id/tipIv" | |
| 50 | + android:layout_centerHorizontal="true" | |
| 51 | + android:layout_marginTop="5sp" | |
| 52 | + android:orientation="vertical" > | |
| 53 | + | |
| 54 | + <!-- | |
| 55 | + android:inputType="number" | |
| 74 | 56 | android:numeric="integer" |
| 75 | - android:focusableInTouchMode="true" | |
| 76 | - android:padding="10sp" | |
| 77 | - android:textColor="#ff000000" | |
| 78 | - android:textSize="18sp" > | |
| 79 | - | |
| 80 | - </EditText> | |
| 81 | - | |
| 82 | - <TextView | |
| 83 | - android:id="@+id/payTip" | |
| 84 | - android:layout_width="wrap_content" | |
| 85 | - android:layout_height="wrap_content" | |
| 86 | - android:singleLine="true" | |
| 87 | - android:text="" | |
| 88 | - android:textColor="#ffff0000" | |
| 89 | - android:textSize="14px" | |
| 90 | - android:layout_weight="0.4" | |
| 91 | - android:visibility="gone" /> | |
| 92 | - </LinearLayout> | |
| 93 | - | |
| 57 | + --> | |
| 58 | + | |
| 59 | + <TableLayout | |
| 60 | + android:layout_width="wrap_content" | |
| 61 | + android:layout_height="wrap_content" > | |
| 62 | + | |
| 63 | + <TableRow | |
| 64 | + android:layout_width="wrap_content" | |
| 65 | + android:layout_height="wrap_content" > | |
| 66 | + | |
| 67 | + <TextView | |
| 68 | + android:id="@+id/Bluep_payCardNoTip" | |
| 69 | + android:layout_width="fill_parent" | |
| 70 | + android:layout_height="40sp" | |
| 71 | + android:layout_marginRight="5sp" | |
| 72 | + android:gravity="center_vertical" | |
| 73 | + android:singleLine="true" | |
| 74 | + android:text="Card No. :" | |
| 75 | + android:textSize="16sp" | |
| 76 | + android:visibility="visible" /> | |
| 77 | + | |
| 78 | + <TableRow | |
| 79 | + android:layout_width="wrap_content" | |
| 80 | + android:layout_height="wrap_content" > | |
| 81 | + | |
| 82 | + <EditText | |
| 83 | + android:id="@+id/Bluep_paySerialNoEdit" | |
| 84 | + android:layout_width="240sp" | |
| 85 | + android:layout_height="wrap_content" | |
| 86 | + android:layout_gravity="center" | |
| 87 | + android:layout_weight="1" | |
| 88 | + android:background="@drawable/bluep_input_bg" | |
| 89 | + android:ems="10" | |
| 90 | + android:focusableInTouchMode="true" | |
| 91 | + android:gravity="left" | |
| 92 | + android:hint="Please Input your serial No." | |
| 93 | + android:padding="10sp" | |
| 94 | + android:singleLine="true" | |
| 95 | + android:textColor="#ff000000" | |
| 96 | + android:textSize="18sp" > | |
| 97 | + </EditText> | |
| 98 | + | |
| 99 | + <LinearLayout | |
| 100 | + android:id="@+id/rl_serialNo_for_unipin" | |
| 101 | + android:layout_width="240sp" | |
| 102 | + android:layout_height="wrap_content" | |
| 103 | + android:layout_gravity="center" | |
| 104 | + android:layout_weight="1" | |
| 105 | + android:visibility="gone" > | |
| 106 | + | |
| 107 | + <EditText | |
| 108 | + android:inputType="number" | |
| 109 | + android:id="@+id/et_Seral_first" | |
| 110 | + android:layout_width="70sp" | |
| 111 | + android:layout_height="wrap_content" | |
| 112 | + android:layout_gravity="center" | |
| 113 | + android:layout_weight="999" | |
| 114 | + android:background="@drawable/bluep_input_bg" | |
| 115 | + android:ems="10" | |
| 116 | + android:focusableInTouchMode="true" | |
| 117 | + android:gravity="center" | |
| 118 | + android:hint="0000" | |
| 119 | + android:singleLine="true" | |
| 120 | + android:textColor="#ff000000" | |
| 121 | + android:textSize="18sp" > | |
| 122 | + </EditText> | |
| 123 | + | |
| 124 | + <TextView | |
| 125 | + android:layout_width="10sp" | |
| 126 | + android:layout_height="match_parent" | |
| 127 | + android:gravity="center" | |
| 128 | + android:text=" - " | |
| 129 | + android:textColor="#ff000000" | |
| 130 | + android:textSize="18sp" /> | |
| 131 | + | |
| 132 | + <EditText | |
| 133 | + android:id="@+id/et_Seral_second" | |
| 134 | + android:layout_width="70sp" | |
| 135 | + android:layout_height="wrap_content" | |
| 136 | + android:layout_gravity="center" | |
| 137 | + android:layout_weight="999" | |
| 138 | + android:background="@drawable/bluep_input_bg" | |
| 139 | + android:ems="10" | |
| 140 | + android:focusableInTouchMode="true" | |
| 141 | + android:gravity="center" | |
| 142 | + android:inputType="number" | |
| 143 | + android:hint="1111" | |
| 144 | + android:singleLine="true" | |
| 145 | + android:textColor="#ff000000" | |
| 146 | + android:textSize="18sp" > | |
| 147 | + </EditText> | |
| 148 | + | |
| 149 | + <TextView | |
| 150 | + android:layout_width="10sp" | |
| 151 | + android:layout_height="match_parent" | |
| 152 | + android:gravity="center" | |
| 153 | + android:text=" - " | |
| 154 | + android:textColor="#ff000000" | |
| 155 | + android:textSize="18sp" /> | |
| 156 | + | |
| 157 | + <EditText | |
| 158 | + android:id="@+id/et_Seral_third" | |
| 159 | + android:layout_width="70sp" | |
| 160 | + android:layout_height="wrap_content" | |
| 161 | + android:layout_gravity="center" | |
| 162 | + android:layout_weight="999" | |
| 163 | + android:inputType="number" | |
| 164 | + android:background="@drawable/bluep_input_bg" | |
| 165 | + android:ems="10" | |
| 166 | + android:focusableInTouchMode="true" | |
| 167 | + android:gravity="center" | |
| 168 | + android:hint="2222" | |
| 169 | + android:singleLine="true" | |
| 170 | + android:textColor="#ff000000" | |
| 171 | + android:textSize="18sp" > | |
| 172 | + </EditText> | |
| 173 | + | |
| 174 | + <TextView | |
| 175 | + android:layout_width="10sp" | |
| 176 | + android:layout_height="match_parent" | |
| 177 | + android:gravity="center" | |
| 178 | + android:text=" - " | |
| 179 | + android:textColor="#ff000000" | |
| 180 | + android:textSize="18sp" /> | |
| 181 | + | |
| 182 | + <EditText | |
| 183 | + android:id="@+id/et_Seral_fourth" | |
| 184 | + android:layout_width="70sp" | |
| 185 | + android:layout_height="wrap_content" | |
| 186 | + android:layout_gravity="center" | |
| 187 | + android:layout_weight="999" | |
| 188 | + android:inputType="number" | |
| 189 | + android:background="@drawable/bluep_input_bg" | |
| 190 | + android:ems="10" | |
| 191 | + android:focusableInTouchMode="true" | |
| 192 | + android:gravity="center" | |
| 193 | + android:hint="3333" | |
| 194 | + android:singleLine="true" | |
| 195 | + android:textColor="#ff000000" | |
| 196 | + android:textSize="18sp" > | |
| 197 | + </EditText> | |
| 198 | + </LinearLayout> | |
| 199 | + </TableRow> | |
| 200 | + </TableRow> | |
| 201 | + | |
| 202 | + <TableRow | |
| 203 | + android:layout_width="wrap_content" | |
| 204 | + android:layout_height="wrap_content" | |
| 205 | + android:layout_marginTop="5sp" > | |
| 206 | + | |
| 207 | + <TextView | |
| 208 | + android:id="@+id/Bluep_paySerialNoTip" | |
| 209 | + android:layout_width="fill_parent" | |
| 210 | + android:layout_height="fill_parent" | |
| 211 | + android:layout_marginRight="5sp" | |
| 212 | + android:gravity="center_vertical" | |
| 213 | + android:singleLine="true" | |
| 214 | + android:text="Serial No. :" | |
| 215 | + android:textSize="16sp" | |
| 216 | + android:visibility="visible" /> | |
| 217 | + | |
| 218 | + <TableRow | |
| 219 | + android:layout_width="wrap_content" | |
| 220 | + android:layout_height="wrap_content" > | |
| 221 | + | |
| 222 | + <EditText | |
| 223 | + android:id="@+id/payEdit" | |
| 224 | + android:layout_width="240sp" | |
| 225 | + android:layout_height="wrap_content" | |
| 226 | + android:layout_gravity="center" | |
| 227 | + android:layout_weight="1" | |
| 228 | + android:background="@drawable/bluep_input_bg" | |
| 229 | + android:ems="10" | |
| 230 | + android:focusableInTouchMode="true" | |
| 231 | + android:gravity="left" | |
| 232 | + android:hint="Please Input your Card No." | |
| 233 | + android:padding="10sp" | |
| 234 | + android:textColor="#ff000000" | |
| 235 | + android:textSize="18sp" > | |
| 236 | + </EditText> | |
| 237 | + | |
| 238 | + <LinearLayout | |
| 239 | + android:id="@+id/rl_CardNo_for_unipin" | |
| 240 | + android:layout_width="240sp" | |
| 241 | + android:layout_height="wrap_content" | |
| 242 | + android:layout_gravity="center" | |
| 243 | + android:layout_marginTop="3sp" | |
| 244 | + android:layout_weight="1" | |
| 245 | + android:focusableInTouchMode="true" | |
| 246 | + android:gravity="left" | |
| 247 | + android:orientation="horizontal" | |
| 248 | + android:visibility="gone" > | |
| 249 | + | |
| 250 | + <TextView | |
| 251 | + android:layout_width="60sp" | |
| 252 | + android:layout_height="match_parent" | |
| 253 | + android:gravity="center_vertical" | |
| 254 | + android:text="IDMB - " | |
| 255 | + android:textColor="#ff000000" | |
| 256 | + android:textSize="18sp" /> | |
| 257 | + | |
| 258 | + <EditText | |
| 259 | + android:id="@+id/et_unipin_first_input" | |
| 260 | + android:layout_width="30sp" | |
| 261 | + android:layout_height="match_parent" | |
| 262 | + android:background="@drawable/bluep_input_bg" | |
| 263 | + android:ems="10" | |
| 264 | + android:inputType="number" | |
| 265 | + android:focusableInTouchMode="true" | |
| 266 | + android:gravity="center" | |
| 267 | + android:hint="1" | |
| 268 | + android:singleLine="true" | |
| 269 | + android:textColor="#ff000000" | |
| 270 | + android:textSize="18sp" > | |
| 271 | + </EditText> | |
| 272 | + | |
| 273 | + <TextView | |
| 274 | + android:layout_width="40sp" | |
| 275 | + android:layout_height="match_parent" | |
| 276 | + android:gravity="center" | |
| 277 | + android:text="- S -" | |
| 278 | + android:textColor="#ff000000" | |
| 279 | + android:textSize="18sp" /> | |
| 280 | + | |
| 281 | + <EditText | |
| 282 | + android:id="@+id/et_unipin_last_input" | |
| 283 | + android:layout_width="match_parent" | |
| 284 | + android:layout_height="match_parent" | |
| 285 | + android:background="@drawable/bluep_input_bg" | |
| 286 | + android:ems="10" | |
| 287 | + android:focusableInTouchMode="true" | |
| 288 | + android:gravity="center" | |
| 289 | + android:inputType="number" | |
| 290 | + android:hint="00000000" | |
| 291 | + android:singleLine="true" | |
| 292 | + android:textColor="#ff000000" | |
| 293 | + android:textSize="18sp" > | |
| 294 | + </EditText> | |
| 295 | + </LinearLayout> | |
| 296 | + </TableRow> | |
| 297 | + </TableRow> | |
| 298 | + </TableLayout> | |
| 299 | + | |
| 300 | + <TextView | |
| 301 | + android:id="@+id/payTip" | |
| 302 | + android:layout_width="wrap_content" | |
| 303 | + android:layout_height="wrap_content" | |
| 304 | + android:layout_marginTop="2sp" | |
| 305 | + android:layout_weight="0.4" | |
| 306 | + android:singleLine="true" | |
| 307 | + android:text="" | |
| 308 | + android:textColor="#ffff0000" | |
| 309 | + android:textSize="20sp" | |
| 310 | + android:visibility="gone" /> | |
| 311 | + </LinearLayout> | |
| 94 | 312 | </RelativeLayout> |
| 95 | - | |
| 96 | - <RelativeLayout | |
| 97 | - android:layout_width="match_parent" | |
| 98 | - android:layout_marginTop="5sp" | |
| 99 | - android:layout_weight="0.6" | |
| 100 | - android:layout_height="40sp" > | |
| 101 | - | |
| 102 | - <Button android:id="@+id/paybyYes" | |
| 103 | - android:layout_width="wrap_content" | |
| 104 | - android:layout_height="wrap_content" | |
| 105 | - android:layout_marginLeft="65sp" | |
| 106 | - android:layout_alignParentLeft="true" | |
| 107 | - android:layout_centerVertical="true" | |
| 108 | - android:text="Ok" | |
| 109 | - android:textColor="#ffffffff" | |
| 110 | - android:background="@drawable/bluep_btnbg_selector" /> | |
| 111 | - | |
| 112 | - <Button | |
| 113 | - android:id="@+id/paybyNo" | |
| 114 | - android:layout_width="wrap_content" | |
| 115 | - android:layout_height="wrap_content" | |
| 116 | - android:layout_marginRight="65sp" | |
| 117 | - android:layout_alignParentRight="true" | |
| 118 | - android:layout_centerVertical="true" | |
| 119 | - android:text="Cancel" | |
| 120 | - android:textColor="#ffffffff" | |
| 121 | - android:background="@drawable/bluep_btnbg_selector" /> | |
| 122 | - | |
| 123 | - <!-- <ImageButton | |
| 313 | + | |
| 314 | + <RelativeLayout | |
| 315 | + android:layout_width="match_parent" | |
| 316 | + android:layout_height="40sp" | |
| 317 | + android:layout_marginTop="5sp" | |
| 318 | + android:layout_weight="0.6" > | |
| 319 | + | |
| 320 | + <Button | |
| 321 | + android:id="@+id/paybyYes" | |
| 322 | + android:layout_width="wrap_content" | |
| 323 | + android:layout_height="wrap_content" | |
| 324 | + android:layout_alignParentLeft="true" | |
| 325 | + android:layout_centerVertical="true" | |
| 326 | + android:layout_marginLeft="65sp" | |
| 327 | + android:background="@drawable/bluep_btnbg_selector" | |
| 328 | + android:text="Ok" | |
| 329 | + android:textColor="#ffffffff" /> | |
| 330 | + | |
| 331 | + <Button | |
| 332 | + android:id="@+id/paybyNo" | |
| 333 | + android:layout_width="wrap_content" | |
| 334 | + android:layout_height="wrap_content" | |
| 335 | + android:layout_alignParentRight="true" | |
| 336 | + android:layout_centerVertical="true" | |
| 337 | + android:layout_marginRight="65sp" | |
| 338 | + android:background="@drawable/bluep_btnbg_selector" | |
| 339 | + android:text="Cancel" | |
| 340 | + android:textColor="#ffffffff" /> | |
| 341 | + | |
| 342 | + <!-- | |
| 343 | + <ImageButton | |
| 124 | 344 | android:id="@+id/paybyYes" |
| 125 | 345 | android:layout_width="wrap_content" |
| 126 | 346 | android:layout_height="wrap_content" |
| ... | ... | @@ -138,11 +358,30 @@ |
| 138 | 358 | android:layout_alignParentRight="true" |
| 139 | 359 | android:layout_centerVertical="true" |
| 140 | 360 | android:src="@drawable/g_no_selector" |
| 141 | - android:background="@null" /> --> | |
| 142 | - | |
| 143 | - | |
| 144 | - </RelativeLayout> | |
| 145 | - | |
| 146 | - </LinearLayout> | |
| 361 | + android:background="@null" /> | |
| 362 | + --> | |
| 363 | + | |
| 364 | + </RelativeLayout> | |
| 365 | + | |
| 366 | + <TextView | |
| 367 | + android:id="@+id/txtView_line" | |
| 368 | + android:layout_width="fill_parent" | |
| 369 | + android:layout_height="1sp" | |
| 370 | + android:layout_marginLeft="3sp" | |
| 371 | + android:layout_marginRight="3sp" | |
| 372 | + android:layout_marginTop="5sp" | |
| 373 | + android:background="#55000000" | |
| 374 | + android:visibility="gone" /> | |
| 375 | + | |
| 376 | + <TextView | |
| 377 | + android:id="@+id/txtView_desc" | |
| 378 | + android:layout_width="fill_parent" | |
| 379 | + android:layout_height="wrap_content" | |
| 380 | + android:layout_marginTop="5sp" | |
| 381 | + android:gravity="center" | |
| 382 | + android:text="" | |
| 383 | + android:textSize="16sp" | |
| 384 | + android:visibility="gone" /> | |
| 385 | + </LinearLayout> | |
| 147 | 386 | |
| 148 | 387 | </ScrollView> |
| 149 | 388 | \ No newline at end of file |
android/GameSDKRelease/res/layout/bluep_by_otc_portrait.xml
| ... | ... | @@ -3,125 +3,356 @@ |
| 3 | 3 | android:id="@+id/scrollView1" |
| 4 | 4 | android:layout_width="300sp" |
| 5 | 5 | android:layout_height="wrap_content" |
| 6 | + android:layout_gravity="center" | |
| 7 | + android:layout_margin="10dp" | |
| 6 | 8 | android:background="#ffffffff" > |
| 7 | - | |
| 8 | - <LinearLayout | |
| 9 | - android:layout_width="fill_parent" | |
| 10 | - android:layout_height="400sp" | |
| 11 | - android:gravity="center" | |
| 12 | - android:id="@+id/payByPortrait" | |
| 13 | - android:orientation="vertical" > | |
| 14 | - | |
| 9 | + | |
| 10 | + <LinearLayout | |
| 11 | + android:id="@+id/payByPortrait" | |
| 12 | + android:layout_width="fill_parent" | |
| 13 | + android:layout_height="400sp" | |
| 14 | + android:layout_gravity="center" | |
| 15 | + android:layout_margin="10dp" | |
| 16 | + android:gravity="center" | |
| 17 | + android:orientation="vertical" > | |
| 18 | + | |
| 15 | 19 | <RelativeLayout |
| 16 | - android:layout_width="fill_parent" | |
| 17 | - android:layout_height="50sp" > | |
| 18 | - | |
| 19 | - <ImageView | |
| 20 | - android:id="@+id/headerLogo" | |
| 21 | - android:layout_width="200sp" | |
| 22 | - android:layout_height="wrap_content" | |
| 23 | - android:layout_centerVertical="true" | |
| 24 | - android:layout_alignParentLeft="true" | |
| 25 | - android:layout_marginLeft="5sp" | |
| 26 | - android:layout_marginTop="5sp" | |
| 27 | - android:background="@drawable/bluepay_logo" /> | |
| 28 | - | |
| 29 | - </RelativeLayout> | |
| 30 | - | |
| 20 | + android:layout_width="fill_parent" | |
| 21 | + android:layout_height="50sp" > | |
| 22 | + | |
| 23 | + <ImageView | |
| 24 | + android:id="@+id/headerLogo" | |
| 25 | + android:layout_width="200sp" | |
| 26 | + android:layout_height="wrap_content" | |
| 27 | + android:layout_alignParentLeft="true" | |
| 28 | + android:layout_centerVertical="true" | |
| 29 | + android:layout_marginLeft="5sp" | |
| 30 | + android:layout_marginTop="5sp" | |
| 31 | + android:background="@drawable/bluepay_logo" /> | |
| 32 | + </RelativeLayout> | |
| 33 | + | |
| 31 | 34 | <RelativeLayout |
| 32 | - android:layout_width="wrap_content" | |
| 33 | - android:layout_weight="0.6" | |
| 34 | - android:paddingTop="5sp" | |
| 35 | - android:layout_height="wrap_content"> | |
| 36 | - | |
| 37 | - | |
| 35 | + android:layout_width="wrap_content" | |
| 36 | + android:layout_height="wrap_content" | |
| 37 | + android:layout_weight="0.6" | |
| 38 | + android:paddingTop="5sp" > | |
| 39 | + | |
| 38 | 40 | <ImageView |
| 39 | - android:id="@+id/tipIv" | |
| 40 | - android:layout_width="200sp" | |
| 41 | - android:layout_height="100sp" | |
| 42 | - android:layout_centerHorizontal="true" | |
| 43 | - android:src="@drawable/bluep_logo_onetwocall"/> | |
| 44 | - | |
| 41 | + android:id="@+id/tipIv" | |
| 42 | + android:layout_width="200sp" | |
| 43 | + android:layout_height="100sp" | |
| 44 | + android:layout_centerHorizontal="true" | |
| 45 | + android:src="@drawable/bluep_logo_12call" /> | |
| 46 | + | |
| 45 | 47 | <LinearLayout |
| 46 | - android:layout_width="wrap_content" | |
| 47 | - android:layout_height="wrap_content" | |
| 48 | - android:layout_below="@id/tipIv" | |
| 49 | - android:layout_centerHorizontal="true" | |
| 50 | - android:layout_marginTop="5sp" | |
| 51 | - android:orientation="vertical" > | |
| 52 | - | |
| 53 | - <TextView | |
| 54 | - android:id="@+id/textView1" | |
| 55 | - android:layout_width="fill_parent" | |
| 56 | - android:layout_height="wrap_content" | |
| 57 | - android:gravity="center_horizontal" | |
| 58 | - android:singleLine="true" | |
| 59 | - android:text="Please Input your Card No." | |
| 60 | - android:textSize="20px" | |
| 61 | - android:visibility="gone" /> | |
| 62 | - | |
| 63 | - <EditText | |
| 64 | - android:id="@+id/payEdit" | |
| 65 | - android:layout_width="240sp" | |
| 66 | - android:layout_height="wrap_content" | |
| 67 | - android:layout_gravity="center" | |
| 68 | - android:layout_weight="1" | |
| 69 | - android:background="@drawable/bluep_input_bg" | |
| 70 | - android:ems="10" | |
| 71 | - android:gravity="left" | |
| 72 | - android:hint="Please Input your Card No." | |
| 73 | - android:inputType="number" | |
| 48 | + android:layout_width="wrap_content" | |
| 49 | + android:layout_height="wrap_content" | |
| 50 | + android:layout_below="@id/tipIv" | |
| 51 | + android:layout_centerHorizontal="true" | |
| 52 | + android:layout_marginTop="5sp" | |
| 53 | + android:orientation="vertical" > | |
| 54 | + | |
| 55 | + <TextView | |
| 56 | + android:id="@+id/tv_tips" | |
| 57 | + android:layout_width="fill_parent" | |
| 58 | + android:layout_height="wrap_content" | |
| 59 | + android:gravity="center_horizontal" | |
| 60 | + android:singleLine="true" | |
| 61 | + android:text="Please Input your Card No." | |
| 62 | + android:textSize="20px" | |
| 63 | + android:visibility="gone" /> | |
| 64 | + | |
| 65 | + <!-- | |
| 66 | + android:inputType="number" | |
| 74 | 67 | android:numeric="integer" |
| 75 | - android:focusableInTouchMode="true" | |
| 76 | - android:padding="10sp" | |
| 77 | - android:textColor="#ff000000" | |
| 78 | - android:textSize="18sp" > | |
| 79 | - | |
| 80 | - </EditText> | |
| 81 | - | |
| 82 | - <TextView | |
| 83 | - android:id="@+id/payTip" | |
| 84 | - android:layout_width="wrap_content" | |
| 85 | - android:layout_height="wrap_content" | |
| 86 | - android:singleLine="true" | |
| 87 | - android:text="" | |
| 88 | - android:textColor="#ffff0000" | |
| 89 | - android:textSize="14px" | |
| 90 | - android:layout_weight="0.4" | |
| 91 | - android:visibility="gone" /> | |
| 92 | - </LinearLayout> | |
| 93 | - | |
| 68 | + --> | |
| 69 | + | |
| 70 | + <TableLayout | |
| 71 | + android:layout_width="wrap_content" | |
| 72 | + android:layout_height="wrap_content" | |
| 73 | + android:layout_alignLeft="@+id/tipIv" | |
| 74 | + android:layout_alignTop="@+id/linearLayout1" > | |
| 75 | + | |
| 76 | + <TableRow | |
| 77 | + android:layout_width="wrap_content" | |
| 78 | + android:layout_height="wrap_content" > | |
| 79 | + | |
| 80 | + <TextView | |
| 81 | + android:id="@+id/Bluep_payCardNoTip" | |
| 82 | + android:layout_width="fill_parent" | |
| 83 | + android:layout_height="wrap_content" | |
| 84 | + android:singleLine="true" | |
| 85 | + android:text="Card No." | |
| 86 | + android:textSize="16sp" | |
| 87 | + android:visibility="visible" /> | |
| 88 | + </TableRow> | |
| 89 | + | |
| 90 | + <TableRow | |
| 91 | + android:layout_width="wrap_content" | |
| 92 | + android:layout_height="wrap_content" > | |
| 93 | + | |
| 94 | + <EditText | |
| 95 | + android:id="@+id/payEdit" | |
| 96 | + android:layout_width="240sp" | |
| 97 | + android:layout_height="wrap_content" | |
| 98 | + android:layout_gravity="center" | |
| 99 | + android:layout_marginTop="3sp" | |
| 100 | + android:layout_weight="1" | |
| 101 | + android:background="@drawable/bluep_input_bg" | |
| 102 | + android:ems="10" | |
| 103 | + android:focusableInTouchMode="true" | |
| 104 | + android:gravity="left" | |
| 105 | + android:visibility="visible" | |
| 106 | + android:hint="Please Input your Card No." | |
| 107 | + android:padding="10sp" | |
| 108 | + | |
| 109 | + android:textColor="#ff000000" | |
| 110 | + android:textSize="18sp" > | |
| 111 | + </EditText> | |
| 112 | + | |
| 113 | + <LinearLayout | |
| 114 | + android:id="@+id/rl_serialNo_for_unipin" | |
| 115 | + android:layout_width="wrap_content" | |
| 116 | + android:layout_height="wrap_content" | |
| 117 | + android:layout_weight="1" | |
| 118 | + android:visibility="gone" > | |
| 119 | + | |
| 120 | + <EditText | |
| 121 | + android:id="@+id/et_Seral_first" | |
| 122 | + android:layout_width="55dp" | |
| 123 | + android:layout_height="wrap_content" | |
| 124 | + android:layout_gravity="center" | |
| 125 | + android:background="@drawable/bluep_input_bg" | |
| 126 | + android:ems="10" | |
| 127 | + android:focusableInTouchMode="true" | |
| 128 | + android:gravity="center" | |
| 129 | + android:hint="0000" | |
| 130 | + android:inputType="number" | |
| 131 | + android:singleLine="true" | |
| 132 | + android:textColor="#ff000000" | |
| 133 | + android:textSize="18sp" > | |
| 134 | + | |
| 135 | + <requestFocus /> | |
| 136 | + </EditText> | |
| 137 | + | |
| 138 | + <TextView | |
| 139 | + android:layout_width="10sp" | |
| 140 | + android:layout_height="match_parent" | |
| 141 | + android:layout_weight="999" | |
| 142 | + | |
| 143 | + android:gravity="center" | |
| 144 | + android:text=" - " | |
| 145 | + android:textColor="#ff000000" | |
| 146 | + android:textSize="18sp" /> | |
| 147 | + | |
| 148 | + <EditText | |
| 149 | + android:id="@+id/et_Seral_second" | |
| 150 | + android:layout_width="70sp" | |
| 151 | + android:layout_height="wrap_content" | |
| 152 | + android:layout_gravity="center" | |
| 153 | + android:inputType="number" | |
| 154 | + android:layout_weight="999" | |
| 155 | + android:background="@drawable/bluep_input_bg" | |
| 156 | + android:ems="10" | |
| 157 | + android:focusableInTouchMode="true" | |
| 158 | + android:gravity="center" | |
| 159 | + android:hint="1111" | |
| 160 | + android:singleLine="true" | |
| 161 | + android:textColor="#ff000000" | |
| 162 | + android:textSize="18sp" /> | |
| 163 | + | |
| 164 | + <TextView | |
| 165 | + android:layout_width="10sp" | |
| 166 | + android:layout_height="match_parent" | |
| 167 | + android:layout_weight="999" | |
| 168 | + android:gravity="center" | |
| 169 | + android:text=" - " | |
| 170 | + android:textColor="#ff000000" | |
| 171 | + android:textSize="18sp" /> | |
| 172 | + | |
| 173 | + <EditText | |
| 174 | + android:id="@+id/et_Seral_third" | |
| 175 | + android:layout_width="70sp" | |
| 176 | + android:layout_height="wrap_content" | |
| 177 | + android:layout_gravity="center" | |
| 178 | + android:layout_weight="999" | |
| 179 | + android:inputType="number" | |
| 180 | + android:background="@drawable/bluep_input_bg" | |
| 181 | + android:ems="10" | |
| 182 | + android:focusableInTouchMode="true" | |
| 183 | + android:gravity="center" | |
| 184 | + android:hint="2222" | |
| 185 | + android:singleLine="true" | |
| 186 | + android:textColor="#ff000000" | |
| 187 | + android:textSize="18sp" /> | |
| 188 | + | |
| 189 | + <TextView | |
| 190 | + android:layout_width="10sp" | |
| 191 | + android:layout_height="match_parent" | |
| 192 | + android:layout_weight="999" | |
| 193 | + android:gravity="center" | |
| 194 | + android:text=" - " | |
| 195 | + android:textColor="#ff000000" | |
| 196 | + android:textSize="18sp" /> | |
| 197 | + | |
| 198 | + <EditText | |
| 199 | + android:id="@+id/et_Seral_fourth" | |
| 200 | + android:layout_width="58dp" | |
| 201 | + android:layout_height="wrap_content" | |
| 202 | + android:background="@drawable/bluep_input_bg" | |
| 203 | + android:ems="10" | |
| 204 | + android:focusableInTouchMode="true" | |
| 205 | + android:gravity="center" | |
| 206 | + android:hint="3333" | |
| 207 | + android:inputType="number" | |
| 208 | + android:singleLine="true" | |
| 209 | + android:textColor="#ff000000" | |
| 210 | + android:textSize="18sp" /> | |
| 211 | + | |
| 212 | + </LinearLayout> | |
| 213 | + </TableRow> | |
| 214 | + | |
| 215 | + <TableRow | |
| 216 | + android:layout_width="wrap_content" | |
| 217 | + android:layout_height="wrap_content" > | |
| 218 | + | |
| 219 | + <TextView | |
| 220 | + android:id="@+id/Bluep_paySerialNoTip" | |
| 221 | + android:layout_width="fill_parent" | |
| 222 | + android:layout_height="wrap_content" | |
| 223 | + android:layout_marginTop="5sp" | |
| 224 | + android:singleLine="true" | |
| 225 | + android:text="Serial No." | |
| 226 | + android:textSize="16sp" | |
| 227 | + android:visibility="visible" /> | |
| 228 | + </TableRow> | |
| 229 | + | |
| 230 | + <TableRow | |
| 231 | + android:layout_width="wrap_content" | |
| 232 | + android:layout_height="wrap_content" > | |
| 233 | + | |
| 234 | + <EditText | |
| 235 | + android:id="@+id/Bluep_paySerialNoEdit" | |
| 236 | + android:layout_width="240sp" | |
| 237 | + android:layout_height="wrap_content" | |
| 238 | + android:layout_gravity="center" | |
| 239 | + android:layout_weight="1" | |
| 240 | + android:background="@drawable/bluep_input_bg" | |
| 241 | + android:ems="10" | |
| 242 | + android:focusableInTouchMode="true" | |
| 243 | + android:gravity="left" | |
| 244 | + android:hint="Please Input your serial No." | |
| 245 | + android:padding="10sp" | |
| 246 | + android:singleLine="true" | |
| 247 | + android:textColor="#ff000000" | |
| 248 | + android:textSize="18sp" > | |
| 249 | + </EditText> | |
| 250 | + | |
| 251 | + <LinearLayout | |
| 252 | + android:id="@+id/rl_CardNo_for_unipin" | |
| 253 | + android:layout_width="wrap_content" | |
| 254 | + android:layout_height="wrap_content" | |
| 255 | + android:layout_marginTop="3sp" | |
| 256 | + android:layout_weight="1" | |
| 257 | + android:focusableInTouchMode="true" | |
| 258 | + android:gravity="left" | |
| 259 | + android:orientation="horizontal" | |
| 260 | + android:visibility="gone" > | |
| 261 | + | |
| 262 | + <TextView | |
| 263 | + android:layout_width="60dp" | |
| 264 | + android:layout_height="match_parent" | |
| 265 | + android:gravity="center_vertical" | |
| 266 | + android:text="IDMB - " | |
| 267 | + android:textColor="#ff000000" | |
| 268 | + android:textSize="18sp" /> | |
| 269 | + | |
| 270 | + <EditText | |
| 271 | + android:id="@+id/et_unipin_first_input" | |
| 272 | + android:layout_width="30sp" | |
| 273 | + android:layout_height="match_parent" | |
| 274 | + android:layout_weight="1" | |
| 275 | + android:background="@drawable/bluep_input_bg" | |
| 276 | + android:ems="10" | |
| 277 | + android:focusableInTouchMode="true" | |
| 278 | + android:gravity="center" | |
| 279 | + android:hint="1" | |
| 280 | + android:inputType="number" | |
| 281 | + android:singleLine="true" | |
| 282 | + android:textColor="#ff000000" | |
| 283 | + android:textSize="18sp" /> | |
| 284 | + | |
| 285 | + <TextView | |
| 286 | + android:layout_width="40sp" | |
| 287 | + android:layout_height="match_parent" | |
| 288 | + android:gravity="center" | |
| 289 | + android:text="- S -" | |
| 290 | + android:textColor="#ff000000" | |
| 291 | + android:textSize="18sp" /> | |
| 292 | + | |
| 293 | + <EditText | |
| 294 | + android:id="@+id/et_unipin_last_input" | |
| 295 | + android:layout_width="150dp" | |
| 296 | + android:layout_height="match_parent" | |
| 297 | + android:background="@drawable/bluep_input_bg" | |
| 298 | + android:ems="10" | |
| 299 | + android:focusableInTouchMode="true" | |
| 300 | + android:gravity="center" | |
| 301 | + android:hint="00000000" | |
| 302 | + android:inputType="number" | |
| 303 | + android:singleLine="true" | |
| 304 | + android:textColor="#ff000000" | |
| 305 | + android:textSize="18sp" /> | |
| 306 | + </LinearLayout> | |
| 307 | + | |
| 308 | + </TableRow> | |
| 309 | + | |
| 310 | + </TableLayout> | |
| 311 | + | |
| 312 | + <TextView | |
| 313 | + android:id="@+id/payTip" | |
| 314 | + android:layout_width="wrap_content" | |
| 315 | + android:layout_height="wrap_content" | |
| 316 | + android:layout_marginTop="2sp" | |
| 317 | + android:layout_weight="0.4" | |
| 318 | + android:singleLine="true" | |
| 319 | + android:text="" | |
| 320 | + android:textColor="#ffff0000" | |
| 321 | + android:textSize="20sp" | |
| 322 | + android:visibility="gone" /> | |
| 323 | + </LinearLayout> | |
| 94 | 324 | </RelativeLayout> |
| 95 | - | |
| 96 | - <RelativeLayout | |
| 97 | - android:layout_width="match_parent" | |
| 98 | - android:layout_marginTop="5sp" | |
| 99 | - android:layout_weight="0.6" | |
| 100 | - android:layout_height="40sp" > | |
| 101 | - | |
| 102 | - | |
| 103 | - <Button android:id="@+id/paybyYes" | |
| 104 | - android:layout_width="wrap_content" | |
| 105 | - android:layout_height="wrap_content" | |
| 106 | - android:layout_marginLeft="30sp" | |
| 107 | - android:layout_alignParentLeft="true" | |
| 108 | - android:layout_centerVertical="true" | |
| 109 | - android:text="Ok" | |
| 110 | - android:textColor="#ffffffff" | |
| 111 | - android:background="@drawable/bluep_btnbg_selector" /> | |
| 112 | - | |
| 113 | - <Button | |
| 114 | - android:id="@+id/paybyNo" | |
| 115 | - android:layout_width="wrap_content" | |
| 116 | - android:layout_height="wrap_content" | |
| 117 | - android:layout_marginRight="30sp" | |
| 118 | - android:layout_alignParentRight="true" | |
| 119 | - android:layout_centerVertical="true" | |
| 120 | - android:text="Cancel" | |
| 121 | - android:textColor="#ffffffff" | |
| 122 | - android:background="@drawable/bluep_btnbg_selector" /> | |
| 123 | - | |
| 124 | - <!-- <ImageButton | |
| 325 | + | |
| 326 | + <RelativeLayout | |
| 327 | + android:layout_width="match_parent" | |
| 328 | + android:layout_height="40sp" | |
| 329 | + android:layout_marginTop="5sp" | |
| 330 | + android:layout_weight="0.6" > | |
| 331 | + | |
| 332 | + <Button | |
| 333 | + android:id="@+id/paybyYes" | |
| 334 | + android:layout_width="wrap_content" | |
| 335 | + android:layout_height="wrap_content" | |
| 336 | + android:layout_alignParentLeft="true" | |
| 337 | + android:layout_centerVertical="true" | |
| 338 | + android:layout_marginLeft="30sp" | |
| 339 | + android:background="@drawable/bluep_btnbg_selector" | |
| 340 | + android:text="Ok" | |
| 341 | + android:textColor="#ffffffff" /> | |
| 342 | + | |
| 343 | + <Button | |
| 344 | + android:id="@+id/paybyNo" | |
| 345 | + android:layout_width="wrap_content" | |
| 346 | + android:layout_height="wrap_content" | |
| 347 | + android:layout_alignParentRight="true" | |
| 348 | + android:layout_centerVertical="true" | |
| 349 | + android:layout_marginRight="30sp" | |
| 350 | + android:background="@drawable/bluep_btnbg_selector" | |
| 351 | + android:text="Cancel" | |
| 352 | + android:textColor="#ffffffff" /> | |
| 353 | + | |
| 354 | + <!-- | |
| 355 | + <ImageButton | |
| 125 | 356 | android:id="@+id/paybyYes" |
| 126 | 357 | android:layout_width="wrap_content" |
| 127 | 358 | android:layout_height="wrap_content" |
| ... | ... | @@ -139,11 +370,30 @@ |
| 139 | 370 | android:layout_alignParentRight="true" |
| 140 | 371 | android:layout_centerVertical="true" |
| 141 | 372 | android:src="@drawable/g_no_selector" |
| 142 | - android:background="@null" /> --> | |
| 143 | - | |
| 144 | - | |
| 145 | - </RelativeLayout> | |
| 146 | - | |
| 147 | - </LinearLayout> | |
| 373 | + android:background="@null" /> | |
| 374 | + --> | |
| 375 | + | |
| 376 | + </RelativeLayout> | |
| 377 | + | |
| 378 | + <TextView | |
| 379 | + android:id="@+id/txtView_line" | |
| 380 | + android:layout_width="fill_parent" | |
| 381 | + android:layout_height="1sp" | |
| 382 | + android:layout_marginLeft="3sp" | |
| 383 | + android:layout_marginRight="3sp" | |
| 384 | + android:layout_marginTop="5sp" | |
| 385 | + android:background="#55000000" | |
| 386 | + android:visibility="gone" /> | |
| 387 | + | |
| 388 | + <TextView | |
| 389 | + android:id="@+id/txtView_desc" | |
| 390 | + android:layout_width="fill_parent" | |
| 391 | + android:layout_height="wrap_content" | |
| 392 | + android:layout_marginTop="5sp" | |
| 393 | + android:gravity="center" | |
| 394 | + android:text="" | |
| 395 | + android:textSize="16sp" | |
| 396 | + android:visibility="gone" /> | |
| 397 | + </LinearLayout> | |
| 148 | 398 | |
| 149 | 399 | </ScrollView> |
| 150 | 400 | \ No newline at end of file |
android/GameSDKRelease/res/layout/bluep_smslist.xml
android/GameSDKRelease/res/layout/fragment_mod_password.xml
| ... | ... | @@ -0,0 +1,102 @@ |
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | + android:layout_width="wrap_content" | |
| 4 | + android:layout_height="wrap_content" | |
| 5 | + android:scrollbars="none" > | |
| 6 | + | |
| 7 | + <LinearLayout | |
| 8 | + android:layout_width="wrap_content" | |
| 9 | + android:layout_height="wrap_content" | |
| 10 | + android:minWidth="292dp" | |
| 11 | + android:orientation="vertical" > | |
| 12 | + | |
| 13 | + <LinearLayout | |
| 14 | + android:layout_width="match_parent" | |
| 15 | + android:layout_height="wrap_content" | |
| 16 | + android:background="@color/white_translucent" | |
| 17 | + android:orientation="vertical" > | |
| 18 | + | |
| 19 | + <View | |
| 20 | + android:layout_width="match_parent" | |
| 21 | + android:layout_height="1dp" | |
| 22 | + android:background="@color/light_gray" /> | |
| 23 | + | |
| 24 | + <EditText | |
| 25 | + android:id="@+id/username" | |
| 26 | + android:layout_width="match_parent" | |
| 27 | + android:layout_height="31dp" | |
| 28 | + android:layout_marginBottom="10dp" | |
| 29 | + android:layout_marginLeft="35dp" | |
| 30 | + android:layout_marginRight="35dp" | |
| 31 | + android:layout_marginTop="15dp" | |
| 32 | + android:paddingLeft="8dp" | |
| 33 | + android:background="@color/white" | |
| 34 | + android:hint="@string/user_name_hint" | |
| 35 | + android:imeOptions="flagNoExtractUi" | |
| 36 | + android:textColor="@color/black_text" /> | |
| 37 | + | |
| 38 | + <EditText | |
| 39 | + android:id="@+id/old_pwd" | |
| 40 | + android:layout_width="match_parent" | |
| 41 | + android:layout_height="31dp" | |
| 42 | + android:layout_marginBottom="10dp" | |
| 43 | + android:layout_marginLeft="35dp" | |
| 44 | + android:layout_marginRight="35dp" | |
| 45 | + android:layout_marginTop="10dp" | |
| 46 | + android:paddingLeft="8dp" | |
| 47 | + android:background="@color/white" | |
| 48 | + android:hint="@string/password_hint" | |
| 49 | + android:imeOptions="flagNoExtractUi" | |
| 50 | + android:inputType="textPassword" | |
| 51 | + android:textColor="@color/black_text" /> | |
| 52 | + <EditText | |
| 53 | + android:id="@+id/new_pwd" | |
| 54 | + android:layout_width="match_parent" | |
| 55 | + android:layout_height="31dp" | |
| 56 | + android:layout_marginBottom="10dp" | |
| 57 | + android:layout_marginLeft="35dp" | |
| 58 | + android:layout_marginRight="35dp" | |
| 59 | + android:layout_marginTop="10dp" | |
| 60 | + android:paddingLeft="8dp" | |
| 61 | + android:background="@color/white" | |
| 62 | + android:hint="@string/password_hint" | |
| 63 | + android:imeOptions="flagNoExtractUi" | |
| 64 | + android:inputType="textPassword" | |
| 65 | + android:textColor="@color/black_text" /> | |
| 66 | + <EditText | |
| 67 | + android:id="@+id/confirm_pwd" | |
| 68 | + android:layout_width="match_parent" | |
| 69 | + android:layout_height="31dp" | |
| 70 | + android:layout_marginBottom="10dp" | |
| 71 | + android:layout_marginLeft="35dp" | |
| 72 | + android:layout_marginRight="35dp" | |
| 73 | + android:layout_marginTop="10dp" | |
| 74 | + android:paddingLeft="8dp" | |
| 75 | + android:background="@color/white" | |
| 76 | + android:hint="@string/password_hint" | |
| 77 | + android:imeOptions="flagNoExtractUi" | |
| 78 | + android:inputType="textPassword" | |
| 79 | + android:textColor="@color/black_text" /> | |
| 80 | + </LinearLayout> | |
| 81 | + | |
| 82 | + <LinearLayout | |
| 83 | + android:layout_width="match_parent" | |
| 84 | + android:layout_height="wrap_content" | |
| 85 | + android:background="@drawable/bottom_light_bg" > | |
| 86 | + | |
| 87 | + <Button | |
| 88 | + android:id="@+id/submit" | |
| 89 | + android:layout_width="match_parent" | |
| 90 | + android:layout_height="wrap_content" | |
| 91 | + android:layout_marginLeft="35dp" | |
| 92 | + android:layout_marginRight="35dp" | |
| 93 | + android:layout_marginTop="8dp" | |
| 94 | + android:background="@drawable/btn_orange_bg" | |
| 95 | + android:padding="5dp" | |
| 96 | + android:text="@string/signup" | |
| 97 | + android:textColor="@android:color/white" | |
| 98 | + android:textSize="16sp" /> | |
| 99 | + </LinearLayout> | |
| 100 | + </LinearLayout> | |
| 101 | + | |
| 102 | +</ScrollView> |
android/GameSDKRelease/res/layout/item_drop_down.xml
| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | +<?xml version="1.0" encoding="utf-8"?> | |
| 2 | +<TextView xmlns:android="http://schemas.android.com/apk/res/android" | |
| 3 | + android:layout_width="fill_parent" | |
| 4 | + android:layout_height="wrap_content" | |
| 5 | + android:text="TextView" | |
| 6 | + android:padding="5dp" | |
| 7 | + android:textSize="22sp" > | |
| 8 | + | |
| 9 | + | |
| 10 | +</TextView> | |
| 0 | 11 | \ No newline at end of file |
android/GameSDKRelease/res/layout/view_loading.xml
| ... | ... | @@ -0,0 +1,23 @@ |
| 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="match_parent" | |
| 5 | + android:layout_gravity="center" | |
| 6 | + android:gravity="center_horizontal" | |
| 7 | + android:orientation="vertical" > | |
| 8 | + | |
| 9 | + <ProgressBar | |
| 10 | + android:id="@+id/pb_loading" | |
| 11 | + android:layout_width="70dp" | |
| 12 | + android:indeterminateDrawable="@drawable/loading" | |
| 13 | + android:indeterminateOnly="true" | |
| 14 | + android:layout_height="70dp" /> | |
| 15 | + | |
| 16 | + <TextView | |
| 17 | + android:id="@+id/tv_loading" | |
| 18 | + android:layout_width="wrap_content" | |
| 19 | + android:layout_height="wrap_content" | |
| 20 | + android:textSize="20sp" | |
| 21 | + android:text="TextView" /> | |
| 22 | + | |
| 23 | +</LinearLayout> |
android/GameSDKSample/AndroidManifest.xml
| ... | ... | @@ -47,6 +47,17 @@ |
| 47 | 47 | android:name="com.gumptech.sdk.PaymentActivity" |
| 48 | 48 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" |
| 49 | 49 | android:theme="@android:style/Theme.Translucent.NoTitleBar" > |
| 50 | + <intent-filter> | |
| 51 | + <category android:name="android.intent.category.DEFAULT" /> | |
| 52 | + | |
| 53 | + <action android:name="android.intent.action.VIEW" /> | |
| 54 | + | |
| 55 | + <category android:name="android.intent.category.BROWSABLE" /> | |
| 56 | + | |
| 57 | + <data | |
| 58 | + android:host="com.gump.sdk" | |
| 59 | + android:scheme="gump10044" /> | |
| 60 | + </intent-filter> | |
| 50 | 61 | </activity> |
| 51 | 62 | <activity |
| 52 | 63 | android:name="com.gumptech.sdk.ExchangeWindow" |
android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
| ... | ... | @@ -28,8 +28,8 @@ public class MainActivity extends Activity implements PurchaseCallback{ |
| 28 | 28 | |
| 29 | 29 | private Button btnLoginOrLogout; |
| 30 | 30 | |
| 31 | - private String appId = "10022"; | |
| 32 | - private String appKey = "93a27b0bd99bac3e68a440b48aa421ab"; | |
| 31 | + private String appId = "10044"; | |
| 32 | + private String appKey = "9c16b0e83f09596202f402261f25c8a9"; | |
| 33 | 33 | private String sessionKey; |
| 34 | 34 | |
| 35 | 35 | @Override |
| ... | ... | @@ -56,7 +56,7 @@ public class MainActivity extends Activity implements PurchaseCallback{ |
| 56 | 56 | Bundle payInfo = new Bundle(); |
| 57 | 57 | payInfo.putString("nick", "thi"); |
| 58 | 58 | payInfo.putString("product", "元宝"); |
| 59 | - payInfo.putFloat("amount", 0.0f); | |
| 59 | + payInfo.putFloat("amount", 0.1f); | |
| 60 | 60 | payInfo.putString("extraInfo", "This is demo!"); |
| 61 | 61 | payInfo.putString("serverId", "100"); |
| 62 | 62 | payInfo.putString("sessionKey", sessionKey); |
| ... | ... | @@ -66,7 +66,7 @@ public class MainActivity extends Activity implements PurchaseCallback{ |
| 66 | 66 | /** |
| 67 | 67 | * 设置否是开启debug模式 |
| 68 | 68 | */ |
| 69 | - GumpSDK.setDebugState(false); | |
| 69 | + GumpSDK.setDebugState(true); | |
| 70 | 70 | /** |
| 71 | 71 | * 设置是否启用facebook登录 |
| 72 | 72 | */ |
doc/AndroidDocument.md
| ... | ... | @@ -84,6 +84,17 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
| 84 | 84 | android:name="com.gumptech.sdk.PaymentActivity" |
| 85 | 85 | android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" |
| 86 | 86 | android:theme="@android:style/Theme.Translucent.NoTitleBar" > |
| 87 | + <intent-filter> | |
| 88 | + <category android:name="android.intent.category.DEFAULT" /> | |
| 89 | + | |
| 90 | + <action android:name="android.intent.action.VIEW" /> | |
| 91 | + | |
| 92 | + <category android:name="android.intent.category.BROWSABLE" /> | |
| 93 | + | |
| 94 | + <data | |
| 95 | + android:host="com.gump.sdk" | |
| 96 | + android:scheme="gump+游戏的appId" /> | |
| 97 | + </intent-filter> | |
| 87 | 98 | </activity> |
| 88 | 99 | <activity |
| 89 | 100 | android:name="com.gumptech.sdk.ExchangeWindow" |