Commit 313bd48ae609a0057f7abee91012807f00975932
splite android and ios
Showing 156 changed files with 3335 additions and 0 deletions Side-by-side Diff
- GameSDKRelease/.gitignore
- GameSDKRelease/.project
- GameSDKRelease/AndroidManifest.xml
- GameSDKRelease/libs/BluePay_3.6.2.0414pro.jar
- GameSDKRelease/libs/GameSDK_v3.3.13_proguard.jar
- GameSDKRelease/libs/GameSDK_v3.3.14_proguard.jar
- GameSDKRelease/libs/android-support-v4.jar
- GameSDKRelease/libs/armeabi/libhfswpay.so
- GameSDKRelease/libs/armeabi/libybzf.so
- GameSDKRelease/libs/image-cache.jar
- GameSDKRelease/proguard-project.txt
- GameSDKRelease/project.properties
- GameSDKRelease/res/anim/loading.xml
- GameSDKRelease/res/drawable-hdpi/bluep_btnbg.9.png
- GameSDKRelease/res/drawable-hdpi/bluep_btnbg_hl.9.png
- GameSDKRelease/res/drawable-hdpi/bluep_btnbg_selector.xml
- GameSDKRelease/res/drawable-hdpi/bluep_icon_one_calltip.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_icon_true_tip.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_input_bg.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_12call.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_logo_happy.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_logo_line.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_mobifone.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_logo_telenor.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_telkomsel.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_truemoney.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_unipin.png
- GameSDKRelease/res/drawable-hdpi/bluep_logo_viettel.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_logo_vinaphone.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_logo_vtc.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_payarrow.jpg
- GameSDKRelease/res/drawable-hdpi/bluep_paylist_arrow_high.png
- GameSDKRelease/res/drawable-hdpi/bluep_paylist_arrow_normal.png
- GameSDKRelease/res/drawable-hdpi/bluep_paylist_arrow_selector.xml
- GameSDKRelease/res/drawable-hdpi/bluep_paylist_bg.9.png
- GameSDKRelease/res/drawable-hdpi/bluepay_logo.png
- GameSDKRelease/res/drawable-hdpi/bottom_light_bg.png
- GameSDKRelease/res/drawable-hdpi/btn_back.png
- GameSDKRelease/res/drawable-hdpi/btn_back_pressed.png
- GameSDKRelease/res/drawable-hdpi/gump_loading.png
- GameSDKRelease/res/drawable-hdpi/horizontal_line.png
- GameSDKRelease/res/drawable-hdpi/ic_back_dark.png
- GameSDKRelease/res/drawable-hdpi/ic_close.png
- GameSDKRelease/res/drawable-hdpi/ic_fb.png
- GameSDKRelease/res/drawable-hdpi/ic_pwd.png
- GameSDKRelease/res/drawable-hdpi/ic_user.png
- GameSDKRelease/res/drawable-hdpi/ic_vk.png
- GameSDKRelease/res/drawable-hdpi/loading.png
- GameSDKRelease/res/drawable-hdpi/logo.png
- GameSDKRelease/res/drawable-hdpi/refresh.png
- GameSDKRelease/res/drawable-hdpi/refresh_down.png
- GameSDKRelease/res/drawable-hdpi/title_light_bg.png
- GameSDKRelease/res/drawable-ldpi/blue_arrow_back.png
- GameSDKRelease/res/drawable-ldpi/bluep_btnbg.9.png
- GameSDKRelease/res/drawable-ldpi/bluep_btnbg_hl.9.png
- GameSDKRelease/res/drawable-ldpi/bluep_btnbg_selector.xml
- GameSDKRelease/res/drawable-ldpi/bluep_icon_one_calltip.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_icon_true_tip.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_input_bg.png
- GameSDKRelease/res/drawable-ldpi/bluep_logo_12call.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_logo_happy.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_logo_mobifone.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_logo_truemoney.png
- GameSDKRelease/res/drawable-ldpi/bluep_logo_unipin.png
- GameSDKRelease/res/drawable-ldpi/bluep_logo_viettel.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_logo_vinaphone.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_logo_vtc.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_payarrow.jpg
- GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_high.png
- GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_normal.png
- GameSDKRelease/res/drawable-ldpi/bluep_paylist_arrow_selector.xml
- GameSDKRelease/res/drawable-ldpi/bluep_paylist_bg.9.png
- GameSDKRelease/res/drawable-ldpi/bluepay_logo.png
- GameSDKRelease/res/drawable-mdpi/ic_back_dark.png
- GameSDKRelease/res/drawable-mdpi/logo.png
- GameSDKRelease/res/drawable-xhdpi/bottom_light_bg.png
- GameSDKRelease/res/drawable-xhdpi/gump_loading.png
- GameSDKRelease/res/drawable-xhdpi/horizontal_line.png
- GameSDKRelease/res/drawable-xhdpi/ic_back_dark.png
- GameSDKRelease/res/drawable-xhdpi/ic_fb.png
- GameSDKRelease/res/drawable-xhdpi/ic_pwd.png
- GameSDKRelease/res/drawable-xhdpi/ic_user.png
- GameSDKRelease/res/drawable-xhdpi/ic_vk.png
- GameSDKRelease/res/drawable-xhdpi/logo.png
- GameSDKRelease/res/drawable-xhdpi/title_light_bg.png
- GameSDKRelease/res/drawable/btn_green_bg.xml
- GameSDKRelease/res/drawable/btn_orange_bg.xml
- GameSDKRelease/res/drawable/icon.png
- GameSDKRelease/res/drawable/loading_progress.xml
- GameSDKRelease/res/layout/activity_pay_ui.xml
- GameSDKRelease/res/layout/bluep_by_ad.xml
- GameSDKRelease/res/layout/bluep_by_offline.xml
- GameSDKRelease/res/layout/bluep_by_otc_landscape.xml
- GameSDKRelease/res/layout/bluep_by_otc_portrait.xml
- GameSDKRelease/res/layout/bluep_smslist.xml
- GameSDKRelease/res/layout/custom_notification.xml
- GameSDKRelease/res/layout/ex_win.xml
- GameSDKRelease/res/layout/fragment_container.xml
- GameSDKRelease/res/layout/fragment_loging.xml
- GameSDKRelease/res/layout/fragment_mod_password.xml
- GameSDKRelease/res/layout/fragment_sign_choice.xml
- GameSDKRelease/res/layout/fragment_signup.xml
- GameSDKRelease/res/layout/fragment_web.xml
- GameSDKRelease/res/layout/item_drop_down.xml
- GameSDKRelease/res/layout/login_container.xml
- GameSDKRelease/res/layout/logo.xml
- GameSDKRelease/res/layout/notification_banner.xml
- GameSDKRelease/res/layout/pay_container.xml
- GameSDKRelease/res/layout/title.xml
- GameSDKRelease/res/layout/view_loading.xml
- GameSDKRelease/res/values-pt/strings.xml
- GameSDKRelease/res/values-th/strings.xml
- GameSDKRelease/res/values-zh-rTW/strings.xml
- GameSDKRelease/res/values-zh/strings.xml
- GameSDKRelease/res/values/colors.xml
- GameSDKRelease/res/values/dimens.xml
- GameSDKRelease/res/values/strings.xml
- GameSDKRelease/res/values/styles.xml
- GameSDKRelease/res/values/themes.xml
- GameSDKSample/.classpath
- GameSDKSample/.gitignore
- GameSDKSample/.project
- GameSDKSample/AndroidManifest.xml
- GameSDKSample/GameSDKSample.iml
- GameSDKSample/build.gradle
- GameSDKSample/gradlew
- GameSDKSample/gradlew.bat
- GameSDKSample/lint.xml
- GameSDKSample/local.properties
- GameSDKSample/proguard-project.txt
- GameSDKSample/project.properties
- GameSDKSample/res/drawable-hdpi/ic_launcher.png
- GameSDKSample/res/drawable-mdpi/ic_launcher.png
- GameSDKSample/res/drawable-xhdpi/ic_launcher.png
- GameSDKSample/res/layout/activity_main.xml
- GameSDKSample/res/values-w820dp/dimens.xml
- GameSDKSample/res/values/dimens.xml
- GameSDKSample/res/values/strings.xml
- GameSDKSample/settings.gradle
- GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
- README
- doc/AndroidDocument.md
- doc/images/1.png
- doc/images/10.png
- doc/images/11.png
- doc/images/12.png
- doc/images/2.png
- doc/images/3.png
- doc/images/4.png
- doc/images/5.png
- doc/images/6.png
- doc/images/7.png
- doc/images/8.png
- doc/images/9.png
- doc/images/vk1.jpg
- doc/images/vk2.jpg
... | ... | @@ -0,0 +1,33 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<projectDescription> | |
3 | + <name>GameSDKRelease</name> | |
4 | + <comment></comment> | |
5 | + <projects> | |
6 | + </projects> | |
7 | + <buildSpec> | |
8 | + <buildCommand> | |
9 | + <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | |
10 | + <arguments> | |
11 | + </arguments> | |
12 | + </buildCommand> | |
13 | + <buildCommand> | |
14 | + <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | |
15 | + <arguments> | |
16 | + </arguments> | |
17 | + </buildCommand> | |
18 | + <buildCommand> | |
19 | + <name>org.eclipse.jdt.core.javabuilder</name> | |
20 | + <arguments> | |
21 | + </arguments> | |
22 | + </buildCommand> | |
23 | + <buildCommand> | |
24 | + <name>com.android.ide.eclipse.adt.ApkBuilder</name> | |
25 | + <arguments> | |
26 | + </arguments> | |
27 | + </buildCommand> | |
28 | + </buildSpec> | |
29 | + <natures> | |
30 | + <nature>com.android.ide.eclipse.adt.AndroidNature</nature> | |
31 | + <nature>org.eclipse.jdt.core.javanature</nature> | |
32 | + </natures> | |
33 | +</projectDescription> |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | + package="com.facebook.android" | |
3 | + android:versionCode="1" | |
4 | + android:versionName="1.0" > | |
5 | + | |
6 | + <uses-sdk | |
7 | + android:minSdkVersion="8" | |
8 | + android:targetSdkVersion="19" /> | |
9 | + | |
10 | + <application | |
11 | + android:allowBackup="true" | |
12 | + > | |
13 | + </application> | |
14 | + | |
15 | +</manifest> | |
0 | 16 | \ No newline at end of file |
... | ... | @@ -0,0 +1,20 @@ |
1 | +# To enable ProGuard in your project, edit project.properties | |
2 | +# to define the proguard.config property as described in that file. | |
3 | +# | |
4 | +# Add project specific ProGuard rules here. | |
5 | +# By default, the flags in this file are appended to flags specified | |
6 | +# in ${sdk.dir}/tools/proguard/proguard-android.txt | |
7 | +# You can edit the include path and order by changing the ProGuard | |
8 | +# include property in project.properties. | |
9 | +# | |
10 | +# For more details, see | |
11 | +# http://developer.android.com/guide/developing/tools/proguard.html | |
12 | + | |
13 | +# Add any project specific keep options here: | |
14 | + | |
15 | +# If your project uses WebView with JS, uncomment the following | |
16 | +# and specify the fully qualified class name to the JavaScript interface | |
17 | +# class: | |
18 | +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
19 | +# public *; | |
20 | +#} |
... | ... | @@ -0,0 +1,15 @@ |
1 | +# This file is automatically generated by Android Tools. | |
2 | +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |
3 | +# | |
4 | +# This file must be checked in Version Control Systems. | |
5 | +# | |
6 | +# To customize properties used by the Ant build system edit | |
7 | +# "ant.properties", and override values to adapt the script to your | |
8 | +# project structure. | |
9 | +# | |
10 | +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | |
11 | +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | |
12 | + | |
13 | +# Project target. | |
14 | +target=android-21 | |
15 | +android.library=true |
... | ... | @@ -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> |
258 Bytes
269 Bytes
... | ... | @@ -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> |
44.6 KB
57.4 KB
380 Bytes
7.31 KB
17.7 KB
44.2 KB
24.2 KB
17.8 KB
18.7 KB
4.96 KB
11.2 KB
23.3 KB
25.4 KB
75.1 KB
11.5 KB
715 Bytes
672 Bytes
... | ... | @@ -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> |
248 Bytes
13.4 KB
2.05 KB
3.01 KB
2.87 KB
7.04 KB
1.59 KB
1.17 KB
1.9 KB
2.21 KB
1.31 KB
1.39 KB
2.85 KB
16.6 KB
10.4 KB
5.41 KB
3.36 KB
2.02 KB
955 Bytes
258 Bytes
269 Bytes
... | ... | @@ -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> |
44.6 KB
57.4 KB
380 Bytes
7.31 KB
17.7 KB
24.2 KB
4.96 KB
11.2 KB
23.3 KB
25.4 KB
75.1 KB
11.5 KB
715 Bytes
672 Bytes
... | ... | @@ -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> |
248 Bytes
13.4 KB
1.05 KB
3.49 KB
2.42 KB
11.2 KB
1.75 KB
1.26 KB
2.52 KB
1.37 KB
1.52 KB
3.42 KB
14.1 KB
2.44 KB
... | ... | @@ -0,0 +1,21 @@ |
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"> | |
4 | + <shape android:shape="rectangle"> | |
5 | + <corners android:radius="1.5dp" /> | |
6 | + | |
7 | + <solid android:color="@color/btn_green_pressed" /> | |
8 | + | |
9 | + <size android:height="30.5dp" /> | |
10 | + </shape></item> | |
11 | + <item> | |
12 | + <shape android:shape="rectangle"> | |
13 | + <corners android:radius="1.5dp" /> | |
14 | + | |
15 | + <solid android:color="@color/btn_green_normal" /> | |
16 | + | |
17 | + <size android:height="30.5dp" /> | |
18 | + </shape></item> | |
19 | + | |
20 | + | |
21 | +</selector> |
... | ... | @@ -0,0 +1,24 @@ |
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:drawable="@drawable/btn_orange_pressed"/> --> | |
5 | + <!-- <item android:drawable="@drawable/btn_orange_normal"/> --> | |
6 | + | |
7 | + <item android:state_pressed="true"> | |
8 | + <shape android:shape="rectangle"> | |
9 | + <corners android:radius="1.5dp" /> | |
10 | + | |
11 | + <solid android:color="@color/orange_pressed" /> | |
12 | + | |
13 | + <size android:height="30.5dp" /> | |
14 | + </shape></item> | |
15 | + <item> | |
16 | + <shape android:shape="rectangle"> | |
17 | + <corners android:radius="1.5dp" /> | |
18 | + | |
19 | + <solid android:color="@color/orange_normal" /> | |
20 | + | |
21 | + <size android:height="30.5dp" /> | |
22 | + </shape></item> | |
23 | + | |
24 | +</selector> | |
0 | 25 | \ No newline at end of file |
20.8 KB
... | ... | @@ -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 |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:orientation="vertical" android:layout_width="match_parent" | |
4 | + android:layout_height="match_parent"> | |
5 | + | |
6 | + <WebView | |
7 | + android:id="@+id/Wv_ad" | |
8 | + android:layout_width="match_parent" | |
9 | + android:layout_height="match_parent"/> | |
10 | + | |
11 | +</LinearLayout> | |
0 | 12 | \ No newline at end of file |
... | ... | @@ -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 |
... | ... | @@ -0,0 +1,387 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:id="@+id/scrollView1" | |
4 | + android:layout_width="350sp" | |
5 | + android:layout_height="wrap_content" | |
6 | + android:layout_gravity="center" | |
7 | + android:layout_margin="10dp" | |
8 | + android:background="#ffffffff" > | |
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 | + | |
17 | + <RelativeLayout | |
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 | + | |
32 | + <RelativeLayout | |
33 | + android:layout_width="wrap_content" | |
34 | + android:layout_height="wrap_content" | |
35 | + android:layout_weight="0.6" | |
36 | + android:paddingTop="5sp" > | |
37 | + | |
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_12call" /> | |
44 | + | |
45 | + <LinearLayout | |
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" | |
56 | + android:numeric="integer" | |
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> | |
312 | + </RelativeLayout> | |
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 | |
344 | + android:id="@+id/paybyYes" | |
345 | + android:layout_width="wrap_content" | |
346 | + android:layout_height="wrap_content" | |
347 | + android:paddingLeft="5sp" | |
348 | + android:layout_alignParentLeft="true" | |
349 | + android:layout_centerVertical="true" | |
350 | + android:src="@drawable/g_yes_selector" | |
351 | + android:background="@null" /> | |
352 | + | |
353 | + <ImageButton | |
354 | + android:id="@+id/paybyNo" | |
355 | + android:layout_width="wrap_content" | |
356 | + android:layout_height="wrap_content" | |
357 | + android:paddingRight="5sp" | |
358 | + android:layout_alignParentRight="true" | |
359 | + android:layout_centerVertical="true" | |
360 | + android:src="@drawable/g_no_selector" | |
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> | |
386 | + | |
387 | +</ScrollView> | |
0 | 388 | \ No newline at end of file |
... | ... | @@ -0,0 +1,399 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:id="@+id/scrollView1" | |
4 | + android:layout_width="300sp" | |
5 | + android:layout_height="wrap_content" | |
6 | + android:layout_gravity="center" | |
7 | + android:layout_margin="10dp" | |
8 | + android:background="#ffffffff" > | |
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 | + | |
19 | + <RelativeLayout | |
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 | + | |
34 | + <RelativeLayout | |
35 | + android:layout_width="wrap_content" | |
36 | + android:layout_height="wrap_content" | |
37 | + android:layout_weight="0.6" | |
38 | + android:paddingTop="5sp" > | |
39 | + | |
40 | + <ImageView | |
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 | + | |
47 | + <LinearLayout | |
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" | |
67 | + android:numeric="integer" | |
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> | |
324 | + </RelativeLayout> | |
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 | |
356 | + android:id="@+id/paybyYes" | |
357 | + android:layout_width="wrap_content" | |
358 | + android:layout_height="wrap_content" | |
359 | + android:paddingLeft="5sp" | |
360 | + android:layout_alignParentLeft="true" | |
361 | + android:layout_centerVertical="true" | |
362 | + android:src="@drawable/g_yes_selector" | |
363 | + android:background="@drawable/g_btnbg_selector" /> | |
364 | + | |
365 | + <ImageButton | |
366 | + android:id="@+id/paybyNo" | |
367 | + android:layout_width="wrap_content" | |
368 | + android:layout_height="wrap_content" | |
369 | + android:paddingRight="5sp" | |
370 | + android:layout_alignParentRight="true" | |
371 | + android:layout_centerVertical="true" | |
372 | + android:src="@drawable/g_no_selector" | |
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> | |
398 | + | |
399 | +</ScrollView> | |
0 | 400 | \ No newline at end of file |
... | ... | @@ -0,0 +1,68 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:id="@+id/scrollView1" | |
4 | + android:layout_width="300sp" | |
5 | + android:layout_height="220sp" | |
6 | + android:background="#ffffffff" | |
7 | + android:gravity="center" | |
8 | + android:layout_gravity="center" | |
9 | + android:orientation="vertical" > | |
10 | + | |
11 | + <ImageView | |
12 | + android:layout_width="200sp" | |
13 | + android:layout_height="50sp" | |
14 | + android:layout_marginTop="5sp" | |
15 | + android:background="@drawable/bluepay_logo" /> | |
16 | + | |
17 | + <TextView android:id="@+id/Bluep_payTip" | |
18 | + android:layout_width="250sp" | |
19 | + android:layout_height="40sp" | |
20 | + android:paddingRight="5sp" | |
21 | + android:layout_marginTop="5sp" | |
22 | + android:textColor="#ff000000" | |
23 | + android:textSize="14sp" | |
24 | + android:gravity="center"/> | |
25 | + | |
26 | + <Button android:id="@+id/Bluep_payList" | |
27 | + android:layout_width="250sp" | |
28 | + android:layout_height="40sp" | |
29 | + android:paddingRight="5sp" | |
30 | + android:layout_marginTop="5sp" | |
31 | + android:textColor="#ff000000" | |
32 | + android:textSize="16sp" | |
33 | + android:gravity="center" | |
34 | + android:background="@drawable/bluep_paylist_bg" | |
35 | + android:drawableRight="@drawable/bluep_paylist_arrow_selector"/> | |
36 | + | |
37 | + <RelativeLayout | |
38 | + android:layout_width="fill_parent" | |
39 | + android:layout_height="wrap_content" | |
40 | + android:layout_marginTop="15sp" | |
41 | + android:layout_marginBottom="5sp" > | |
42 | + | |
43 | + | |
44 | + <Button android:id="@+id/Bluep_paybyYes" | |
45 | + android:layout_width="wrap_content" | |
46 | + android:layout_height="wrap_content" | |
47 | + android:layout_marginLeft="30sp" | |
48 | + android:layout_alignParentLeft="true" | |
49 | + android:layout_centerVertical="true" | |
50 | + | |
51 | + android:text="Ok" | |
52 | + android:textColor="#ffffffff" | |
53 | + android:background="@drawable/bluep_btnbg_selector" /> | |
54 | + | |
55 | + <Button | |
56 | + android:id="@+id/Bluep_paybyNo" | |
57 | + android:layout_width="wrap_content" | |
58 | + android:layout_height="wrap_content" | |
59 | + android:layout_marginRight="30sp" | |
60 | + android:layout_alignParentRight="true" | |
61 | + android:layout_centerVertical="true" | |
62 | + android:text="Cancel" | |
63 | + android:textColor="#ffffffff" | |
64 | + android:background="@drawable/bluep_btnbg_selector" /> | |
65 | + | |
66 | + </RelativeLayout> | |
67 | + | |
68 | +</LinearLayout> | |
0 | 69 | \ No newline at end of file |
... | ... | @@ -0,0 +1,42 @@ |
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:background="?android:attr/colorBackground" | |
6 | + android:paddingBottom="10dp" | |
7 | + android:paddingTop="10dp" > | |
8 | + | |
9 | + <ImageView | |
10 | + android:id="@+id/icon" | |
11 | + android:layout_width="43dp" | |
12 | + android:layout_height="43dp" | |
13 | + android:layout_centerVertical="true" | |
14 | + android:layout_marginLeft="10dp" | |
15 | + android:scaleType="fitXY" /> | |
16 | + | |
17 | + <LinearLayout | |
18 | + android:layout_width="wrap_content" | |
19 | + android:layout_height="wrap_content" | |
20 | + android:layout_centerVertical="true" | |
21 | + android:layout_marginLeft="15dp" | |
22 | + android:layout_toRightOf="@id/icon" | |
23 | + android:orientation="vertical" > | |
24 | + | |
25 | + <TextView | |
26 | + android:id="@+id/title" | |
27 | + style="@style/NotificationTitle" | |
28 | + android:layout_width="wrap_content" | |
29 | + android:layout_height="wrap_content" | |
30 | + android:text="LEVEL PROMOTED TO GRADE 1" | |
31 | + android:textSize="17sp" /> | |
32 | + | |
33 | + <TextView | |
34 | + android:id="@+id/desc" | |
35 | + style="@style/NotificationText" | |
36 | + android:layout_width="wrap_content" | |
37 | + android:layout_height="wrap_content" | |
38 | + android:text="CLICK TO VIEW RANKING >" | |
39 | + android:textSize="12sp" /> | |
40 | + </LinearLayout> | |
41 | + | |
42 | +</RelativeLayout> | |
0 | 43 | \ No newline at end of file |
... | ... | @@ -0,0 +1,23 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:layout_width="wrap_content" | |
4 | + android:layout_height="wrap_content" | |
5 | + android:layout_gravity="center" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | + <ImageView | |
9 | + android:id="@+id/web" | |
10 | + android:layout_width="wrap_content" | |
11 | + android:layout_height="wrap_content" | |
12 | + android:scaleType="fitXY" | |
13 | + android:padding="10dp" /> | |
14 | + | |
15 | + <ImageView | |
16 | + android:id="@+id/close" | |
17 | + android:layout_width="wrap_content" | |
18 | + android:layout_height="wrap_content" | |
19 | + android:layout_alignRight="@id/web" | |
20 | + android:layout_alignTop="@id/web" | |
21 | + android:src="@drawable/ic_close" /> | |
22 | + | |
23 | +</RelativeLayout> | |
0 | 24 | \ No newline at end of file |
... | ... | @@ -0,0 +1,17 @@ |
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:gravity="center" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | + <include layout="@layout/title" /> | |
9 | + | |
10 | + <LinearLayout | |
11 | + android:id="@+id/container" | |
12 | + android:layout_width="match_parent" | |
13 | + android:layout_height="wrap_content" | |
14 | + android:orientation="vertical" > | |
15 | + </LinearLayout> | |
16 | + | |
17 | +</LinearLayout> | |
0 | 18 | \ No newline at end of file |
... | ... | @@ -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="wrap_content" | |
4 | + android:layout_height="wrap_content" | |
5 | + android:background="@color/white_translucent" | |
6 | + android:minWidth="293dp" | |
7 | + android:orientation="vertical" > | |
8 | + | |
9 | + <RelativeLayout | |
10 | + android:layout_width="match_parent" | |
11 | + android:layout_height="36dp" > | |
12 | + | |
13 | + <TextView | |
14 | + android:id="@+id/switch_user" | |
15 | + android:layout_width="wrap_content" | |
16 | + android:layout_height="wrap_content" | |
17 | + android:layout_alignParentRight="true" | |
18 | + android:layout_centerVertical="true" | |
19 | + android:layout_marginRight="17dp" | |
20 | + android:text="@string/switch_user" | |
21 | + android:textColor="@color/black_text" /> | |
22 | + | |
23 | + <TextView | |
24 | + android:id="@+id/change_pwd" | |
25 | + android:layout_width="wrap_content" | |
26 | + android:layout_height="wrap_content" | |
27 | + android:layout_alignParentLeft="true" | |
28 | + android:layout_centerVertical="true" | |
29 | + android:layout_marginLeft="17dp" | |
30 | + android:text="@string/mod_pwd" | |
31 | + android:visibility="gone" | |
32 | + android:textColor="@color/black_text" /> | |
33 | + | |
34 | + <View | |
35 | + android:layout_width="fill_parent" | |
36 | + android:layout_height="1dp" | |
37 | + android:layout_alignParentBottom="true" | |
38 | + android:background="@color/light_gray" /> | |
39 | + </RelativeLayout> | |
40 | + | |
41 | + <ProgressBar | |
42 | + android:layout_width="wrap_content" | |
43 | + android:layout_height="wrap_content" | |
44 | + android:layout_gravity="center" | |
45 | + android:layout_marginBottom="17dp" | |
46 | + android:layout_marginTop="23dp" | |
47 | + android:indeterminateBehavior="repeat" | |
48 | + android:indeterminateDrawable="@drawable/loading_progress" | |
49 | + android:indeterminateDuration="800" | |
50 | + android:indeterminateOnly="true" /> | |
51 | + | |
52 | + <TextView | |
53 | + android:layout_width="wrap_content" | |
54 | + android:layout_height="wrap_content" | |
55 | + android:layout_gravity="center_horizontal" | |
56 | + android:layout_marginBottom="17dp" | |
57 | + android:text="@string/loging" | |
58 | + android:textColor="@color/black_text" /> | |
59 | + | |
60 | +</LinearLayout> | |
0 | 61 | \ No newline at end of file |
... | ... | @@ -0,0 +1,171 @@ |
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 | + <include layout="@layout/title" /> | |
14 | + | |
15 | + <LinearLayout | |
16 | + android:layout_width="match_parent" | |
17 | + android:layout_height="wrap_content" | |
18 | + android:background="@color/white_translucent" | |
19 | + android:orientation="vertical" > | |
20 | + | |
21 | + <View | |
22 | + android:layout_width="match_parent" | |
23 | + android:layout_height="1dp" | |
24 | + android:background="@color/light_gray" /> | |
25 | + | |
26 | + <LinearLayout | |
27 | + android:layout_width="match_parent" | |
28 | + android:layout_height="31dp" | |
29 | + android:layout_marginLeft="35dp" | |
30 | + android:layout_marginRight="35dp" | |
31 | + android:layout_marginTop="13dp" | |
32 | + android:background="@color/white" > | |
33 | + | |
34 | + <ImageView | |
35 | + android:layout_width="wrap_content" | |
36 | + android:layout_height="wrap_content" | |
37 | + android:layout_gravity="center_vertical" | |
38 | + android:layout_marginLeft="9.5dp" | |
39 | + android:layout_marginRight="9.5dp" | |
40 | + android:src="@drawable/ic_user" /> | |
41 | + | |
42 | + <View | |
43 | + android:layout_width="1dp" | |
44 | + android:layout_height="20dp" | |
45 | + android:layout_gravity="center_vertical" | |
46 | + android:background="@color/light_gray" /> | |
47 | + | |
48 | + <EditText | |
49 | + android:id="@+id/username" | |
50 | + android:layout_width="match_parent" | |
51 | + android:layout_height="match_parent" | |
52 | + android:background="@color/transparent" | |
53 | + android:hint="@string/user_name_hint" | |
54 | + android:paddingLeft="6dp" /> | |
55 | + </LinearLayout> | |
56 | + | |
57 | + <LinearLayout | |
58 | + android:layout_width="match_parent" | |
59 | + android:layout_height="31dp" | |
60 | + android:layout_marginLeft="35dp" | |
61 | + android:layout_marginRight="35dp" | |
62 | + android:layout_marginTop="16dp" | |
63 | + android:background="@color/white" | |
64 | + android:orientation="horizontal" > | |
65 | + | |
66 | + <ImageView | |
67 | + android:layout_width="wrap_content" | |
68 | + android:layout_height="wrap_content" | |
69 | + android:layout_gravity="center_vertical" | |
70 | + android:layout_marginLeft="12.5dp" | |
71 | + android:layout_marginRight="12.5dp" | |
72 | + android:src="@drawable/ic_pwd" /> | |
73 | + | |
74 | + <View | |
75 | + android:layout_width="1dp" | |
76 | + android:layout_height="20dp" | |
77 | + android:layout_gravity="center_vertical" | |
78 | + android:background="@color/light_gray" /> | |
79 | + | |
80 | + <EditText | |
81 | + android:id="@+id/old_pwd" | |
82 | + android:layout_width="match_parent" | |
83 | + android:layout_height="match_parent" | |
84 | + android:background="@color/white" | |
85 | + android:hint="@string/old_pwd" | |
86 | + android:inputType="textPassword" | |
87 | + android:paddingLeft="6dp" /> | |
88 | + </LinearLayout> | |
89 | + | |
90 | + <TextView | |
91 | + android:layout_width="wrap_content" | |
92 | + android:layout_height="wrap_content" | |
93 | + android:maxWidth="200dp" | |
94 | + android:textColor="@color/black_text" | |
95 | + android:layout_gravity="right" | |
96 | + android:layout_marginTop="8dp" | |
97 | + android:layout_marginRight="35dp" | |
98 | + android:textSize="10sp" | |
99 | + android:text="@string/reset_intro" /> | |
100 | + | |
101 | + <LinearLayout | |
102 | + android:layout_width="match_parent" | |
103 | + android:layout_height="31dp" | |
104 | + android:layout_marginLeft="35dp" | |
105 | + android:layout_marginRight="35dp" | |
106 | + android:layout_marginTop="12dp" | |
107 | + android:background="@color/white" | |
108 | + android:orientation="horizontal" > | |
109 | + | |
110 | + <ImageView | |
111 | + android:layout_width="wrap_content" | |
112 | + android:layout_height="wrap_content" | |
113 | + android:layout_gravity="center_vertical" | |
114 | + android:layout_marginLeft="12.5dp" | |
115 | + android:layout_marginRight="12.5dp" | |
116 | + android:src="@drawable/ic_pwd" /> | |
117 | + | |
118 | + <View | |
119 | + android:layout_width="1dp" | |
120 | + android:layout_height="20dp" | |
121 | + android:layout_gravity="center_vertical" | |
122 | + android:background="@color/light_gray" /> | |
123 | + | |
124 | + <EditText | |
125 | + android:id="@+id/new_pwd" | |
126 | + android:layout_width="match_parent" | |
127 | + android:layout_height="match_parent" | |
128 | + android:background="@color/white" | |
129 | + android:hint="@string/new_pwd" | |
130 | + android:inputType="textPassword" | |
131 | + android:paddingLeft="6dp" /> | |
132 | + </LinearLayout> | |
133 | + </LinearLayout> | |
134 | + | |
135 | + <LinearLayout | |
136 | + android:layout_width="match_parent" | |
137 | + android:layout_height="wrap_content" | |
138 | + android:background="@drawable/bottom_light_bg" | |
139 | + android:orientation="horizontal" > | |
140 | + | |
141 | + <Button | |
142 | + android:id="@+id/reset" | |
143 | + android:layout_width="match_parent" | |
144 | + android:layout_height="wrap_content" | |
145 | + android:layout_marginLeft="35dp" | |
146 | + android:layout_marginRight="12dp" | |
147 | + android:layout_marginTop="10dp" | |
148 | + android:layout_weight="1" | |
149 | + android:background="@drawable/btn_orange_bg" | |
150 | + android:padding="5dp" | |
151 | + android:text="@string/reset" | |
152 | + android:textColor="@android:color/white" | |
153 | + android:textSize="16sp" /> | |
154 | + | |
155 | + <Button | |
156 | + android:id="@+id/submit" | |
157 | + android:layout_width="match_parent" | |
158 | + android:layout_height="wrap_content" | |
159 | + android:layout_marginLeft="12dp" | |
160 | + android:layout_marginRight="35dp" | |
161 | + android:layout_marginTop="10dp" | |
162 | + android:layout_weight="1" | |
163 | + android:background="@drawable/btn_green_bg" | |
164 | + android:padding="5dp" | |
165 | + android:text="@string/submit" | |
166 | + android:textColor="@android:color/white" | |
167 | + android:textSize="16sp" /> | |
168 | + </LinearLayout> | |
169 | + </LinearLayout> | |
170 | + | |
171 | +</ScrollView> |
... | ... | @@ -0,0 +1,174 @@ |
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:gravity="center" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | + <LinearLayout | |
9 | + android:layout_width="match_parent" | |
10 | + android:layout_height="wrap_content" | |
11 | + android:background="@color/white_translucent" | |
12 | + android:orientation="vertical" > | |
13 | + | |
14 | + <LinearLayout | |
15 | + android:layout_width="match_parent" | |
16 | + android:layout_height="31dp" | |
17 | + android:layout_marginLeft="35dp" | |
18 | + android:layout_marginRight="35dp" | |
19 | + android:layout_marginTop="13dp" | |
20 | + android:background="@color/white" > | |
21 | + | |
22 | + <ImageView | |
23 | + android:layout_width="wrap_content" | |
24 | + android:layout_height="wrap_content" | |
25 | + android:layout_gravity="center_vertical" | |
26 | + android:layout_marginLeft="9.5dp" | |
27 | + android:layout_marginRight="9.5dp" | |
28 | + android:src="@drawable/ic_user" /> | |
29 | + | |
30 | + <View | |
31 | + android:layout_width="1dp" | |
32 | + android:layout_height="20dp" | |
33 | + android:layout_gravity="center_vertical" | |
34 | + android:background="@color/light_gray" /> | |
35 | + | |
36 | + <EditText | |
37 | + android:id="@+id/username" | |
38 | + android:layout_width="match_parent" | |
39 | + android:layout_height="match_parent" | |
40 | + android:background="@color/transparent" | |
41 | + android:hint="@string/user_name_hint" | |
42 | + android:paddingLeft="6dp" /> | |
43 | + </LinearLayout> | |
44 | + | |
45 | + <LinearLayout | |
46 | + android:layout_width="match_parent" | |
47 | + android:layout_height="31dp" | |
48 | + android:layout_marginLeft="35dp" | |
49 | + android:layout_marginRight="35dp" | |
50 | + android:layout_marginTop="16dp" | |
51 | + android:background="@color/white" | |
52 | + android:orientation="horizontal" > | |
53 | + | |
54 | + <ImageView | |
55 | + android:layout_width="wrap_content" | |
56 | + android:layout_height="wrap_content" | |
57 | + android:layout_gravity="center_vertical" | |
58 | + android:layout_marginLeft="12.5dp" | |
59 | + android:layout_marginRight="12.5dp" | |
60 | + android:src="@drawable/ic_pwd" /> | |
61 | + | |
62 | + <View | |
63 | + android:layout_width="1dp" | |
64 | + android:layout_height="20dp" | |
65 | + android:layout_gravity="center_vertical" | |
66 | + android:background="@color/light_gray" /> | |
67 | + | |
68 | + <EditText | |
69 | + android:id="@+id/pwd" | |
70 | + android:layout_width="match_parent" | |
71 | + android:layout_height="match_parent" | |
72 | + android:background="@color/white" | |
73 | + android:hint="@string/password_hint" | |
74 | + android:inputType="textPassword" | |
75 | + android:paddingLeft="6dp" /> | |
76 | + </LinearLayout> | |
77 | + | |
78 | + <TextView | |
79 | + android:id="@+id/mod_pwd" | |
80 | + android:layout_width="wrap_content" | |
81 | + android:layout_height="wrap_content" | |
82 | + android:layout_gravity="right" | |
83 | + android:layout_marginRight="35dp" | |
84 | + android:layout_marginTop="12dp" | |
85 | + android:text="@string/mod_pwd" | |
86 | + android:textColor="@color/black_text" | |
87 | + android:textSize="11sp" /> | |
88 | + | |
89 | + <LinearLayout | |
90 | + android:layout_width="fill_parent" | |
91 | + android:layout_height="wrap_content" | |
92 | + android:layout_marginLeft="35dp" | |
93 | + android:layout_marginRight="35dp" | |
94 | + android:layout_marginTop="12dp" | |
95 | + android:orientation="horizontal" > | |
96 | + | |
97 | + <Button | |
98 | + android:id="@+id/gump_reg" | |
99 | + android:layout_width="fill_parent" | |
100 | + android:layout_height="wrap_content" | |
101 | + android:layout_marginRight="10dp" | |
102 | + android:layout_weight="1" | |
103 | + android:background="@drawable/btn_green_bg" | |
104 | + android:text="@string/signup" | |
105 | + android:textColor="@color/white" /> | |
106 | + | |
107 | + <Button | |
108 | + android:id="@+id/gump_login" | |
109 | + android:layout_width="fill_parent" | |
110 | + android:layout_height="wrap_content" | |
111 | + android:layout_marginLeft="11dp" | |
112 | + android:layout_weight="1" | |
113 | + android:background="@drawable/btn_orange_bg" | |
114 | + android:gravity="center" | |
115 | + android:text="@string/login" | |
116 | + android:textColor="@android:color/white" | |
117 | + android:textSize="15sp" | |
118 | + android:textStyle="bold" /> | |
119 | + </LinearLayout> | |
120 | + | |
121 | + <LinearLayout | |
122 | + android:layout_width="fill_parent" | |
123 | + android:layout_height="wrap_content" | |
124 | + android:layout_marginLeft="35dp" | |
125 | + android:layout_marginRight="35dp" | |
126 | + android:orientation="horizontal" | |
127 | + android:paddingBottom="16dp" | |
128 | + android:paddingTop="16dp" > | |
129 | + | |
130 | + <Button | |
131 | + android:id="@+id/play" | |
132 | + android:layout_width="fill_parent" | |
133 | + android:layout_height="wrap_content" | |
134 | + android:background="@drawable/btn_orange_bg" | |
135 | + android:padding="5dp" | |
136 | + android:text="@string/quick_play" | |
137 | + android:textColor="@android:color/white" | |
138 | + android:textSize="16sp" | |
139 | + android:textStyle="bold" /> | |
140 | + </LinearLayout> | |
141 | + | |
142 | + <ImageView | |
143 | + android:id="@+id/or_line" | |
144 | + android:layout_width="fill_parent" | |
145 | + android:layout_height="wrap_content" | |
146 | + android:layout_marginLeft="35dp" | |
147 | + android:layout_marginRight="35dp" | |
148 | + android:background="@drawable/horizontal_line" /> | |
149 | + </LinearLayout> | |
150 | + | |
151 | + <LinearLayout | |
152 | + android:layout_width="match_parent" | |
153 | + android:layout_height="wrap_content" | |
154 | + android:background="@drawable/bottom_light_bg" | |
155 | + android:gravity="center_horizontal" > | |
156 | + | |
157 | + <ImageView | |
158 | + android:id="@+id/fb_login" | |
159 | + android:layout_width="wrap_content" | |
160 | + android:layout_height="wrap_content" | |
161 | + android:layout_marginRight="5dp" | |
162 | + android:layout_marginTop="10dp" | |
163 | + android:src="@drawable/ic_fb" /> | |
164 | + | |
165 | + <ImageView | |
166 | + android:id="@+id/vk_login" | |
167 | + android:layout_width="wrap_content" | |
168 | + android:layout_height="wrap_content" | |
169 | + android:layout_marginLeft="5dp" | |
170 | + android:layout_marginTop="10dp" | |
171 | + android:src="@drawable/ic_vk" /> | |
172 | + </LinearLayout> | |
173 | + | |
174 | +</LinearLayout> | |
0 | 175 | \ No newline at end of file |
... | ... | @@ -0,0 +1,74 @@ |
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/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 | + </LinearLayout> | |
53 | + | |
54 | + <LinearLayout | |
55 | + android:layout_width="match_parent" | |
56 | + android:layout_height="wrap_content" | |
57 | + android:background="@drawable/bottom_light_bg" > | |
58 | + | |
59 | + <Button | |
60 | + android:id="@+id/signup" | |
61 | + android:layout_width="match_parent" | |
62 | + android:layout_height="wrap_content" | |
63 | + android:layout_marginLeft="35dp" | |
64 | + android:layout_marginRight="35dp" | |
65 | + android:layout_marginTop="8dp" | |
66 | + android:background="@drawable/btn_orange_bg" | |
67 | + android:padding="5dp" | |
68 | + android:text="@string/signup" | |
69 | + android:textColor="@android:color/white" | |
70 | + android:textSize="16sp" /> | |
71 | + </LinearLayout> | |
72 | + </LinearLayout> | |
73 | + | |
74 | +</ScrollView> | |
0 | 75 | \ No newline at end of file |
... | ... | @@ -0,0 +1,23 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:layout_width="match_parent" | |
4 | + android:layout_height="match_parent" | |
5 | + android:background="@android:color/white" | |
6 | + android:minHeight="300dp" | |
7 | + android:minWidth="293dp" | |
8 | + android:orientation="vertical" > | |
9 | + | |
10 | + <WebView | |
11 | + android:id="@+id/mycard_web" | |
12 | + android:layout_width="fill_parent" | |
13 | + android:layout_height="fill_parent" /> | |
14 | + | |
15 | + <ProgressBar | |
16 | + android:id="@+id/loading_prog" | |
17 | + android:layout_gravity="center" | |
18 | + style="?android:attr/progressBarStyleLarge" | |
19 | + android:background="#59000000" | |
20 | + android:layout_width="wrap_content" | |
21 | + android:layout_height="wrap_content" /> | |
22 | + | |
23 | +</FrameLayout> | |
0 | 24 | \ No newline at end of file |
... | ... | @@ -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 |
... | ... | @@ -0,0 +1,8 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:id="@+id/login_root" | |
4 | + android:layout_width="match_parent" | |
5 | + android:layout_height="match_parent" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | +</LinearLayout> | |
0 | 9 | \ No newline at end of file |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:layout_width="fill_parent" | |
4 | + android:layout_height="fill_parent" | |
5 | + android:gravity="center" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | + <ImageView | |
9 | + android:layout_width="200sp" | |
10 | + android:layout_height="wrap_content" | |
11 | + android:layout_marginLeft="5sp" | |
12 | + android:layout_marginTop="5sp" | |
13 | + android:background="@drawable/bluepay_logo" /> | |
14 | + | |
15 | +</LinearLayout> | |
0 | 16 | \ No newline at end of file |
... | ... | @@ -0,0 +1,18 @@ |
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:paddingBottom="7dp" > | |
6 | + | |
7 | + <ImageView | |
8 | + android:id="@+id/banner" | |
9 | + android:layout_width="match_parent" | |
10 | + android:layout_height="100dp" | |
11 | + android:layout_marginBottom="7dp" | |
12 | + android:layout_marginLeft="10dp" | |
13 | + android:layout_marginRight="10dp" | |
14 | + android:layout_marginTop="10dp" | |
15 | + android:scaleType="fitXY" | |
16 | + android:src="@drawable/btn_orange_bg" /> | |
17 | + | |
18 | +</RelativeLayout> | |
0 | 19 | \ No newline at end of file |
... | ... | @@ -0,0 +1,26 @@ |
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:background="@color/payment_common_bg" | |
6 | + android:orientation="vertical" > | |
7 | + | |
8 | + <ProgressBar | |
9 | + android:id="@+id/loading_prog" | |
10 | + style="@android:style/Widget.ProgressBar.Horizontal" | |
11 | + android:layout_width="match_parent" | |
12 | + android:layout_height="2dp" /> | |
13 | + | |
14 | + <WebView | |
15 | + android:id="@+id/mycard_web" | |
16 | + android:layout_width="fill_parent" | |
17 | + android:layout_height="fill_parent" /> | |
18 | + | |
19 | +<!-- <LinearLayout --> | |
20 | +<!-- android:id="@+id/container" --> | |
21 | +<!-- android:layout_width="match_parent" --> | |
22 | +<!-- android:layout_height="wrap_content" --> | |
23 | +<!-- android:orientation="vertical" > --> | |
24 | +<!-- </LinearLayout> --> | |
25 | + | |
26 | +</LinearLayout> | |
0 | 27 | \ No newline at end of file |
... | ... | @@ -0,0 +1,44 @@ |
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:id="@+id/title_bar" | |
6 | + android:background="@drawable/title_light_bg" > | |
7 | + | |
8 | + <ImageView | |
9 | + android:id="@+id/btn_back" | |
10 | + android:layout_width="wrap_content" | |
11 | + android:layout_height="wrap_content" | |
12 | + android:layout_alignParentLeft="true" | |
13 | + android:layout_centerVertical="true" | |
14 | + android:layout_marginLeft="10dp" | |
15 | + android:paddingLeft="20dp" | |
16 | + android:paddingRight="10dp" | |
17 | + android:src="@drawable/ic_back_dark" /> | |
18 | + | |
19 | + <TextView | |
20 | + android:id="@+id/up_txt" | |
21 | + android:layout_width="wrap_content" | |
22 | + android:layout_height="wrap_content" | |
23 | + android:layout_centerVertical="true" | |
24 | + android:layout_toRightOf="@id/btn_back" | |
25 | + android:textColor="@color/black_text" | |
26 | + android:textSize="18sp" /> | |
27 | + | |
28 | + <ImageView | |
29 | + android:id="@+id/log" | |
30 | + android:layout_width="wrap_content" | |
31 | + android:layout_height="wrap_content" | |
32 | + android:layout_marginTop="27dp" | |
33 | + android:layout_marginLeft="35dp" | |
34 | + android:visibility="gone" /> | |
35 | + | |
36 | + <TextView | |
37 | + android:id="@+id/title" | |
38 | + android:layout_width="wrap_content" | |
39 | + android:layout_height="wrap_content" | |
40 | + android:layout_centerInParent="true" | |
41 | + android:textColor="@android:color/black" | |
42 | + android:textSize="18sp" /> | |
43 | + | |
44 | +</RelativeLayout> | |
0 | 45 | \ No newline at end of file |
... | ... | @@ -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> |
... | ... | @@ -0,0 +1,34 @@ |
1 | +<resources> | |
2 | + | |
3 | + <string name="user_name_hint">Email</string> | |
4 | + <string name="password_hint">Senha</string> | |
5 | + <string name="quick_play">jogo de hóspedes</string> | |
6 | + <string name="login">Login</string> | |
7 | + <string name="signup">Registrar</string> | |
8 | + <string name="bind">Vincular ao email</string> | |
9 | + <string name="loading">Carregando</string> | |
10 | + <string name="loging">Carregando</string> | |
11 | + <string name="switch_user">Contas de comutação</string> | |
12 | + <!-- toast --> | |
13 | + <string name="illegal_uname_tip">Email inválido</string> | |
14 | + <string name="illegal_pwd_tip">Senha Inválida (6-20 caracteres)</string> | |
15 | + <string name="illegal_user_exist">Email já está em uso</string> | |
16 | + <string name="illegal_pwd_invalid">Senha incorreta, favor tentar novamente</string> | |
17 | + <string name="illegal_user_not_exist">Email Inválido</string> | |
18 | + <string name="invalid_email">Favor inserir seu email</string> | |
19 | + <string name="login_fail">Login falhou</string> | |
20 | + <string name="signup_fail">Registrar falhou</string> | |
21 | + <string name="bind_fail">Vincular falhou</string> | |
22 | + <string name="gen_quick_acc_err">Entre falhou, por favor tente novamente</string> | |
23 | + <string name="quick_login_err">Entre falhou, por favor tente novamente</string> | |
24 | + <!-- 修改密码 --> | |
25 | + <string name="old_pwd">Current Password</string> | |
26 | + <string name="new_pwd">New Password</string> | |
27 | + <string name="mod_pwd">Change Password</string> | |
28 | + <string name="cant_change_unknown">Reset fail, please contact customer service</string> | |
29 | + <string name="submit">Confirm new password</string> | |
30 | + <string name="reset">Reset Password</string> | |
31 | + <string name="reset_intro">Current password isn’t required when reset password</string> | |
32 | + <string name="mod_pwd_success">Reset Succeed</string> | |
33 | + <string name="mail_sent_success">An email has been sent to you, please follow the instructions in the email.</string> | |
34 | +</resources> | |
0 | 35 | \ No newline at end of file |
... | ... | @@ -0,0 +1,53 @@ |
1 | +<resources> | |
2 | + | |
3 | + <string name="user_name_hint">อีเมลล์</string> | |
4 | + <string name="password_hint">พาสเวิร์ด</string> | |
5 | + <string name="quick_play">การเล่นของผู้เข้าพัก</string> | |
6 | + <string name="login">ล็อกอิน</string> | |
7 | + <string name="signup">ลงทะเบียน</string> | |
8 | + <string name="bind">ผูกอีเมลล์</string> | |
9 | + <string name="loading">กำลังโหลด</string> | |
10 | + <string name="loging">กำลังโหลด</string> | |
11 | + <string name="switch_user">การสลับบัญชี</string> | |
12 | + <!-- toast --> | |
13 | + <string name="illegal_uname_tip">อีเมลล์ไม่ถูกต้อง</string> | |
14 | + <string name="illegal_pwd_tip">พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)</string> | |
15 | + <string name="illegal_user_exist">อีเมลล์นี้ได้ถูกใช้แล้ว</string> | |
16 | + <string name="illegal_pwd_invalid">พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง</string> | |
17 | + <string name="illegal_user_not_exist">อีเมลล์ไม่ถูกต้อง</string> | |
18 | + <string name="invalid_email">ใส่อีเมลล์ของคุณ</string> | |
19 | + <string name="login_fail">ล็อกอินผิดพลาด</string> | |
20 | + <string name="signup_fail">ลงทะเบียนไม่สำเร็จ</string> | |
21 | + <string name="bind_fail">ผูกอีเมลล์ไม่สำเร็จ</string> | |
22 | + <string name="signup_success">สำเร็จ</string> | |
23 | + <!-- 修改密码 --> | |
24 | + <string name="old_pwd">พาสเวิร์ดปัจจุบัน</string> | |
25 | + <string name="new_pwd">พาสเวิร์ดใหม่</string> | |
26 | + <string name="mod_pwd">แก้ไขพาสเวิร์ด</string> | |
27 | + <string name="cant_change_unknown">แก้ไขล้มเหลว,กรุณาติดต่อแอดมิน</string> | |
28 | + <string name="submit">ยืนยัน</string> | |
29 | + <string name="reset">ตั้งพาสเวิร์ด</string> | |
30 | + <string name="reset_intro">ไม่สามารถตั้งพาสเวิร์ดซ้ำกับพาสเวิร์ดปัจจุบันได้</string> | |
31 | + <string name="mod_pwd_success">แก้ไข</string> | |
32 | + <string name="mail_sent_success">ระบบได้แจ้งข้อมูลการเปลี่ยนพาสเวิร์ดไปยังอีเมลล์สำรอง กรุณาทำตามขั้นตอนในอีเมลล์</string> | |
33 | + <!-- payment --> | |
34 | + <string name="title_payment_choice">เลือกช่องทางชำระเงิน</string> | |
35 | + <!-- summary title --> | |
36 | + <string name="summary_title">ตารางแลกเปลี่ยน:</string> | |
37 | + <string name="useranme_pattern">ชื่อผู้ใช้:%s</string> | |
38 | + <!-- <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string> --> | |
39 | + <string name="mol_card_hint">กรุณากรอกรหัสบัตร</string> | |
40 | + <string name="mol_pass_hint">กรุณาใส่รหัส</string> | |
41 | + <string name="pay_ok">OK</string> | |
42 | + <string name="pay_error">การชำระล้มเหลว กรุณาลองใหม่อีกครั้ง</string> | |
43 | + <string name="card_input_tip">กรุณากรอกรายละเอียดบัตร</string> | |
44 | + <string name="amount_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | |
45 | + <!-- paypal --> | |
46 | + <string name="paypal_amount_hint">กรุณาใส่จำนวนเงินที่ต้องการ(%s-10000เป็นจำนวนเต็ม)</string> | |
47 | + <string name="paypal_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | |
48 | + <!-- gp --> | |
49 | + <string name="gp_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | |
50 | + <string name="gen_quick_acc_err">เข้าสู่ระบบที่ล้มเหลวโปรดลองอีกครั้ง</string> | |
51 | + <string name="quick_login_err">เข้าสู่ระบบที่ล้มเหลวโปรดลองอีกครั้ง</string> | |
52 | + | |
53 | +</resources> | |
0 | 54 | \ No newline at end of file |
... | ... | @@ -0,0 +1,50 @@ |
1 | +<resources> | |
2 | + | |
3 | + <string name="user_name_hint">郵箱</string> | |
4 | + <string name="password_hint">密碼</string> | |
5 | + <string name="login">登錄</string> | |
6 | + <string name="signup">註冊</string> | |
7 | + <string name="bind">綁定郵箱</string> | |
8 | + <string name="loading">加載中……</string> | |
9 | + <string name="loging">加載中……</string> | |
10 | + <string name="switch_user">切換賬戶</string> | |
11 | + <!-- toast --> | |
12 | + <string name="illegal_uname_tip">郵箱格式不正確</string> | |
13 | + <string name="illegal_pwd_tip">密碼格式不正確 (6–20字符)</string> | |
14 | + <string name="illegal_user_exist">郵箱已註冊</string> | |
15 | + <string name="illegal_pwd_invalid">密碼不正確,請重試</string> | |
16 | + <string name="illegal_user_not_exist">郵箱不存在</string> | |
17 | + <string name="invalid_email">請輸入正確的郵箱</string> | |
18 | + <string name="login_fail">登錄失敗</string> | |
19 | + <string name="signup_fail">註冊失敗</string> | |
20 | + <string name="bind_fail">綁定失敗</string> | |
21 | + <!-- 修改密码 --> | |
22 | + <string name="old_pwd">當前密碼</string> | |
23 | + <string name="new_pwd">新密碼</string> | |
24 | + <string name="mod_pwd">修改密碼</string> | |
25 | + <string name="cant_change_unknown">修改失敗,請與客服聯繫</string> | |
26 | + <string name="submit">確定修改</string> | |
27 | + <string name="reset">重置密碼</string> | |
28 | + <string name="reset_intro">重置密碼時可不填寫當前密碼</string> | |
29 | + <string name="mod_pwd_success">修改成功</string> | |
30 | + <string name="mail_sent_success">密碼重置郵件已發送到指定郵箱賬戶,請按郵件內的提示操作</string> | |
31 | + | |
32 | + <!-- 支付相关 --> | |
33 | + <!-- title --> | |
34 | + <string name="title_payment_choice">請選擇支付方式</string> | |
35 | + <!-- summary title --> | |
36 | + <string name="summary_title">兌換表:</string> | |
37 | + <string name="mol_card_hint">請輸入卡號</string> | |
38 | + <string name="mol_pass_hint">請輸入密碼</string> | |
39 | + <string name="pay_ok">OK</string> | |
40 | + <string name="pay_error">支付失敗,請再重試。</string> | |
41 | + <string name="card_input_tip">請輸入點卡信息</string> | |
42 | + <string name="amount_choice_tip">請選擇支付金額</string> | |
43 | + <!-- paypal --> | |
44 | + <string name="paypal_choice_tip">請選擇支付金額</string> | |
45 | + <!-- gp --> | |
46 | + <string name="gp_choice_tip">請選擇支付金額</string> | |
47 | + <string name="gen_quick_acc_err">登錄失敗,請重試</string> | |
48 | + <string name="quick_login_err">登錄失敗,請重試</string> | |
49 | + | |
50 | +</resources> | |
0 | 51 | \ No newline at end of file |
... | ... | @@ -0,0 +1,53 @@ |
1 | +<resources> | |
2 | + | |
3 | + <string name="user_name_hint">邮箱</string> | |
4 | + <string name="password_hint">密码</string> | |
5 | + <string name="quick_play">Guest Play</string> | |
6 | + <string name="login">登录</string> | |
7 | + <string name="signup">注册</string> | |
8 | + <string name="bind">绑定邮箱</string> | |
9 | + <string name="loading">加载中……</string> | |
10 | + <string name="loging">加载中……</string> | |
11 | + <string name="switch_user">切换用户</string> | |
12 | + <!-- toast --> | |
13 | + <string name="illegal_uname_tip">请输入正确的邮箱</string> | |
14 | + <string name="illegal_pwd_tip">密码格式不正确 (6–20字符)</string> | |
15 | + <string name="illegal_user_exist">邮箱已注册</string> | |
16 | + <string name="illegal_pwd_invalid">密码不正确,请重试</string> | |
17 | + <string name="illegal_user_not_exist">邮箱未注册</string> | |
18 | + <string name="invalid_email">请输入正确的邮箱</string> | |
19 | + <string name="login_fail">登录失败</string> | |
20 | + <string name="signup_fail">注册失败</string> | |
21 | + <string name="bind_fail">绑定失败</string> | |
22 | + <string name="net_error">网络无法连接,请查看网络设置</string> | |
23 | + <!-- 修改密码 --> | |
24 | + <string name="old_pwd">当前密码</string> | |
25 | + <string name="new_pwd">新密码</string> | |
26 | + <string name="mod_pwd">修改密码</string> | |
27 | + <string name="cant_change_unknown">修改失败,请与客服联系</string> | |
28 | + <string name="submit">确定修改</string> | |
29 | + <string name="reset">重置密码</string> | |
30 | + <string name="reset_intro">重置密码时可不填写当前密码</string> | |
31 | + <string name="mod_pwd_success">修改成功</string> | |
32 | + <string name="mail_sent_success">密码重置邮件已发送到指定账户邮箱,请按邮件内的提示操作</string> | |
33 | + | |
34 | + <!-- 支付 --> | |
35 | + <!-- title --> | |
36 | + <string name="title_payment_choice">请选择支付方式</string> | |
37 | + <!-- summary title --> | |
38 | + <string name="summary_title">兑换表:</string> | |
39 | + <!-- payment --> | |
40 | + <string name="mol_card_hint">请输入卡号</string> | |
41 | + <string name="mol_pass_hint">请输入密码</string> | |
42 | + <string name="pay_ok">OK</string> | |
43 | + <string name="pay_error">充值失败,请重试</string> | |
44 | + <string name="card_input_tip">请输入点卡信息</string> | |
45 | + <string name="amount_choice_tip">请选择支付金额</string> | |
46 | + <!-- paypal --> | |
47 | + <string name="paypal_choice_tip">请选择支付金额</string> | |
48 | + <!-- gp --> | |
49 | + <string name="gp_choice_tip">请选择支付金额</string> | |
50 | + <string name="gen_quick_acc_err">登录失败,请重试</string> | |
51 | + <string name="quick_login_err">登录失败,请重试</string> | |
52 | + | |
53 | +</resources> | |
0 | 54 | \ No newline at end of file |
... | ... | @@ -0,0 +1,25 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<resources> | |
3 | + | |
4 | + <color name="white">#FFFFFF</color> | |
5 | + <color name="white_translucent">#D9FFFFFF</color> | |
6 | + <color name="line">#e5e5e5</color> | |
7 | + <color name="light_gray">#c9c9c9</color> | |
8 | + <color name="dark_gray">#d9d9d9</color> | |
9 | + <color name="orange_normal">#f8b500</color> | |
10 | + <color name="orange_pressed">#ffc62c</color> | |
11 | + <color name="black_text">#3f3c38</color> | |
12 | +<!-- <color name="btn_white_normal">#f8f7f4</color> --> | |
13 | +<!-- <color name="btn_white_pressed">#f8f7f4</color> --> | |
14 | + <color name="btn_green_normal">#3eb370</color> | |
15 | + <color name="btn_green_pressed">#3cca79</color> | |
16 | + | |
17 | + <color name="common_gray">#ecf0f0</color> | |
18 | + <color name="common_gray2">#e0e6e8</color> | |
19 | + <color name="translucent">#7e000000</color> | |
20 | + <color name="transparent">#00000000</color> | |
21 | + | |
22 | + <color name="payment_common_bg">#f2efeb</color> | |
23 | + <color name="summary_bg">#d6d4d1</color> | |
24 | + <color name="background_color">#00a0e9</color> | |
25 | +</resources> | |
0 | 26 | \ No newline at end of file |
... | ... | @@ -0,0 +1,94 @@ |
1 | +<resources> | |
2 | + | |
3 | + <string name="user_name_hint">Email</string> | |
4 | + <string name="password_hint">Password</string> | |
5 | + <string name="quick_login">Play(%sS)</string> | |
6 | + <string name="quick_play">Play as Guest</string> | |
7 | + <string name="login">Login</string> | |
8 | + <string name="signup">Signup</string> | |
9 | + <string name="bind">Bind your email</string> | |
10 | + <string name="loading">Loading</string> | |
11 | + <string name="loging">Loading...</string> | |
12 | + <string name="switch_user">Switch Account</string> | |
13 | + <!-- toast --> | |
14 | + <string name="illegal_uname_tip">Invalid Email</string> | |
15 | + <string name="illegal_pwd_tip">Invalid Password (6–20 characters).</string> | |
16 | + <string name="illegal_user_exist">Email has already been used</string> | |
17 | + <string name="illegal_pwd_invalid">Incorrect password. Please try again.</string> | |
18 | + <string name="illegal_user_not_exist">Invalid Email</string> | |
19 | + <string name="invalid_email">Invalid Email</string> | |
20 | + <string name="login_fail">Login Failed</string> | |
21 | + <string name="signup_fail">Signup Failed</string> | |
22 | + <string name="bind_fail">Bind Failed</string> | |
23 | + <string name="net_error">No Internet connection.</string> | |
24 | + <string name="gump_login">Login</string> | |
25 | + <string name="vk_login">Login with VK</string> | |
26 | + <string name="fb_login">Login with Facebook</string> | |
27 | + <string name="signup_success">Sign Up Succeeded</string> | |
28 | + <string name="gen_quick_acc_err">Login failed, please try again</string> | |
29 | + <string name="quick_login_err">Login failed, please try again</string> | |
30 | + <!-- 修改密码 --> | |
31 | + <string name="old_pwd">Current Password</string> | |
32 | + <string name="new_pwd">New Password</string> | |
33 | + <string name="mod_pwd">Change Password</string> | |
34 | + <string name="cant_change_unknown">Reset failed, please contact customer service</string> | |
35 | + <string name="submit">Confirm</string> | |
36 | + <string name="reset">Reset</string> | |
37 | + <string name="reset_intro">Current password isn’t required when reset password</string> | |
38 | + <string name="mod_pwd_success">Succeed</string> | |
39 | + <string name="mail_sent_success">An Email has been sent to you, please follow the instructions in the Email.</string> | |
40 | + | |
41 | + <!-- 支付相关 --> | |
42 | + | |
43 | + | |
44 | + <!-- title --> | |
45 | + <string name="title_mycard">Mycard點數儲值</string> | |
46 | + <string name="title_mycard_member">Mycard會員扣點</string> | |
47 | + <string name="title_mycard_billing">Mycard Billing</string> | |
48 | + <string name="title_mol">MOLPoints Gift Card</string> | |
49 | + <string name="title_mol_wallet">MOLPoints E-Wallet</string> | |
50 | + <string name="title_12call">12Call</string> | |
51 | + <string name="title_tm">True Money</string> | |
52 | + <string name="title_zest">Zest</string> | |
53 | + <string name="title_gp">Google play</string> | |
54 | + <string name="title_paypal">Paypal</string> | |
55 | + <string name="title_rixty">Rixty</string> | |
56 | + <string name="title_ngan">NganLoung</string> | |
57 | + <string name="title_easy2pay">Easy2Pay</string> | |
58 | + <string name="title_boa">BOACompra</string> | |
59 | + <string name="title_indomog_voucher">Indomog</string> | |
60 | + <string name="title_indomog_account">Indomog Account Balance</string> | |
61 | + <string name="title_yandex">Yandex</string> | |
62 | + <string name="title_vnpt_vnp">VinaPhone</string> | |
63 | + <string name="title_vnpt_vms">MobiFone</string> | |
64 | + <string name="title_vnpt_onc">Oncash</string> | |
65 | + <string name="title_vnpt_fpt">FPT</string> | |
66 | + <string name="title_vnpt_vtt">Viettel</string> | |
67 | + <string name="title_vnpt_mgc">MegaCard</string> | |
68 | + <string name="title_coda">Coda Payment</string> | |
69 | + <string name="title_cherry">Cherry Credits</string> | |
70 | + <string name="title_payment_choice">Select payment methods</string> | |
71 | + | |
72 | + <!-- summary title --> | |
73 | + <string name="summary_title">Price list:</string> | |
74 | + | |
75 | + <!-- payment --> | |
76 | + <string name="useranme_pattern">Account:%s</string> | |
77 | + <string name="mol_card_hint">Card No.</string> | |
78 | + <string name="mol_pass_hint">Password</string> | |
79 | + <string name="pay_ok">OK</string> | |
80 | + <string name="pay_error">Recharge failed, please try again.</string> | |
81 | + <string name="card_input_tip">Card information</string> | |
82 | + <string name="amount_choice_tip">Please select the amount</string> | |
83 | + | |
84 | + <!-- paypal --> | |
85 | + <string name="paypal_amount_hint">Please enter the amount (Integer between %s to 10000)</string> | |
86 | + <string name="paypal_choice_tip">Please select the amount</string> | |
87 | + <!-- gp --> | |
88 | + <string name="gp_choice_tip">Please select the amount</string> | |
89 | + <!-- yandex --> | |
90 | + <string name="yandex_money">Yandex Money</string> | |
91 | + <string name="yandex_bank">Yandex Bank</string> | |
92 | + <string name="yandex_cash">Yandex Cash</string> | |
93 | + | |
94 | +</resources> | |
0 | 95 | \ No newline at end of file |
... | ... | @@ -0,0 +1,29 @@ |
1 | +<resources> | |
2 | + | |
3 | + <!-- | |
4 | + Base application theme, dependent on API level. This theme is replaced | |
5 | + by AppBaseTheme from res/values-vXX/styles.xml on newer devices. | |
6 | + --> | |
7 | + <style name="AppBaseTheme" parent="android:Theme.Light"> | |
8 | + <!-- | |
9 | + Theme customizations available in newer API levels can go in | |
10 | + res/values-vXX/styles.xml, while customizations related to | |
11 | + backward-compatibility can go here. | |
12 | + --> | |
13 | + </style> | |
14 | + | |
15 | + <!-- Application theme. --> | |
16 | + <style name="AppTheme" parent="AppBaseTheme"> | |
17 | + <!-- All customizations that are NOT specific to a particular API-level can go here. --> | |
18 | + </style> | |
19 | + | |
20 | + <style name="NotificationText"> | |
21 | + <item name="android:textColor">?android:attr/textColorPrimary</item> | |
22 | + </style> | |
23 | + | |
24 | + <style name="NotificationTitle"> | |
25 | + <item name="android:textColor">?android:attr/textColorPrimary</item> | |
26 | + <item name="android:textStyle">bold</item> | |
27 | + </style> | |
28 | + | |
29 | +</resources> |
... | ... | @@ -0,0 +1,18 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<resources> | |
3 | + | |
4 | + <style name="Theme.TransparentWin" parent="android:Theme"> | |
5 | + <item name="android:windowFrame">@null</item> | |
6 | + <item name="android:windowIsFloating">true</item> | |
7 | + <item name="android:windowIsTranslucent">true</item> | |
8 | + <item name="android:windowNoTitle">true</item> | |
9 | + <item name="android:windowBackground">@color/transparent</item> | |
10 | + <item name="android:backgroundDimEnabled">true</item> | |
11 | + <item name="android:windowFullscreen">true</item> | |
12 | + </style> | |
13 | + | |
14 | + <style name="Theme.WinForExchange" parent="@style/Theme.TransparentWin"> | |
15 | + <item name="android:backgroundDimEnabled">true</item> | |
16 | + </style> | |
17 | + | |
18 | +</resources> | |
0 | 19 | \ No newline at end of file |
... | ... | @@ -0,0 +1,9 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<classpath> | |
3 | + <classpathentry kind="src" path="src"/> | |
4 | + <classpathentry kind="src" path="gen"/> | |
5 | + <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | |
6 | + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | |
7 | + <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | |
8 | + <classpathentry kind="output" path="bin/classes"/> | |
9 | +</classpath> |
... | ... | @@ -0,0 +1,33 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<projectDescription> | |
3 | + <name>GameSDKSample</name> | |
4 | + <comment></comment> | |
5 | + <projects> | |
6 | + </projects> | |
7 | + <buildSpec> | |
8 | + <buildCommand> | |
9 | + <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | |
10 | + <arguments> | |
11 | + </arguments> | |
12 | + </buildCommand> | |
13 | + <buildCommand> | |
14 | + <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | |
15 | + <arguments> | |
16 | + </arguments> | |
17 | + </buildCommand> | |
18 | + <buildCommand> | |
19 | + <name>org.eclipse.jdt.core.javabuilder</name> | |
20 | + <arguments> | |
21 | + </arguments> | |
22 | + </buildCommand> | |
23 | + <buildCommand> | |
24 | + <name>com.android.ide.eclipse.adt.ApkBuilder</name> | |
25 | + <arguments> | |
26 | + </arguments> | |
27 | + </buildCommand> | |
28 | + </buildSpec> | |
29 | + <natures> | |
30 | + <nature>com.android.ide.eclipse.adt.AndroidNature</nature> | |
31 | + <nature>org.eclipse.jdt.core.javanature</nature> | |
32 | + </natures> | |
33 | +</projectDescription> |
... | ... | @@ -0,0 +1,86 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + package="com.gumpsdk.gp.demo2" | |
4 | + android:versionCode="14" | |
5 | + android:versionName="1.8" > | |
6 | + | |
7 | + <uses-sdk | |
8 | + android:minSdkVersion="9" | |
9 | + android:targetSdkVersion="20" /> | |
10 | + | |
11 | + <uses-permission android:name="android.permission.INTERNET" /> | |
12 | + <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | |
13 | + <uses-permission android:name="android.permission.BLUETOOTH" /> | |
14 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | |
15 | + <uses-permission android:name="android.permission.WRITE_SETTINGS" /> | |
16 | + <uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
17 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
18 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
19 | + <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> | |
20 | + <uses-permission android:name="android.permission.SEND_SMS"/> | |
21 | + | |
22 | + <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> | |
23 | + <uses-permission android:name="com.android.vending.BILLING" /> | |
24 | + | |
25 | + <application | |
26 | + android:allowBackup="true" | |
27 | + android:icon="@drawable/ic_launcher" | |
28 | + android:label="@string/app_name" > | |
29 | + <activity | |
30 | + android:name="com.gumptech.loginsdk.sample.MainActivity" | |
31 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
32 | + android:label="@string/app_name" | |
33 | + android:screenOrientation="landscape" > | |
34 | + <intent-filter> | |
35 | + <action android:name="android.intent.action.MAIN" /> | |
36 | + | |
37 | + <category android:name="android.intent.category.LAUNCHER" /> | |
38 | + </intent-filter> | |
39 | + </activity> | |
40 | + <activity | |
41 | + android:name="com.gumptech.sdk.ContainerActivity" | |
42 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
43 | + android:windowSoftInputMode="stateAlwaysHidden|adjustPan" | |
44 | + android:theme="@style/Theme.TransparentWin" > | |
45 | + </activity> | |
46 | + <activity | |
47 | + android:name="com.gumptech.sdk.PaymentActivity" | |
48 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
49 | + android:launchMode="singleTask" | |
50 | + android:theme="@android:style/Theme.Translucent.NoTitleBar" > | |
51 | + <intent-filter> | |
52 | + <category android:name="android.intent.category.DEFAULT" /> | |
53 | + | |
54 | + <action android:name="android.intent.action.VIEW" /> | |
55 | + | |
56 | + <category android:name="android.intent.category.BROWSABLE" /> | |
57 | + | |
58 | + <data | |
59 | + android:host="com.gump.sdk" | |
60 | + android:scheme="gump10031" /> | |
61 | + </intent-filter> | |
62 | + </activity> | |
63 | + <activity | |
64 | + android:name="com.gumptech.sdk.ExchangeWindow" | |
65 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
66 | + android:theme="@style/Theme.WinForExchange" > | |
67 | + </activity> | |
68 | + | |
69 | + <service android:name="com.gumptech.sdk.PushService" > | |
70 | + </service> | |
71 | + | |
72 | + <!-- facebook --> | |
73 | + <activity | |
74 | + android:name="com.facebook.FacebookActivity" | |
75 | + android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" | |
76 | + android:label="@string/app_name" | |
77 | + android:theme="@android:style/Theme.Translucent.NoTitleBar" /> | |
78 | + <!-- vk --> | |
79 | +<!-- <activity android:name="com.vk.sdk.VKOpenAuthActivity" /> --> | |
80 | +<!-- <activity --> | |
81 | +<!-- android:name="com.vk.sdk.VKServiceActivity" --> | |
82 | +<!-- android:label="ServiceActivity" --> | |
83 | +<!-- android:theme="@style/VK.Transparent" /> --> | |
84 | + </application> | |
85 | + | |
86 | +</manifest> | |
0 | 87 | \ No newline at end of file |
... | ... | @@ -0,0 +1,85 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<module external.linked.project.id="GameSDKSample" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | |
3 | + <component name="FacetManager"> | |
4 | + <facet type="android-gradle" name="Android-Gradle"> | |
5 | + <configuration> | |
6 | + <option name="GRADLE_PROJECT_PATH" value=":" /> | |
7 | + </configuration> | |
8 | + </facet> | |
9 | + <facet type="java-gradle" name="Java-Gradle"> | |
10 | + <configuration> | |
11 | + <option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" /> | |
12 | + <option name="BUILDABLE" value="false" /> | |
13 | + </configuration> | |
14 | + </facet> | |
15 | + <facet type="android" name="Android"> | |
16 | + <configuration> | |
17 | + <option name="SELECTED_BUILD_VARIANT" value="release" /> | |
18 | + <option name="SELECTED_TEST_ARTIFACT" value="_android_test_" /> | |
19 | + <option name="ASSEMBLE_TASK_NAME" value="assembleRelease" /> | |
20 | + <option name="COMPILE_JAVA_TASK_NAME" value="compileReleaseSources" /> | |
21 | + <option name="SOURCE_GEN_TASK_NAME" value="generateReleaseSources" /> | |
22 | + <option name="ALLOW_USER_CONFIGURATION" value="false" /> | |
23 | + <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/res" /> | |
24 | + </configuration> | |
25 | + </facet> | |
26 | + </component> | |
27 | + <component name="NewModuleRootManager" inherit-compiler-output="false"> | |
28 | + <output url="file://$MODULE_DIR$/build/intermediates/classes/release" /> | |
29 | + <output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" /> | |
30 | + <exclude-output /> | |
31 | + <content url="file://$MODULE_DIR$"> | |
32 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/release" isTestSource="false" generated="true" /> | |
33 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/release" isTestSource="false" generated="true" /> | |
34 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/release" isTestSource="false" generated="true" /> | |
35 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/release" isTestSource="false" generated="true" /> | |
36 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/release" type="java-resource" /> | |
37 | + <sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/release" type="java-resource" /> | |
38 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/res" type="java-resource" /> | |
39 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/resources" type="java-resource" /> | |
40 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/assets" type="java-resource" /> | |
41 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/aidl" isTestSource="false" /> | |
42 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/java" isTestSource="false" /> | |
43 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/jni" isTestSource="false" /> | |
44 | + <sourceFolder url="file://$MODULE_DIR$/build-types/release/rs" isTestSource="false" /> | |
45 | + <sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" /> | |
46 | + <sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" /> | |
47 | + <sourceFolder url="file://$MODULE_DIR$/assets" type="java-resource" /> | |
48 | + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | |
49 | + <sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" /> | |
50 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" /> | |
51 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" /> | |
52 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" /> | |
53 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" /> | |
54 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" /> | |
55 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" /> | |
56 | + <sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" /> | |
57 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" /> | |
58 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" /> | |
59 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" /> | |
60 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/coverage-instrumented-classes" /> | |
61 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" /> | |
62 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" /> | |
63 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" /> | |
64 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" /> | |
65 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" /> | |
66 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" /> | |
67 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/libs" /> | |
68 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" /> | |
69 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" /> | |
70 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" /> | |
71 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" /> | |
72 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard" /> | |
73 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" /> | |
74 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" /> | |
75 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" /> | |
76 | + <excludeFolder url="file://$MODULE_DIR$/build/outputs" /> | |
77 | + <excludeFolder url="file://$MODULE_DIR$/build/tmp" /> | |
78 | + </content> | |
79 | + <orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" /> | |
80 | + <orderEntry type="sourceFolder" forTests="false" /> | |
81 | + <orderEntry type="library" exported="" name="bolts-android-1.2.1" level="project" /> | |
82 | + <orderEntry type="library" exported="" name="support-annotations-22.1.1" level="project" /> | |
83 | + <orderEntry type="module" module-name="GameSDK" exported="" /> | |
84 | + </component> | |
85 | +</module> | |
0 | 86 | \ No newline at end of file |
... | ... | @@ -0,0 +1,70 @@ |
1 | +buildscript { | |
2 | + repositories { | |
3 | + mavenCentral() | |
4 | + } | |
5 | + dependencies { | |
6 | + classpath 'com.android.tools.build:gradle:1.2.3' | |
7 | + } | |
8 | +} | |
9 | +repositories { | |
10 | + mavenCentral() | |
11 | +} | |
12 | +apply plugin: 'com.android.application' | |
13 | + | |
14 | +dependencies { | |
15 | + compile fileTree(dir: 'libs', include: '*.jar') | |
16 | + compile project(':GameSDK') | |
17 | +} | |
18 | + | |
19 | +android { | |
20 | + signingConfigs { | |
21 | + letsgame { | |
22 | + keyAlias 'ZzTYEadlf2349UIkdf38934KDlsfdKqpzmdhewri387429LKDJL' | |
23 | + keyPassword 'ZDJDLL23YRPQM3BBXjdfpow3KDehwyrojafdajfjadfLDK83I' | |
24 | + storeFile file('E:/cert/letsgame.keystore') | |
25 | + storePassword 'ZDJDLL23YRPQM3BBXjdfpow3KDehwyrojafdajfjadfLDK83I' | |
26 | + } | |
27 | + } | |
28 | + compileSdkVersion 22 | |
29 | + buildToolsVersion '22.0.1' | |
30 | + sourceSets { | |
31 | + main { | |
32 | + manifest.srcFile 'AndroidManifest.xml' | |
33 | + java.srcDirs = ['src'] | |
34 | + resources.srcDirs = ['src'] | |
35 | + aidl.srcDirs = ['src'] | |
36 | + renderscript.srcDirs = ['src'] | |
37 | + res.srcDirs = ['res'] | |
38 | + assets.srcDirs = ['assets'] | |
39 | + } | |
40 | + | |
41 | + // Move the tests to tests/java, tests/res, etc... | |
42 | + instrumentTest.setRoot('tests') | |
43 | + | |
44 | + // Move the build types to build-types/<type> | |
45 | + // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... | |
46 | + // This moves them out of them default location under src/<type>/... which would | |
47 | + // conflict with src/ being used by the main source set. | |
48 | + // Adding new build types or product flavors should be accompanied | |
49 | + // by a similar customization. | |
50 | + debug.setRoot('build-types/debug') | |
51 | + release.setRoot('build-types/release') | |
52 | + } | |
53 | + compileOptions { | |
54 | + sourceCompatibility JavaVersion.VERSION_1_7 | |
55 | + targetCompatibility JavaVersion.VERSION_1_7 | |
56 | + } | |
57 | + buildTypes { | |
58 | + release { | |
59 | + signingConfig signingConfigs.letsgame | |
60 | + } | |
61 | + debug { | |
62 | + signingConfig signingConfigs.letsgame | |
63 | + } | |
64 | + } | |
65 | + defaultConfig { | |
66 | + signingConfig signingConfigs.letsgame | |
67 | + } | |
68 | + productFlavors { | |
69 | + } | |
70 | +} |
... | ... | @@ -0,0 +1,164 @@ |
1 | +#!/usr/bin/env bash | |
2 | + | |
3 | +############################################################################## | |
4 | +## | |
5 | +## Gradle start up script for UN*X | |
6 | +## | |
7 | +############################################################################## | |
8 | + | |
9 | +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | |
10 | +DEFAULT_JVM_OPTS="" | |
11 | + | |
12 | +APP_NAME="Gradle" | |
13 | +APP_BASE_NAME=`basename "$0"` | |
14 | + | |
15 | +# Use the maximum available, or set MAX_FD != -1 to use that value. | |
16 | +MAX_FD="maximum" | |
17 | + | |
18 | +warn ( ) { | |
19 | + echo "$*" | |
20 | +} | |
21 | + | |
22 | +die ( ) { | |
23 | + echo | |
24 | + echo "$*" | |
25 | + echo | |
26 | + exit 1 | |
27 | +} | |
28 | + | |
29 | +# OS specific support (must be 'true' or 'false'). | |
30 | +cygwin=false | |
31 | +msys=false | |
32 | +darwin=false | |
33 | +case "`uname`" in | |
34 | + CYGWIN* ) | |
35 | + cygwin=true | |
36 | + ;; | |
37 | + Darwin* ) | |
38 | + darwin=true | |
39 | + ;; | |
40 | + MINGW* ) | |
41 | + msys=true | |
42 | + ;; | |
43 | +esac | |
44 | + | |
45 | +# For Cygwin, ensure paths are in UNIX format before anything is touched. | |
46 | +if $cygwin ; then | |
47 | + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` | |
48 | +fi | |
49 | + | |
50 | +# Attempt to set APP_HOME | |
51 | +# Resolve links: $0 may be a link | |
52 | +PRG="$0" | |
53 | +# Need this for relative symlinks. | |
54 | +while [ -h "$PRG" ] ; do | |
55 | + ls=`ls -ld "$PRG"` | |
56 | + link=`expr "$ls" : '.*-> \(.*\)$'` | |
57 | + if expr "$link" : '/.*' > /dev/null; then | |
58 | + PRG="$link" | |
59 | + else | |
60 | + PRG=`dirname "$PRG"`"/$link" | |
61 | + fi | |
62 | +done | |
63 | +SAVED="`pwd`" | |
64 | +cd "`dirname \"$PRG\"`/" >&- | |
65 | +APP_HOME="`pwd -P`" | |
66 | +cd "$SAVED" >&- | |
67 | + | |
68 | +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar | |
69 | + | |
70 | +# Determine the Java command to use to start the JVM. | |
71 | +if [ -n "$JAVA_HOME" ] ; then | |
72 | + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then | |
73 | + # IBM's JDK on AIX uses strange locations for the executables | |
74 | + JAVACMD="$JAVA_HOME/jre/sh/java" | |
75 | + else | |
76 | + JAVACMD="$JAVA_HOME/bin/java" | |
77 | + fi | |
78 | + if [ ! -x "$JAVACMD" ] ; then | |
79 | + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME | |
80 | + | |
81 | +Please set the JAVA_HOME variable in your environment to match the | |
82 | +location of your Java installation." | |
83 | + fi | |
84 | +else | |
85 | + JAVACMD="java" | |
86 | + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | |
87 | + | |
88 | +Please set the JAVA_HOME variable in your environment to match the | |
89 | +location of your Java installation." | |
90 | +fi | |
91 | + | |
92 | +# Increase the maximum file descriptors if we can. | |
93 | +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then | |
94 | + MAX_FD_LIMIT=`ulimit -H -n` | |
95 | + if [ $? -eq 0 ] ; then | |
96 | + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then | |
97 | + MAX_FD="$MAX_FD_LIMIT" | |
98 | + fi | |
99 | + ulimit -n $MAX_FD | |
100 | + if [ $? -ne 0 ] ; then | |
101 | + warn "Could not set maximum file descriptor limit: $MAX_FD" | |
102 | + fi | |
103 | + else | |
104 | + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" | |
105 | + fi | |
106 | +fi | |
107 | + | |
108 | +# For Darwin, add options to specify how the application appears in the dock | |
109 | +if $darwin; then | |
110 | + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" | |
111 | +fi | |
112 | + | |
113 | +# For Cygwin, switch paths to Windows format before running java | |
114 | +if $cygwin ; then | |
115 | + APP_HOME=`cygpath --path --mixed "$APP_HOME"` | |
116 | + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` | |
117 | + | |
118 | + # We build the pattern for arguments to be converted via cygpath | |
119 | + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` | |
120 | + SEP="" | |
121 | + for dir in $ROOTDIRSRAW ; do | |
122 | + ROOTDIRS="$ROOTDIRS$SEP$dir" | |
123 | + SEP="|" | |
124 | + done | |
125 | + OURCYGPATTERN="(^($ROOTDIRS))" | |
126 | + # Add a user-defined pattern to the cygpath arguments | |
127 | + if [ "$GRADLE_CYGPATTERN" != "" ] ; then | |
128 | + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" | |
129 | + fi | |
130 | + # Now convert the arguments - kludge to limit ourselves to /bin/sh | |
131 | + i=0 | |
132 | + for arg in "$@" ; do | |
133 | + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` | |
134 | + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option | |
135 | + | |
136 | + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition | |
137 | + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` | |
138 | + else | |
139 | + eval `echo args$i`="\"$arg\"" | |
140 | + fi | |
141 | + i=$((i+1)) | |
142 | + done | |
143 | + case $i in | |
144 | + (0) set -- ;; | |
145 | + (1) set -- "$args0" ;; | |
146 | + (2) set -- "$args0" "$args1" ;; | |
147 | + (3) set -- "$args0" "$args1" "$args2" ;; | |
148 | + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; | |
149 | + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; | |
150 | + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; | |
151 | + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; | |
152 | + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; | |
153 | + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; | |
154 | + esac | |
155 | +fi | |
156 | + | |
157 | +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules | |
158 | +function splitJvmOpts() { | |
159 | + JVM_OPTS=("$@") | |
160 | +} | |
161 | +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS | |
162 | +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" | |
163 | + | |
164 | +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" |
... | ... | @@ -0,0 +1,90 @@ |
1 | +@if "%DEBUG%" == "" @echo off | |
2 | +@rem ########################################################################## | |
3 | +@rem | |
4 | +@rem Gradle startup script for Windows | |
5 | +@rem | |
6 | +@rem ########################################################################## | |
7 | + | |
8 | +@rem Set local scope for the variables with windows NT shell | |
9 | +if "%OS%"=="Windows_NT" setlocal | |
10 | + | |
11 | +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. | |
12 | +set DEFAULT_JVM_OPTS= | |
13 | + | |
14 | +set DIRNAME=%~dp0 | |
15 | +if "%DIRNAME%" == "" set DIRNAME=. | |
16 | +set APP_BASE_NAME=%~n0 | |
17 | +set APP_HOME=%DIRNAME% | |
18 | + | |
19 | +@rem Find java.exe | |
20 | +if defined JAVA_HOME goto findJavaFromJavaHome | |
21 | + | |
22 | +set JAVA_EXE=java.exe | |
23 | +%JAVA_EXE% -version >NUL 2>&1 | |
24 | +if "%ERRORLEVEL%" == "0" goto init | |
25 | + | |
26 | +echo. | |
27 | +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. | |
28 | +echo. | |
29 | +echo Please set the JAVA_HOME variable in your environment to match the | |
30 | +echo location of your Java installation. | |
31 | + | |
32 | +goto fail | |
33 | + | |
34 | +:findJavaFromJavaHome | |
35 | +set JAVA_HOME=%JAVA_HOME:"=% | |
36 | +set JAVA_EXE=%JAVA_HOME%/bin/java.exe | |
37 | + | |
38 | +if exist "%JAVA_EXE%" goto init | |
39 | + | |
40 | +echo. | |
41 | +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% | |
42 | +echo. | |
43 | +echo Please set the JAVA_HOME variable in your environment to match the | |
44 | +echo location of your Java installation. | |
45 | + | |
46 | +goto fail | |
47 | + | |
48 | +:init | |
49 | +@rem Get command-line arguments, handling Windowz variants | |
50 | + | |
51 | +if not "%OS%" == "Windows_NT" goto win9xME_args | |
52 | +if "%@eval[2+2]" == "4" goto 4NT_args | |
53 | + | |
54 | +:win9xME_args | |
55 | +@rem Slurp the command line arguments. | |
56 | +set CMD_LINE_ARGS= | |
57 | +set _SKIP=2 | |
58 | + | |
59 | +:win9xME_args_slurp | |
60 | +if "x%~1" == "x" goto execute | |
61 | + | |
62 | +set CMD_LINE_ARGS=%* | |
63 | +goto execute | |
64 | + | |
65 | +:4NT_args | |
66 | +@rem Get arguments from the 4NT Shell from JP Software | |
67 | +set CMD_LINE_ARGS=%$ | |
68 | + | |
69 | +:execute | |
70 | +@rem Setup the command line | |
71 | + | |
72 | +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar | |
73 | + | |
74 | +@rem Execute Gradle | |
75 | +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% | |
76 | + | |
77 | +:end | |
78 | +@rem End local scope for the variables with windows NT shell | |
79 | +if "%ERRORLEVEL%"=="0" goto mainEnd | |
80 | + | |
81 | +:fail | |
82 | +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of | |
83 | +rem the _cmd.exe /c_ return code! | |
84 | +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 | |
85 | +exit /b 1 | |
86 | + | |
87 | +:mainEnd | |
88 | +if "%OS%"=="Windows_NT" endlocal | |
89 | + | |
90 | +:omega |
... | ... | @@ -0,0 +1,11 @@ |
1 | +## This file is automatically generated by Android Studio. | |
2 | +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |
3 | +# | |
4 | +# This file must *NOT* be checked into Version Control Systems, | |
5 | +# as it contains information specific to your local configuration. | |
6 | +# | |
7 | +# Location of the SDK. This is only used by Gradle. | |
8 | +# For customization when using a Version Control System, please read the | |
9 | +# header note. | |
10 | +#Thu Jul 23 18:18:45 CST 2015 | |
11 | +sdk.dir=D\:\\DevTools\\android-sdk-windows |
... | ... | @@ -0,0 +1,20 @@ |
1 | +# To enable ProGuard in your project, edit project.properties | |
2 | +# to define the proguard.config property as described in that file. | |
3 | +# | |
4 | +# Add project specific ProGuard rules here. | |
5 | +# By default, the flags in this file are appended to flags specified | |
6 | +# in ${sdk.dir}/tools/proguard/proguard-android.txt | |
7 | +# You can edit the include path and order by changing the ProGuard | |
8 | +# include property in project.properties. | |
9 | +# | |
10 | +# For more details, see | |
11 | +# http://developer.android.com/guide/developing/tools/proguard.html | |
12 | + | |
13 | +# Add any project specific keep options here: | |
14 | + | |
15 | +# If your project uses WebView with JS, uncomment the following | |
16 | +# and specify the fully qualified class name to the JavaScript interface | |
17 | +# class: | |
18 | +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
19 | +# public *; | |
20 | +#} |
... | ... | @@ -0,0 +1,16 @@ |
1 | +# This file is automatically generated by Android Tools. | |
2 | +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | |
3 | +# | |
4 | +# This file must be checked in Version Control Systems. | |
5 | +# | |
6 | +# To customize properties used by the Ant build system edit | |
7 | +# "ant.properties", and override values to adapt the script to your | |
8 | +# project structure. | |
9 | +# | |
10 | +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | |
11 | +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | |
12 | + | |
13 | +# Project target. | |
14 | + | |
15 | +target=android-21 | |
16 | +android.library.reference.1=../../../../gamesdk/GameSDK |
7.23 KB
4.73 KB
9.91 KB
... | ... | @@ -0,0 +1,33 @@ |
1 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | + android:layout_width="match_parent" | |
3 | + android:layout_height="match_parent" | |
4 | + android:background="@android:color/white" | |
5 | + android:orientation="vertical" > | |
6 | + | |
7 | + <TextView | |
8 | + android:id="@+id/version" | |
9 | + android:layout_width="wrap_content" | |
10 | + android:layout_height="wrap_content" | |
11 | + android:layout_gravity="center_horizontal" | |
12 | + android:textColor="@color/black_text" /> | |
13 | + | |
14 | + <TextView | |
15 | + android:id="@+id/user_info" | |
16 | + android:layout_width="wrap_content" | |
17 | + android:layout_height="wrap_content" | |
18 | + android:textColor="@android:color/black" /> | |
19 | + | |
20 | + <Button | |
21 | + android:id="@+id/login_or_logout" | |
22 | + android:layout_width="wrap_content" | |
23 | + android:layout_height="wrap_content" | |
24 | + android:enabled="false" | |
25 | + android:text="Login" /> | |
26 | + | |
27 | + <Button | |
28 | + android:id="@+id/pay" | |
29 | + android:layout_width="wrap_content" | |
30 | + android:layout_height="wrap_content" | |
31 | + android:text="pay" /> | |
32 | + | |
33 | +</LinearLayout> | |
0 | 34 | \ No newline at end of file |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<resources> | |
2 | + | |
3 | + <!-- | |
4 | + Example customization of dimensions originally defined in res/values/dimens.xml | |
5 | + (such as screen margins) for screens with more than 820dp of available width. This | |
6 | + would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). | |
7 | + --> | |
8 | + <dimen name="activity_horizontal_margin">64dp</dimen> | |
9 | + | |
10 | +</resources> |
... | ... | @@ -0,0 +1,161 @@ |
1 | +package com.gumptech.loginsdk.sample; | |
2 | + | |
3 | +import android.app.Activity; | |
4 | +import android.content.Context; | |
5 | +import android.os.Bundle; | |
6 | +import android.text.ClipboardManager; | |
7 | +import android.util.Log; | |
8 | +import android.view.View; | |
9 | +import android.widget.Button; | |
10 | +import android.widget.TextView; | |
11 | +import android.widget.Toast; | |
12 | + | |
13 | +import com.gumptech.sdk.GumpPreference; | |
14 | +import com.gumptech.sdk.GumpSDK; | |
15 | +import com.gumptech.sdk.bean.GumpUser; | |
16 | +import com.gumptech.sdk.bean.PurchaseResult; | |
17 | +import com.gumptech.sdk.callback.InitializeCallback; | |
18 | +import com.gumptech.sdk.callback.LoginStateListener; | |
19 | +import com.gumptech.sdk.callback.PurchaseCallback; | |
20 | +import com.gumpsdk.gp.demo2.R; | |
21 | + | |
22 | +public class MainActivity extends Activity implements PurchaseCallback{ | |
23 | + | |
24 | + private static final String TAG = "MainActivity"; | |
25 | + | |
26 | + private TextView tvVersion; | |
27 | + private TextView userInfo; | |
28 | + | |
29 | + private Button btnLoginOrLogout; | |
30 | + | |
31 | + private String appId = "10022"; | |
32 | + private String appKey = "93a27b0bd99bac3e68a440b48aa421ab"; | |
33 | + private String sessionKey; | |
34 | + | |
35 | + @Override | |
36 | + protected void onCreate(Bundle savedInstanceState) { | |
37 | + super.onCreate(savedInstanceState); | |
38 | + setContentView(R.layout.activity_main); | |
39 | + tvVersion = (TextView) findViewById(R.id.version); | |
40 | + userInfo = (TextView) findViewById(R.id.user_info); | |
41 | + btnLoginOrLogout = (Button) findViewById(R.id.login_or_logout); | |
42 | + btnLoginOrLogout.setOnClickListener(new View.OnClickListener() { | |
43 | + | |
44 | + @Override | |
45 | + public void onClick(View v) { | |
46 | + if (btnLoginOrLogout.getTag() == null || (Integer) btnLoginOrLogout.getTag() == 0) | |
47 | + GumpSDK.start(MainActivity.this); | |
48 | + else | |
49 | + GumpSDK.logout(MainActivity.this); | |
50 | + } | |
51 | + }); | |
52 | + findViewById(R.id.pay).setOnClickListener(new View.OnClickListener() { | |
53 | + | |
54 | + @Override | |
55 | + public void onClick(View v) { | |
56 | + Bundle payInfo = new Bundle(); | |
57 | + payInfo.putString("nick", "thi"); | |
58 | + payInfo.putString("product", "元宝"); | |
59 | + payInfo.putFloat("amount", 0.1f); | |
60 | + payInfo.putString("extraInfo", "This is demo!"); | |
61 | + payInfo.putString("serverId", "100"); | |
62 | + payInfo.putString("sessionKey", sessionKey); | |
63 | + GumpSDK.pay(MainActivity.this, payInfo, MainActivity.this); | |
64 | + } | |
65 | + }); | |
66 | + /** | |
67 | + * 设置否是开启debug模式 | |
68 | + */ | |
69 | + GumpSDK.setDebugState(true); | |
70 | + /** | |
71 | + * 设置是否启用facebook登录 | |
72 | + */ | |
73 | + GumpSDK.setFBEnable(true); | |
74 | + /** | |
75 | + * 设置是否启用Vk登录 | |
76 | + */ | |
77 | + GumpSDK.setVKEnable(false); | |
78 | + /** | |
79 | + * 设置屏幕方向 | |
80 | + */ | |
81 | + GumpSDK.setScreenLandscape(true); | |
82 | + /** | |
83 | + * 设置用户登录状态监听器 | |
84 | + */ | |
85 | + | |
86 | +// GumpSDK.forceFBWithWeb(); | |
87 | + GumpSDK.setUserStateListener(new LoginStateListener() { | |
88 | + @Override | |
89 | + public void onLoginSuccess(GumpUser user) { | |
90 | + ClipboardManager cm = (ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE); | |
91 | + cm.setText(user.getSessionKey()); | |
92 | + sessionKey = user.getSessionKey(); | |
93 | + String userType=null; | |
94 | + switch(user.getAccountType()){ | |
95 | + case GumpPreference.ACCOUNT_TYPE_FB: | |
96 | + userType = "Facebook登录"; | |
97 | + break; | |
98 | + case GumpPreference.ACCOUNT_TYPE_QUICK_REG: | |
99 | + userType = "快速登录"; | |
100 | + break; | |
101 | + case GumpPreference.ACCOUNT_TYPE_REG: | |
102 | + userType = "gump注册用户"; | |
103 | + break; | |
104 | + case GumpPreference.ACCOUNT_TYPE_VK: | |
105 | + userType = "vk登录"; | |
106 | + break; | |
107 | + } | |
108 | + userInfo.setText(" Userid:" + user.getUid() + "\n accountType:(" + user.getAccountType()+") "+userType + "\n sessionKey:" + user.getSessionKey()); | |
109 | + btnLoginOrLogout.setText("Logout"); | |
110 | + btnLoginOrLogout.setTag(1); | |
111 | + } | |
112 | + | |
113 | + @Override | |
114 | + public void onLoginFailed(int code, String msg) { | |
115 | + userInfo.setText(msg); | |
116 | + Toast.makeText(MainActivity.this, "Login failed:code="+code+",message="+msg, Toast.LENGTH_SHORT).show(); | |
117 | + } | |
118 | + | |
119 | + @Override | |
120 | + public void onLoginCanceled() { | |
121 | + Toast.makeText(MainActivity.this, "operate be canceled", Toast.LENGTH_SHORT).show(); | |
122 | + } | |
123 | + | |
124 | + @Override | |
125 | + public void onLogout() { | |
126 | + btnLoginOrLogout.setText("Login"); | |
127 | + btnLoginOrLogout.setTag(0); | |
128 | + userInfo.setText("User is logout"); | |
129 | + } | |
130 | + }); | |
131 | + /** | |
132 | + * 初始化sdk | |
133 | + */ | |
134 | + GumpSDK.init(getApplicationContext(), appId, appKey, "1000", new InitializeCallback() { | |
135 | + @Override | |
136 | + public void initComplete(int result) { | |
137 | + if (result == GumpSDK.CODE.OK) { | |
138 | + btnLoginOrLogout.setEnabled(true); | |
139 | + } | |
140 | + } | |
141 | + }); | |
142 | + | |
143 | + | |
144 | + tvVersion.setText("SDK Version:" + GumpSDK.getVersion()); | |
145 | + } | |
146 | + | |
147 | + @Override | |
148 | + public void onPurchaseCompleted(PurchaseResult result) { | |
149 | + Log.i(TAG,"purchase completed"); | |
150 | + } | |
151 | + | |
152 | + @Override | |
153 | + public void onPurchaseError(int code, String msg) { | |
154 | + Log.i(TAG,"purchase error"); | |
155 | + } | |
156 | + | |
157 | + @Override | |
158 | + public void onPurchaseCanceled() { | |
159 | + Log.i(TAG,"purchase canceled"); | |
160 | + } | |
161 | +} |
... | ... | @@ -0,0 +1,251 @@ |
1 | +# Gump Android SDK使用文档 | |
2 | + | |
3 | + | |
4 | +接入手册 | |
5 | +V 3.3.5 | |
6 | +2016年03月04日 | |
7 | + | |
8 | +快速入口: | |
9 | +[支付部分服务端回调文档](http://git.letsgame.mobi/document/gumptech-document/blob/master/doc/ServerDocument.md) | |
10 | + | |
11 | +## 目录 | |
12 | + | |
13 | +* [第一章 接入指南](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#) | |
14 | + - [1. 导入资源工程](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#1) | |
15 | + - [2. 添加资源工程](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#2) | |
16 | + - [3. 代码实现](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#3) | |
17 | + > [1.修改AndroidManifest.xml文件](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#1-androidmanifest-xml) | |
18 | + > [2.向Gump平台索要游戏ID(AppID),完成代码接入](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#2-gump-id-gid) | |
19 | +* [第二章 常见问题](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#) | |
20 | + - [问题1: 如何避免混淆对SDK的影响?](http://git.letsgame.mobi/document/gumptech-document/blob/master/AndroidDocument.md#1-sdk) | |
21 | + - [问题2:后台已经配置ok的情况下,支付列表仍然为空或登录总是出错?](http://git.letsgame.mobi/document/gumptech-document/blob/master/doc/AndroidDocument.md#2-ok) | |
22 | + | |
23 | + | |
24 | + | |
25 | + | |
26 | +## 第一章 接入指南 | |
27 | +配置环境 | |
28 | + | |
29 | +本接口API 适用于Android2.2以上各版本Android平台。 | |
30 | +### 1. 导入资源工程 | |
31 | +1.将GameSDK资源工程拷贝到工作空间,在eclipse中的导航栏右键弹出如图1画面,选择Import导入资源工程,如图1. | |
32 | +注意:本sdk需要使用Facebook sdk for android 4.4.1实现fb登录,请自行导入Facebook SDK | |
33 | +注意:本sdk需要使用VK sdk for android 1.5.4实现vk登录,请自行导入此sdk;若不接入vk登录,可以不导入此sdk并忽略vk相关的配置 | |
34 | + | |
35 | + | |
36 | + 图1 | |
37 | + | |
38 | +2.导入工程后,右键此工程,在Properties->Android中选中此工程为library工程(勾选红色方框标识处)如图2。 | |
39 | + | |
40 | + 图 2 | |
41 | +### 2. 添加资源工程 | |
42 | +添加资源工程为游戏项目的 library。右键游戏项目,在Properties->Android中点击Add添加资源工程为项目工程的library,结果如图3。 | |
43 | + | |
44 | + 图 3 | |
45 | + | |
46 | + | |
47 | +注意:如果ADT版本低于14,ADT不支持jar包自动引入,请手动拷贝libs到您的工作 | |
48 | +空间。 | |
49 | + | |
50 | +Eclipse查看ADT版本号的方法: | |
51 | +Help==>About Eclips点击Android对应的图标就可以查看版本了. | |
52 | +如图,红色框部分就是ADT版本号。 | |
53 | + | |
54 | + | |
55 | + | |
56 | + | |
57 | +### 3. 代码实现 | |
58 | +#### 1、 修改AndroidManifest.xml文件 | |
59 | + 首先添加必要的权限,如下所示: | |
60 | + | |
61 | + <uses-permission android:name="android.permission.INTERNET" /> | |
62 | + <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | |
63 | + <uses-permission android:name="android.permission.BLUETOOTH" /> | |
64 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | |
65 | + <uses-permission android:name="android.permission.WRITE_SETTINGS"/> | |
66 | + <uses-permission android:name="android.permission.GET_ACCOUNTS"/> | |
67 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | |
68 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | |
69 | + <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> | |
70 | + <uses-permission android:name="android.permission.SEND_SMS"/> | |
71 | + | |
72 | + <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> | |
73 | + <uses-permission android:name="com.android.vending.BILLING" /> | |
74 | + | |
75 | +其次注册相应的Activity,具体如下: | |
76 | + | |
77 | + <activity | |
78 | + android:name="com.gumptech.sdk.ContainerActivity" | |
79 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
80 | + android:windowSoftInputMode="stateAlwaysHidden|adjustPan" | |
81 | + android:theme="@style/Theme.TransparentWin" > | |
82 | + </activity> | |
83 | + <activity | |
84 | + android:name="com.gumptech.sdk.PaymentActivity" | |
85 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
86 | + android:launchMode="singleTask" | |
87 | + android:theme="@android:style/Theme.Translucent.NoTitleBar" > | |
88 | + <intent-filter> | |
89 | + <category android:name="android.intent.category.DEFAULT" /> | |
90 | + | |
91 | + <action android:name="android.intent.action.VIEW" /> | |
92 | + | |
93 | + <category android:name="android.intent.category.BROWSABLE" /> | |
94 | + | |
95 | + <data | |
96 | + android:host="com.gump.sdk" | |
97 | + android:scheme="gump+游戏的appId" /> | |
98 | + </intent-filter> | |
99 | + </activity> | |
100 | + <activity | |
101 | + android:name="com.gumptech.sdk.ExchangeWindow" | |
102 | + android:configChanges="orientation|screenSize|keyboardHidden|keyboard|screenLayout" | |
103 | + android:theme="@style/Theme.WinForExchange" > | |
104 | + </activity> | |
105 | + | |
106 | + <service android:name="com.gumptech.sdk.PushService" > | |
107 | + </service> | |
108 | + <!-- facebook --> | |
109 | + <activity | |
110 | + android:name="com.facebook.FacebookActivity" | |
111 | + android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" | |
112 | + android:label="@string/app_name" | |
113 | + android:theme="@android:style/Theme.Translucent.NoTitleBar" /> | |
114 | + <!-- vk登录使用,若不接入vk,不需配置 --> | |
115 | + <activity android:name="com.vk.sdk.VKOpenAuthActivity" /> | |
116 | + <activity | |
117 | + android:name="com.vk.sdk.VKServiceActivity" | |
118 | + android:label="ServiceActivity" | |
119 | + android:theme="@style/VK.Transparent" /> | |
120 | + | |
121 | + | |
122 | +#### 2、 向Gump平台索要游戏ID(AppID),完成代码接入 | |
123 | +正式开始接入逻辑代码前,先介绍下一些附加配置,以方便代码接入 | |
124 | + | |
125 | +*Gump Logo隐藏 | |
126 | + | |
127 | + GumpSDK.setLogoShow(false); | |
128 | + | |
129 | +*横竖屏控制,默认为横屏,参数为false即为竖屏 | |
130 | + | |
131 | + GumpSDK.setScreenLandscape(true); | |
132 | +*debug模式设置 | |
133 | + | |
134 | + GumpSDK.setDebugState(true); | |
135 | + | |
136 | +*设置是否启用Facebook登录和VK登录 | |
137 | + | |
138 | + GumpSDK.setFBEnable(true); | |
139 | + GumpSDK.setVKEnable(true); | |
140 | +*若要强制使用web方式登录facebook | |
141 | + | |
142 | + GumpSDK.forceFBWithWeb(); | |
143 | +1.调用GumpSDK前需要执行初始化。 | |
144 | + | |
145 | +若不需要分渠道 | |
146 | + | |
147 | + GumpSDK.init(Context,Appid, Appkey,InitializeCallback); | |
148 | +如果需要定义渠道,必须使用如下方法 | |
149 | + | |
150 | + GumpSDK.init(Context,Appid, Appkey,ChannelId,InitializeCallback); | |
151 | + | |
152 | +InitializeCallback为初始化回调接口,此接口只有一个回调方法initComplete(int result) result标识是否初始化成功,当result等于GumpSDK.CODE.OK时为成功,其他为失败 | |
153 | + | |
154 | +2.调用GumpSDK的开始方法,将执行登录流程,需要一个Activity实例作参数 | |
155 | + | |
156 | + GumpSDK.start(Activity); | |
157 | +在此之前,开发者需要注册用户状态监听以接受用户的登录/登出通知,通常如下: | |
158 | + | |
159 | + GumpSDK.setUserStateListener(new LoginStateListener() { | |
160 | + @Override | |
161 | + public void onLoginSuccess(GumpUser gumpUser) { | |
162 | + //登录成功,用户信息包含在GumpUser对象里 | |
163 | + } | |
164 | + | |
165 | + @Override | |
166 | + public void onLoginFailed(int code, String msg) { | |
167 | + //登录出错,根据错误码和信息判断错误类型 | |
168 | + Toast.makeText(MainActivity.this, "Login failed:code="+code+",message="+msg, Toast.LENGTH_SHORT).show(); | |
169 | + } | |
170 | + | |
171 | + @Override | |
172 | + public void onLoginCanceled() { | |
173 | + //用户取消登录 | |
174 | + Toast.makeText(MainActivity.this, "operate be canceled", Toast.LENGTH_SHORT).show(); | |
175 | + } | |
176 | + | |
177 | + @Override | |
178 | + public void onLogout() { | |
179 | + //用户登出 | |
180 | + | |
181 | + } | |
182 | + }); | |
183 | + | |
184 | +如上成功登录后收到的GumpUser对象包含以下信息 | |
185 | + | |
186 | + gumpUser.getUid();//获取用户的userid,此Id标识唯一用户! | |
187 | + gumpUser.getAccountType();//用户类型,此类型数据可从GumpPreference常量获取 | |
188 | + gumpUser.getSessionKey();//登录的sesionKey | |
189 | + | |
190 | + | |
191 | +3.支付功能 | |
192 | + 1)使用gump通行证登录,其中除nick和roleId外所有参数为必传参数 | |
193 | + | |
194 | + Bundle payInfo = new Bundle(); | |
195 | + payInfo.putString("nick", "thi"); | |
196 | + payInfo.putString("product", "元宝"); | |
197 | + payInfo.putFloat("amount", 40.0f); | |
198 | + payInfo.putString("extraInfo", "This is demo!"); | |
199 | + payInfo.putString("serverId", "B4003"); | |
200 | + payInfo.putString("roleId", "10010"); | |
201 | + payInfo.putString("sessionKey","sessionkey"); | |
202 | + GumpSDK.pay(MainActivity.this, payInfo,PurchaseCallback); | |
203 | +调用pay方法时,必须穿入一个bundle对象,包含如上字段,除nick和roleId外所有字段必须全部包含,其中sessionKey为登录时返回的sessionKey | |
204 | + 2)未使用gump通行证登录,需要传入用户id,同时sessionKey不再需要 | |
205 | + | |
206 | + Bundle payInfo = new Bundle(); | |
207 | + payInfo.putString("nick", "thi"); | |
208 | + payInfo.putString("product", "元宝"); | |
209 | + payInfo.putFloat("amount", 40.0f); | |
210 | + payInfo.putString("extraInfo", "This is demo!"); | |
211 | + payInfo.putString("serverId", "B4003"); | |
212 | + payInfo.putString("roleId", "10010"); | |
213 | + GumpSDK.pay(MainActivity.this, payInfo,userId,PurchaseCallback); | |
214 | + | |
215 | +PurchaseCallback为支付状态回调接口,此接口含有3个方法 | |
216 | + | |
217 | + @Override | |
218 | + public void onPurchaseCompleted(PurchaseResult result) { | |
219 | + Log.i(TAG,"purchase completed"); | |
220 | + } | |
221 | + | |
222 | + @Override | |
223 | + public void onPurchaseError(int code, String msg) { | |
224 | + Log.i(TAG,"purchase error"); | |
225 | + } | |
226 | + | |
227 | + @Override | |
228 | + public void onPurchaseCanceled() { | |
229 | + Log.i(TAG,"purchase canceled"); | |
230 | + } | |
231 | + | |
232 | +5.注销登录 | |
233 | + | |
234 | + GumpSDK.logout(Activity); | |
235 | +当此方法调用后,用户退出登录,并会通过LoginStateListener接口通知调用程序! | |
236 | +## 第二章 常见问题 | |
237 | +### 问题1: 如何避免混淆对SDK的影响? | |
238 | +解答:有些开发者对接入了SDK的程序进行混淆时,有可能会覆盖某些java | |
239 | +类,导致SDK无法正常工作,解决方法如下: | |
240 | +Ø 请开发者在混淆配置文件proguard.cfg或proguard-project.txt的最后加上 | |
241 | + | |
242 | + -keepattributes *Annotation*,InnerClasses,SourceFile,LineNumberTable | |
243 | + -keep public class * extends android.app.Service | |
244 | + -keep public class com.google.vending.licensing.ILicensingService | |
245 | + -keep public class com.android.vending.licensing.ILicensingService | |
246 | + -keep class com.gumptech.sdk.view.* {*;} | |
247 | + -keep class com.gumptech.sdk.web.* {*;} | |
248 | + -keep class com.gumptech.sdk.bridge.impl.*{*;} | |
249 | + | |
250 | + | |
251 | +使得混淆的时候不会影响SDK的命名空间。 | |
0 | 252 | \ No newline at end of file |
26.2 KB
6.81 KB
66 KB
57.6 KB
6.79 KB
7.2 KB
10.4 KB
88.5 KB
67.3 KB
65.9 KB
91.1 KB
52.4 KB
11.6 KB
6.35 KB