Commit 4c1c42af510b95e7a9bc9c2dce4895444d3fbf3b
1 parent
312c33111f
Exists in
master
增加vk登录
修改ui布局
Showing 85 changed files with 397 additions and 365 deletions Inline Diff
- android/GameSDKRelease/libs/GameSDK_v3.2.0_proguard.jar
- android/GameSDKRelease/libs/GameSDK_v3.3.0_proguard.jar
- android/GameSDKRelease/libs/android-support-v4.jar
- android/GameSDKRelease/project.properties
- android/GameSDKRelease/res/drawable-hdpi/arrow_tag.png
- android/GameSDKRelease/res/drawable-hdpi/bottom_light_bg.png
- android/GameSDKRelease/res/drawable-hdpi/btn_orange_normal.png
- android/GameSDKRelease/res/drawable-hdpi/btn_orange_pressed.png
- android/GameSDKRelease/res/drawable-hdpi/horizontal_line.png
- android/GameSDKRelease/res/drawable-hdpi/ic_back_light.png
- android/GameSDKRelease/res/drawable-hdpi/ic_cancel_dark.png
- android/GameSDKRelease/res/drawable-hdpi/ic_fb.png
- android/GameSDKRelease/res/drawable-hdpi/ic_pwd.png
- android/GameSDKRelease/res/drawable-hdpi/ic_user.png
- android/GameSDKRelease/res/drawable-hdpi/ic_vk.png
- android/GameSDKRelease/res/drawable-hdpi/loading.png
- android/GameSDKRelease/res/drawable-hdpi/logo.png
- android/GameSDKRelease/res/drawable-hdpi/title_light_bg.png
- android/GameSDKRelease/res/drawable-hdpi/utype_fb.png
- android/GameSDKRelease/res/drawable-hdpi/utype_gump.png
- android/GameSDKRelease/res/drawable-hdpi/utype_quick.png
- android/GameSDKRelease/res/drawable-mdpi/arrow_tag.png
- android/GameSDKRelease/res/drawable-mdpi/btn_orange_normal.png
- android/GameSDKRelease/res/drawable-mdpi/btn_orange_pressed.png
- android/GameSDKRelease/res/drawable-mdpi/ic_back_light.png
- android/GameSDKRelease/res/drawable-mdpi/ic_cancel_dark.png
- android/GameSDKRelease/res/drawable-mdpi/utype_fb.png
- android/GameSDKRelease/res/drawable-mdpi/utype_gump.png
- android/GameSDKRelease/res/drawable-mdpi/utype_quick.png
- android/GameSDKRelease/res/drawable-nodpi/r_bg_normal.9.png
- android/GameSDKRelease/res/drawable-nodpi/r_bg_selected.9.png
- android/GameSDKRelease/res/drawable-xhdpi/arrow_tag.png
- android/GameSDKRelease/res/drawable-xhdpi/bottom_light_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/btn_orange_normal.png
- android/GameSDKRelease/res/drawable-xhdpi/btn_orange_pressed.png
- android/GameSDKRelease/res/drawable-xhdpi/horizontal_line.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_arrow_down.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_back_light.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_cancel_dark.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_fb.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_pwd.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_user.png
- android/GameSDKRelease/res/drawable-xhdpi/ic_vk.png
- android/GameSDKRelease/res/drawable-xhdpi/loading.png
- android/GameSDKRelease/res/drawable-xhdpi/logo.png
- android/GameSDKRelease/res/drawable-xhdpi/title_light_bg.png
- android/GameSDKRelease/res/drawable-xhdpi/utype_fb.png
- android/GameSDKRelease/res/drawable-xhdpi/utype_gump.png
- android/GameSDKRelease/res/drawable-xhdpi/utype_quick.png
- android/GameSDKRelease/res/drawable/btn_green_bg.xml
- android/GameSDKRelease/res/drawable/btn_light_gray_bg.xml
- android/GameSDKRelease/res/drawable/btn_orange_bg.xml
- android/GameSDKRelease/res/drawable/btn_wallet_bg.xml
- android/GameSDKRelease/res/drawable/btn_white_bg.xml
- android/GameSDKRelease/res/drawable/com_facebook_button_blue.xml
- android/GameSDKRelease/res/drawable/com_facebook_button_blue_normal.9.png
- android/GameSDKRelease/res/drawable/com_facebook_button_blue_pressed.9.png
- android/GameSDKRelease/res/drawable/dash_line.xml
- android/GameSDKRelease/res/drawable/dialog_bg.xml
- android/GameSDKRelease/res/drawable/et_bg.xml
- android/GameSDKRelease/res/drawable/item_card_choice_bg.xml
- android/GameSDKRelease/res/drawable/loading_progress.xml
- android/GameSDKRelease/res/drawable/payment_bg.xml
- android/GameSDKRelease/res/drawable/payment_bg_normal.9.png
- android/GameSDKRelease/res/drawable/payment_bg_pressed.9.png
- android/GameSDKRelease/res/drawable/r_bg.xml
- android/GameSDKRelease/res/layout/container.xml
- android/GameSDKRelease/res/layout/fragment_container.xml
- android/GameSDKRelease/res/layout/fragment_login.xml
- android/GameSDKRelease/res/layout/fragment_loging.xml
- android/GameSDKRelease/res/layout/fragment_sign_choice.xml
- android/GameSDKRelease/res/layout/fragment_signup.xml
- android/GameSDKRelease/res/layout/login_container.xml
- android/GameSDKRelease/res/layout/title.xml
- android/GameSDKRelease/res/values-pt/strings.xml
- android/GameSDKRelease/res/values-th/strings.xml
- android/GameSDKRelease/res/values-zh-rTW/strings.xml
- android/GameSDKRelease/res/values-zh/strings.xml
- android/GameSDKRelease/res/values/colors.xml
- android/GameSDKRelease/res/values/strings.xml
- android/GameSDKRelease/res/values/themes.xml
- android/GameSDKSample/AndroidManifest.xml
- android/GameSDKSample/project.properties
- android/GameSDKSample/res/layout/activity_main.xml
- android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
android/GameSDKRelease/libs/GameSDK_v3.2.0_proguard.jar
No preview for this file type
android/GameSDKRelease/libs/GameSDK_v3.3.0_proguard.jar
No preview for this file type
android/GameSDKRelease/libs/android-support-v4.jar
No preview for this file type
android/GameSDKRelease/project.properties
1 | # This file is automatically generated by Android Tools. | 1 | # This file is automatically generated by Android Tools. |
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! | 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! |
3 | # | 3 | # |
4 | # This file must be checked in Version Control Systems. | 4 | # This file must be checked in Version Control Systems. |
5 | # | 5 | # |
6 | # To customize properties used by the Ant build system edit | 6 | # To customize properties used by the Ant build system edit |
7 | # "ant.properties", and override values to adapt the script to your | 7 | # "ant.properties", and override values to adapt the script to your |
8 | # project structure. | 8 | # project structure. |
9 | # | 9 | # |
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | 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 | 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt |
12 | 12 | ||
13 | # Project target. | 13 | # Project target. |
14 | target=android-18 | 14 | target=android-19 |
15 | android.library=true | 15 | android.library=true |
16 | android.library.reference.1=../../../../../facebook | 16 | android.library.reference.1=..\\..\\..\\..\\..\\facebook |
17 | android.library.reference.2=../../../../../Project/vksdk_library | ||
17 | 18 |
android/GameSDKRelease/res/drawable-hdpi/arrow_tag.png
1.55 KB
android/GameSDKRelease/res/drawable-hdpi/bottom_light_bg.png
2.05 KB
android/GameSDKRelease/res/drawable-hdpi/btn_orange_normal.png
1.33 KB
android/GameSDKRelease/res/drawable-hdpi/btn_orange_pressed.png
1.27 KB
android/GameSDKRelease/res/drawable-hdpi/horizontal_line.png
1.59 KB
android/GameSDKRelease/res/drawable-hdpi/ic_back_light.png
1.11 KB
android/GameSDKRelease/res/drawable-hdpi/ic_cancel_dark.png
1.23 KB
android/GameSDKRelease/res/drawable-hdpi/ic_fb.png
2.21 KB
android/GameSDKRelease/res/drawable-hdpi/ic_pwd.png
1.31 KB
android/GameSDKRelease/res/drawable-hdpi/ic_user.png
1.39 KB
android/GameSDKRelease/res/drawable-hdpi/ic_vk.png
2.85 KB
android/GameSDKRelease/res/drawable-hdpi/loading.png
7.04 KB
android/GameSDKRelease/res/drawable-hdpi/logo.png
android/GameSDKRelease/res/drawable-hdpi/title_light_bg.png
2.02 KB
android/GameSDKRelease/res/drawable-hdpi/utype_fb.png
1.65 KB
android/GameSDKRelease/res/drawable-hdpi/utype_gump.png
3.41 KB
android/GameSDKRelease/res/drawable-hdpi/utype_quick.png
1.9 KB
android/GameSDKRelease/res/drawable-mdpi/arrow_tag.png
1.29 KB
android/GameSDKRelease/res/drawable-mdpi/btn_orange_normal.png
1.16 KB
android/GameSDKRelease/res/drawable-mdpi/btn_orange_pressed.png
1.13 KB
android/GameSDKRelease/res/drawable-mdpi/ic_back_light.png
1.05 KB
android/GameSDKRelease/res/drawable-mdpi/ic_cancel_dark.png
1.07 KB
android/GameSDKRelease/res/drawable-mdpi/utype_fb.png
1.41 KB
android/GameSDKRelease/res/drawable-mdpi/utype_gump.png
2.17 KB
android/GameSDKRelease/res/drawable-mdpi/utype_quick.png
1.52 KB
android/GameSDKRelease/res/drawable-nodpi/r_bg_normal.9.png
190 Bytes
android/GameSDKRelease/res/drawable-nodpi/r_bg_selected.9.png
244 Bytes
android/GameSDKRelease/res/drawable-xhdpi/arrow_tag.png
2.12 KB
android/GameSDKRelease/res/drawable-xhdpi/bottom_light_bg.png
2.42 KB
android/GameSDKRelease/res/drawable-xhdpi/btn_orange_normal.png
1.44 KB
android/GameSDKRelease/res/drawable-xhdpi/btn_orange_pressed.png
1.39 KB
android/GameSDKRelease/res/drawable-xhdpi/horizontal_line.png
1.75 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_arrow_down.png
1.1 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_back_light.png
1.22 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_cancel_dark.png
1.18 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_fb.png
2.52 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_pwd.png
1.37 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_user.png
1.52 KB
android/GameSDKRelease/res/drawable-xhdpi/ic_vk.png
3.42 KB
android/GameSDKRelease/res/drawable-xhdpi/loading.png
11.2 KB
android/GameSDKRelease/res/drawable-xhdpi/logo.png
android/GameSDKRelease/res/drawable-xhdpi/title_light_bg.png
2.44 KB
android/GameSDKRelease/res/drawable-xhdpi/utype_fb.png
1.87 KB
android/GameSDKRelease/res/drawable-xhdpi/utype_gump.png
4.91 KB
android/GameSDKRelease/res/drawable-xhdpi/utype_quick.png
2.26 KB
android/GameSDKRelease/res/drawable/btn_green_bg.xml
File was created | 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> | ||
22 |
android/GameSDKRelease/res/drawable/btn_light_gray_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:state_pressed="true"><shape> | ||
5 | <corners android:radius="3dp" /> | ||
6 | |||
7 | <solid android:color="@color/dark_gray" /> | ||
8 | |||
9 | <size android:height="30dp" /> | ||
10 | </shape></item> | ||
11 | <item><shape> | ||
12 | <corners android:radius="3dp" /> | ||
13 | |||
14 | <solid android:color="@color/light_gray" /> | ||
15 | |||
16 | <size android:height="30dp" /> | ||
17 | </shape></item> | ||
18 | |||
19 | </selector> |
android/GameSDKRelease/res/drawable/btn_orange_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | 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 | 3 | ||
7 | <!-- <item android:state_pressed="true"> --> | 4 | <!-- <item android:state_pressed="true" android:drawable="@drawable/btn_orange_pressed"/> --> |
8 | <!-- <shape android:shape="rectangle"> --> | 5 | <!-- <item android:drawable="@drawable/btn_orange_normal"/> --> |
9 | <!-- <corners android:radius="3dp" /> --> | ||
10 | 6 | ||
11 | <!-- <solid android:color="@color/orange_pressed" /> --> | 7 | <item android:state_pressed="true"> |
8 | <shape android:shape="rectangle"> | ||
9 | <corners android:radius="1.5dp" /> | ||
12 | 10 | ||
13 | <!-- <size android:height="35dp" /> --> | 11 | <solid android:color="@color/orange_pressed" /> |
14 | <!-- </shape> --> | ||
15 | |||
16 | <!-- </item> --> | ||
17 | <!-- <item> --> | ||
18 | <!-- <shape android:shape="rectangle"> --> | ||
19 | <!-- <corners android:radius="3dp" /> --> | ||
20 | 12 | ||
21 | <!-- <solid android:color="@color/orange_normal" /> --> | 13 | <size android:height="30.5dp" /> |
14 | </shape></item> | ||
15 | <item> | ||
16 | <shape android:shape="rectangle"> | ||
17 | <corners android:radius="1.5dp" /> | ||
22 | 18 |
android/GameSDKRelease/res/drawable/btn_wallet_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:state_pressed="true"> | ||
5 | <shape android:shape="rectangle"> | ||
6 | <corners android:radius="3dp" /> | ||
7 | |||
8 | <solid android:color="@color/btn_white_pressed" /> | ||
9 | |||
10 | <size android:height="35dp" /> | ||
11 | |||
12 | <stroke android:width="1dp" android:color="@color/line" /> | ||
13 | </shape> | ||
14 | |||
15 | </item> | ||
16 | <item> | ||
17 | <shape android:shape="rectangle"> | ||
18 | <corners android:radius="3dp" /> | ||
19 | |||
20 | <solid android:color="@color/btn_white_normal" /> | ||
21 | |||
22 | <size android:height="35dp" /> | ||
23 | |||
24 | <stroke android:width="1dp" android:color="@color/line" /> | ||
25 | </shape> | ||
26 | |||
27 | </item> | ||
28 | |||
29 | </selector> |
android/GameSDKRelease/res/drawable/btn_white_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:shape="rectangle" > | ||
4 | |||
5 | <corners android:radius="3dp" /> | ||
6 | |||
7 | <solid android:color="#f2efeb" /> | ||
8 | <size android:height="35dp"/> | ||
9 | |||
10 | </shape> |
android/GameSDKRelease/res/drawable/com_facebook_button_blue.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:drawable="@drawable/com_facebook_button_blue_pressed" android:state_focused="true" android:state_pressed="true"/> | ||
5 | <item android:drawable="@drawable/com_facebook_button_blue_pressed" android:state_focused="false" android:state_pressed="true"/> | ||
6 | <item android:drawable="@drawable/com_facebook_button_blue_normal"/> | ||
7 | |||
8 | </selector> | ||
9 | 1 | <?xml version="1.0" encoding="utf-8"?> |
android/GameSDKRelease/res/drawable/com_facebook_button_blue_normal.9.png
380 Bytes
android/GameSDKRelease/res/drawable/com_facebook_button_blue_pressed.9.png
323 Bytes
android/GameSDKRelease/res/drawable/dash_line.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:shape="line" > | ||
4 | |||
5 | <stroke | ||
6 | android:dashGap="2dp" | ||
7 | android:dashWidth="4dp" | ||
8 | android:color="@color/line" /> | ||
9 | |||
10 | </shape> |
android/GameSDKRelease/res/drawable/dialog_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <shape xmlns:android="http://schemas.android.com/apk/res/android" > | ||
3 | <corners android:radius="5dp"/> | ||
4 | <solid android:color="@android:color/white"/> | ||
5 | </shape> | ||
6 | 1 | <?xml version="1.0" encoding="utf-8"?> |
android/GameSDKRelease/res/drawable/et_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:shape="rectangle" > | ||
4 | |||
5 | <solid android:color="@android:color/white" /> | ||
6 | |||
7 | <stroke | ||
8 | android:width="1dp" | ||
9 | android:color="@color/line" /> | ||
10 | |||
11 | <size android:height="35dp" /> | ||
12 | |||
13 | <padding | ||
14 | android:bottom="2dp" | ||
15 | android:left="8dp" | ||
16 | android:right="8dp" | ||
17 | android:top="2dp" /> | ||
18 | |||
19 | <corners android:radius="5dp" /> | ||
20 | |||
21 | </shape> |
android/GameSDKRelease/res/drawable/item_card_choice_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:drawable="@color/orange_normal" android:state_pressed="true"/> | ||
5 | <item android:drawable="@android:color/white"/> | ||
6 | |||
7 | </selector> |
android/GameSDKRelease/res/drawable/loading_progress.xml
File was created | 1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <rotate xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:drawable="@drawable/loading" | ||
4 | android:pivotX="50%" | ||
5 | android:pivotY="50%" | ||
6 | android:fromDegrees="0" | ||
7 | android:toDegrees="360" /> | ||
8 | |||
9 |
android/GameSDKRelease/res/drawable/payment_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:drawable="@drawable/payment_bg_pressed" android:state_pressed="true"/> | ||
5 | <item android:drawable="@drawable/payment_bg_normal"/> | ||
6 | |||
7 | </selector> |
android/GameSDKRelease/res/drawable/payment_bg_normal.9.png
105 Bytes
android/GameSDKRelease/res/drawable/payment_bg_pressed.9.png
112 Bytes
android/GameSDKRelease/res/drawable/r_bg.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | |||
4 | <item android:drawable="@drawable/r_bg_selected" android:state_checked="true"/> | ||
5 | <item android:drawable="@drawable/r_bg_normal"/> | ||
6 | |||
7 | </selector> |
android/GameSDKRelease/res/layout/container.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
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:background="@drawable/dialog_bg" | ||
7 | android:orientation="vertical" > | ||
8 | |||
9 | <include layout="@layout/title" /> | ||
10 | |||
11 | <LinearLayout | ||
12 | android:id="@+id/container" | ||
13 | android:layout_width="match_parent" | ||
14 | android:layout_height="wrap_content" | ||
15 | android:orientation="vertical" > | ||
16 | |||
17 | </LinearLayout> | ||
18 | |||
19 | </LinearLayout> |
android/GameSDKRelease/res/layout/fragment_container.xml
File was created | 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> |
android/GameSDKRelease/res/layout/fragment_login.xml
1 | <?xml version="1.0" encoding="utf-8"?> | File was deleted | |
2 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:layout_width="match_parent" | ||
4 | android:layout_height="wrap_content" | ||
5 | android:scrollbars="none" > | ||
6 | |||
7 | <LinearLayout | ||
8 | android:layout_width="match_parent" | ||
9 | android:layout_height="wrap_content" | ||
10 | android:background="@drawable/dialog_bg" | ||
11 | android:minWidth="293dp" | ||
12 | android:orientation="vertical" > | ||
13 | |||
14 | <EditText | ||
15 | android:id="@+id/username" | ||
16 | android:layout_width="fill_parent" | ||
17 | android:layout_height="wrap_content" | ||
18 | android:layout_marginLeft="13dp" | ||
19 | android:layout_marginRight="13dp" | ||
20 | android:layout_marginTop="10dp" | ||
21 | android:background="@drawable/et_bg" | ||
22 | android:hint="@string/user_name_hint" | ||
23 | android:imeOptions="flagNoExtractUi" | ||
24 | android:textColor="@color/black_text" /> | ||
25 | |||
26 | <EditText | ||
27 | android:id="@+id/password" | ||
28 | android:layout_width="fill_parent" | ||
29 | android:layout_height="wrap_content" | ||
30 | android:layout_marginLeft="13dp" | ||
31 | android:layout_marginRight="13dp" | ||
32 | android:layout_marginTop="10dp" | ||
33 | android:background="@drawable/et_bg" | ||
34 | android:hint="@string/password_hint" | ||
35 | android:imeOptions="flagNoExtractUi" | ||
36 | android:inputType="textPassword" | ||
37 | android:textColor="@color/black_text" /> | ||
38 | |||
39 | <LinearLayout | ||
40 | android:layout_width="match_parent" | ||
41 | android:layout_height="wrap_content" | ||
42 | android:layout_marginBottom="10dp" | ||
43 | android:layout_marginTop="13dp" | ||
44 | android:gravity="center" | ||
45 | android:orientation="horizontal" > | ||
46 | |||
47 | <Button | ||
48 | android:id="@+id/login" | ||
49 | android:layout_width="100dp" | ||
50 | android:layout_height="wrap_content" | ||
51 | android:background="@drawable/btn_orange_bg" | ||
52 | android:padding="5dp" | ||
53 | android:text="@string/login" | ||
54 | android:textColor="@android:color/white" | ||
55 | android:textSize="16sp" /> | ||
56 | |||
57 | <Button | ||
58 | android:id="@+id/sign_up" | ||
59 | android:layout_width="100dp" | ||
60 | android:layout_height="wrap_content" | ||
61 | android:layout_marginLeft="13dp" | ||
62 | android:background="@drawable/btn_white_bg" | ||
63 | android:padding="5dp" | ||
64 | android:text="@string/signup" | ||
65 | android:textColor="@color/black_text" | ||
66 | android:textSize="16sp" /> | ||
67 | </LinearLayout> | ||
68 | </LinearLayout> | ||
69 | |||
70 | </ScrollView> |
android/GameSDKRelease/res/layout/fragment_loging.xml
File was created | 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 | <View | ||
24 | android:layout_width="fill_parent" | ||
25 | android:layout_height="1dp" | ||
26 | android:layout_alignParentBottom="true" | ||
27 | android:background="@color/light_gray" /> | ||
28 | </RelativeLayout> | ||
29 | |||
30 | <ProgressBar | ||
31 | android:layout_width="wrap_content" | ||
32 | android:layout_height="wrap_content" | ||
33 | android:layout_gravity="center" | ||
34 | android:layout_marginBottom="17dp" | ||
35 | android:layout_marginTop="23dp" | ||
36 | android:indeterminateBehavior="repeat" | ||
37 | android:indeterminateDrawable="@drawable/loading_progress" | ||
38 | android:indeterminateDuration="800" | ||
39 | android:indeterminateOnly="true" /> | ||
40 | |||
41 | <TextView | ||
42 | android:layout_width="wrap_content" | ||
43 | android:layout_height="wrap_content" | ||
44 | android:layout_gravity="center_horizontal" | ||
45 | android:layout_marginBottom="17dp" | ||
46 | android:text="@string/loging" | ||
47 | android:textColor="@color/black_text" /> | ||
48 | |||
49 | </LinearLayout> |
android/GameSDKRelease/res/layout/fragment_sign_choice.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
4 | android:layout_height="match_parent" | 4 | android:layout_height="wrap_content" |
5 | android:gravity="center" | ||
5 | android:orientation="vertical" > | 6 | android:orientation="vertical" > |
6 | 7 | ||
7 | <LinearLayout | 8 | <LinearLayout |
8 | android:layout_width="match_parent" | 9 | android:layout_width="match_parent" |
9 | android:layout_height="wrap_content" | 10 | android:layout_height="wrap_content" |
10 | android:layout_marginTop="13dp" | 11 | android:background="@color/white_translucent" |
11 | android:gravity="center_horizontal" | 12 | android:orientation="vertical" > |
12 | android:orientation="horizontal" > | ||
13 | 13 | ||
14 | <ImageView | 14 | <LinearLayout |
15 | android:id="@+id/utype_tag" | 15 | android:layout_width="match_parent" |
16 | android:layout_width="25dp" | 16 | android:layout_height="31dp" |
17 | android:layout_height="25dp" | 17 | android:layout_marginLeft="35dp" |
18 | android:layout_marginRight="8dp" | 18 | android:layout_marginRight="35dp" |
19 | android:src="@drawable/utype_quick" /> | 19 | android:layout_marginTop="13dp" |
20 | 20 | android:background="@color/white" > | |
21 | <TextView | 21 | |
22 | android:id="@+id/tv_nick" | 22 | <ImageView |
23 | android:layout_width="wrap_content" | 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 | <LinearLayout | ||
79 | android:layout_width="fill_parent" | ||
80 | android:layout_height="wrap_content" | ||
81 | android:layout_marginLeft="35dp" | ||
82 | android:layout_marginRight="35dp" | ||
83 | android:layout_marginTop="16dp" | ||
84 | android:orientation="horizontal" > | ||
85 | |||
86 | <Button | ||
87 | android:id="@+id/gump_reg" | ||
88 | android:layout_width="fill_parent" | ||
89 | android:layout_height="wrap_content" | ||
90 | android:layout_marginRight="10dp" | ||
91 | android:layout_weight="1" | ||
92 | android:background="@drawable/btn_green_bg" | ||
93 | android:text="@string/signup" | ||
94 | android:textColor="@color/white" /> | ||
95 | |||
96 | <Button | ||
97 | android:id="@+id/gump_login" | ||
98 | android:layout_width="fill_parent" | ||
99 | android:layout_height="wrap_content" | ||
100 | android:layout_marginLeft="11dp" | ||
101 | android:layout_weight="1" | ||
102 | android:background="@drawable/btn_orange_bg" | ||
103 | android:gravity="center" | ||
104 | android:text="@string/login" | ||
105 | android:textColor="@android:color/white" | ||
106 | android:textSize="15sp" | ||
107 | android:textStyle="bold" /> | ||
108 | </LinearLayout> | ||
109 | |||
110 | <Button | ||
111 | android:id="@+id/play" | ||
112 | android:layout_width="fill_parent" | ||
24 | android:layout_height="wrap_content" | 113 | android:layout_height="wrap_content" |
25 | android:layout_gravity="center_vertical" | 114 | android:layout_marginBottom="16dp" |
26 | android:textColor="@color/black_text" | 115 | android:layout_marginLeft="35dp" |
27 | android:textSize="15sp" | 116 | android:layout_marginRight="35dp" |
117 | android:layout_marginTop="16dp" | ||
118 | android:background="@drawable/btn_orange_bg" | ||
119 | android:padding="5dp" | ||
120 | android:text="@string/quick_play" | ||
121 | android:textColor="@android:color/white" | ||
122 | android:textSize="16sp" | ||
28 | android:textStyle="bold" /> | 123 | android:textStyle="bold" /> |
124 | |||
125 | <ImageView | ||
126 | android:layout_width="fill_parent" | ||
127 | android:layout_height="wrap_content" | ||
128 | android:layout_marginLeft="35dp" | ||
129 | android:layout_marginRight="35dp" | ||
130 | android:background="@drawable/horizontal_line" /> | ||
29 | </LinearLayout> | 131 | </LinearLayout> |
30 | 132 | ||
31 | <Button | 133 | <LinearLayout |
32 | android:id="@+id/play" | 134 | android:layout_width="match_parent" |
33 | android:layout_width="fill_parent" | ||
34 | android:layout_height="46dp" | ||
35 | android:layout_marginBottom="10dp" | ||
36 | android:layout_marginLeft="13dp" | ||
37 | android:layout_marginRight="13dp" | ||
38 | android:layout_marginTop="23dp" | ||
39 | android:background="@drawable/btn_orange_bg" | ||
40 | android:padding="5dp" | ||
41 | android:text="@string/quick_play" | ||
42 | android:textStyle="bold" | ||
43 | android:textColor="@android:color/white" | ||
44 | android:textSize="16sp" /> | ||
45 | |||
46 | <View | ||
47 | android:layout_width="fill_parent" | ||
48 | android:layout_height="2dp" | ||
49 | android:background="@drawable/dash_line" /> | ||
50 | |||
51 | <Button | ||
52 | android:id="@+id/fb_login" | ||
53 | android:layout_width="fill_parent" |
android/GameSDKRelease/res/layout/fragment_signup.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
3 | android:layout_width="match_parent" | 3 | android:layout_width="wrap_content" |
4 | android:layout_height="wrap_content" | 4 | android:layout_height="wrap_content" |
5 | android:scrollbars="none" > | 5 | android:scrollbars="none" > |
6 | 6 | ||
7 | <LinearLayout | 7 | <LinearLayout |
8 | android:layout_width="match_parent" | 8 | android:layout_width="wrap_content" |
9 | android:layout_height="wrap_content" | 9 | android:layout_height="wrap_content" |
10 | android:background="@drawable/dialog_bg" | 10 | android:minWidth="292dp" |
11 | android:minWidth="293dp" | ||
12 | android:orientation="vertical" > | 11 | android:orientation="vertical" > |
13 | 12 | ||
14 | <EditText | 13 | <LinearLayout |
15 | android:id="@+id/username" | ||
16 | android:layout_width="match_parent" | 14 | android:layout_width="match_parent" |
17 | android:layout_height="wrap_content" | 15 | android:layout_height="wrap_content" |
18 | android:layout_margin="10dp" | 16 | android:background="@color/white_translucent" |
19 | android:background="@drawable/et_bg" | 17 | android:orientation="vertical" > |
20 | android:hint="@string/user_name_hint" | 18 | |
21 | android:imeOptions="flagNoExtractUi" | 19 | <View |
22 | android:textColor="@color/black_text" /> | 20 | android:layout_width="match_parent" |
23 | 21 | android:layout_height="1dp" | |
24 | <EditText | 22 | android:background="@color/light_gray" /> |
25 | android:id="@+id/pwd" | 23 | |
26 | android:layout_width="match_parent" | 24 | <EditText |
27 | android:layout_height="wrap_content" | 25 | android:id="@+id/username" |
28 | android:layout_margin="10dp" | 26 | android:layout_width="match_parent" |
29 | android:background="@drawable/et_bg" | 27 | android:layout_height="31dp" |
30 | android:hint="@string/password_hint" | 28 | android:layout_marginBottom="10dp" |
31 | android:imeOptions="flagNoExtractUi" | 29 | android:layout_marginLeft="35dp" |
32 | android:inputType="textPassword" | 30 | android:layout_marginRight="35dp" |
33 | android:textColor="@color/black_text" /> | 31 | android:layout_marginTop="15dp" |
34 | 32 | android:paddingLeft="8dp" | |
35 | <Button | 33 | android:background="@color/white" |
36 | android:id="@+id/signup" | 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 | ||
37 | android:layout_width="match_parent" | 55 | android:layout_width="match_parent" |
38 | android:layout_height="wrap_content" | 56 | android:layout_height="wrap_content" |
39 | android:layout_margin="8dp" | 57 | android:background="@drawable/bottom_light_bg" > |
40 | android:background="@drawable/btn_orange_bg" | 58 | |
41 | android:padding="5dp" | 59 | <Button |
42 | android:text="@string/signup" | 60 | android:id="@+id/signup" |
43 | android:textColor="@android:color/white" | 61 | android:layout_width="match_parent" |
44 | android:textSize="16sp" /> | 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> | ||
45 | </LinearLayout> | 72 | </LinearLayout> |
android/GameSDKRelease/res/layout/login_container.xml
File was created | 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> |
android/GameSDKRelease/res/layout/title.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | android:layout_width="match_parent" | 3 | android:layout_width="match_parent" |
4 | android:layout_height="45dp" | 4 | android:layout_height="wrap_content" |
5 | android:background="@drawable/dialog_bg" > | 5 | android:background="@drawable/title_light_bg" > |
6 | 6 | ||
7 | <ImageView | 7 | <ImageView |
8 | android:id="@+id/btn_back" | 8 | android:id="@+id/btn_back" |
9 | android:layout_width="wrap_content" | 9 | android:layout_width="wrap_content" |
10 | android:layout_height="match_parent" | 10 | android:layout_height="wrap_content" |
11 | android:layout_alignParentLeft="true" | 11 | android:layout_alignParentLeft="true" |
12 | android:layout_centerVertical="true" | 12 | android:layout_centerVertical="true" |
13 | android:paddingLeft="10dp" | 13 | android:layout_marginLeft="10dp" |
14 | android:paddingLeft="20dp" | ||
14 | android:paddingRight="10dp" | 15 | android:paddingRight="10dp" |
15 | android:src="@drawable/ic_back_dark" /> | 16 | android:src="@drawable/ic_back_dark" /> |
16 | 17 | ||
17 | <TextView | 18 | <TextView |
18 | android:id="@+id/up_txt" | 19 | android:id="@+id/up_txt" |
19 | android:layout_width="wrap_content" | 20 | android:layout_width="wrap_content" |
20 | android:layout_height="wrap_content" | 21 | android:layout_height="wrap_content" |
21 | android:layout_centerVertical="true" | 22 | android:layout_centerVertical="true" |
22 | android:layout_toRightOf="@id/btn_back" | 23 | android:layout_toRightOf="@id/btn_back" |
23 | android:textColor="@color/black_text" | 24 | android:textColor="@color/black_text" |
24 | android:textSize="18sp" /> | 25 | android:textSize="18sp" /> |
25 | 26 | ||
26 | <ImageView | 27 | <ImageView |
27 | android:id="@+id/log" | 28 | android:id="@+id/log" |
28 | android:layout_width="wrap_content" | 29 | android:layout_width="wrap_content" |
29 | android:layout_height="30dp" | 30 | android:layout_height="wrap_content" |
30 | android:layout_centerInParent="true" | 31 | android:layout_marginTop="27dp" |
32 | android:layout_marginLeft="35dp" | ||
31 | android:visibility="gone" /> | 33 | android:visibility="gone" /> |
32 | 34 | ||
33 | <TextView | 35 | <TextView |
34 | android:id="@+id/title" | 36 | android:id="@+id/title" |
35 | android:layout_width="wrap_content" | 37 | android:layout_width="wrap_content" |
36 | android:layout_height="wrap_content" | 38 | android:layout_height="wrap_content" |
37 | android:layout_centerInParent="true" | 39 | android:layout_centerInParent="true" |
38 | android:textColor="@android:color/black" | 40 | android:textColor="@android:color/black" |
39 | android:textSize="18sp" /> | 41 | android:textSize="18sp" /> |
40 | 42 | ||
41 | <ImageView | ||
42 | android:id="@+id/btn_cancel" | ||
43 | android:layout_width="wrap_content" | ||
44 | android:layout_height="match_parent" | ||
45 | android:layout_alignParentRight="true" | ||
46 | android:layout_centerVertical="true" | ||
47 | android:padding="10dp" | ||
48 | android:src="@drawable/ic_cancel_dark" /> | ||
49 | |||
50 | <View | ||
51 | android:layout_width="fill_parent" | ||
52 | android:layout_height="1dp" | ||
53 | android:layout_alignParentBottom="true" | ||
54 | android:background="@color/line" /> |
android/GameSDKRelease/res/values-pt/strings.xml
1 | <resources> | 1 | <resources> |
2 | 2 | ||
3 | <string name="user_name_hint">Email</string> | 3 | <string name="user_name_hint">Email</string> |
4 | <string name="password_hint">Senha</string> | 4 | <string name="password_hint">Senha</string> |
5 | <string name="quick_play">jogo de hóspedes</string> | ||
5 | <string name="login">Login</string> | 6 | <string name="login">Login</string> |
6 | <string name="signup">Registrar</string> | 7 | <string name="signup">Registrar</string> |
7 | <string name="bind">Vincular ao email</string> | 8 | <string name="bind">Vincular ao email</string> |
8 | <string name="loading">Carregando</string> | 9 | <string name="loading">Carregando</string> |
10 | <string name="loging">Carregando</string> | ||
11 | <string name="switch_user">Contas de comutação</string> | ||
9 | <!-- toast --> | 12 | <!-- toast --> |
10 | <string name="illegal_uname_tip">Email inválido</string> | 13 | <string name="illegal_uname_tip">Email inválido</string> |
11 | <string name="illegal_pwd_tip">Senha Inválida (6-20 caracteres)</string> | 14 | <string name="illegal_pwd_tip">Senha Inválida (6-20 caracteres)</string> |
12 | <string name="illegal_user_exist">Email já está em uso</string> | 15 | <string name="illegal_user_exist">Email já está em uso</string> |
13 | <string name="illegal_pwd_invalid">Senha incorreta, favor tentar novamente</string> | 16 | <string name="illegal_pwd_invalid">Senha incorreta, favor tentar novamente</string> |
14 | <string name="illegal_user_not_exist">Email Inválido</string> | 17 | <string name="illegal_user_not_exist">Email Inválido</string> |
15 | <string name="invalid_email">Favor inserir seu email</string> | 18 | <string name="invalid_email">Favor inserir seu email</string> |
16 | <string name="login_fail">Login falhou</string> | 19 | <string name="login_fail">Login falhou</string> |
17 | <string name="signup_fail">Registrar falhou</string> | 20 | <string name="signup_fail">Registrar falhou</string> |
18 | <string name="bind_fail">Vincular 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> | ||
19 | <!-- facebook id --> | 24 | <!-- facebook id --> |
20 | 25 | ||
21 | </resources> | 26 | </resources> |
android/GameSDKRelease/res/values-th/strings.xml
1 | <resources> | 1 | <resources> |
2 | 2 | ||
3 | <string name="user_name_hint">อีเมลล์</string> | 3 | <string name="user_name_hint">อีเมลล์</string> |
4 | <string name="password_hint">พาสเวิร์ด</string> | 4 | <string name="password_hint">พาสเวิร์ด</string> |
5 | <string name="quick_play">การเล่นของผู้เข้าพัก</string> | ||
5 | <string name="login">ล็อกอิน</string> | 6 | <string name="login">ล็อกอิน</string> |
6 | <string name="signup">ลงทะเบียน</string> | 7 | <string name="signup">ลงทะเบียน</string> |
7 | <string name="bind">ผูกอีเมลล์</string> | 8 | <string name="bind">ผูกอีเมลล์</string> |
8 | <string name="loading">กำลังโหลด</string> | 9 | <string name="loading">กำลังโหลด</string> |
10 | <string name="loging">กำลังโหลด</string> | ||
11 | <string name="switch_user">การสลับบัญชี</string> | ||
9 | <!-- toast --> | 12 | <!-- toast --> |
10 | <string name="illegal_uname_tip">อีเมลล์ไม่ถูกต้อง</string> | 13 | <string name="illegal_uname_tip">อีเมลล์ไม่ถูกต้อง</string> |
11 | <string name="illegal_pwd_tip">พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)</string> | 14 | <string name="illegal_pwd_tip">พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)</string> |
12 | <string name="illegal_user_exist">อีเมลล์นี้ได้ถูกใช้แล้ว</string> | 15 | <string name="illegal_user_exist">อีเมลล์นี้ได้ถูกใช้แล้ว</string> |
13 | <string name="illegal_pwd_invalid">พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง</string> | 16 | <string name="illegal_pwd_invalid">พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง</string> |
14 | <string name="illegal_user_not_exist">อีเมลล์ไม่ถูกต้อง</string> | 17 | <string name="illegal_user_not_exist">อีเมลล์ไม่ถูกต้อง</string> |
15 | <string name="invalid_email">ใส่อีเมลล์ของคุณ</string> | 18 | <string name="invalid_email">ใส่อีเมลล์ของคุณ</string> |
16 | <string name="login_fail">ล็อกอินผิดพลาด</string> | 19 | <string name="login_fail">ล็อกอินผิดพลาด</string> |
17 | <string name="signup_fail">ลงทะเบียนไม่สำเร็จ</string> | 20 | <string name="signup_fail">ลงทะเบียนไม่สำเร็จ</string> |
18 | <string name="bind_fail">ผูกอีเมลล์ไม่สำเร็จ</string> | 21 | <string name="bind_fail">ผูกอีเมลล์ไม่สำเร็จ</string> |
19 | <string name="signup_success">สำเร็จ</string> | 22 | <string name="signup_success">สำเร็จ</string> |
20 | <!-- facebook id --> | 23 | <!-- facebook id --> |
21 | <!-- payment --> | 24 | <!-- payment --> |
22 | <string name="title_payment_choice">เลือกช่องทางชำระเงิน</string> | 25 | <string name="title_payment_choice">เลือกช่องทางชำระเงิน</string> |
23 | <!-- summary title --> | 26 | <!-- summary title --> |
24 | <string name="summary_title">ตารางแลกเปลี่ยน:</string> | 27 | <string name="summary_title">ตารางแลกเปลี่ยน:</string> |
25 | <string name="useranme_pattern">ชื่อผู้ใช้:%s</string> | 28 | <string name="useranme_pattern">ชื่อผู้ใช้:%s</string> |
26 | <!-- <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string> --> | 29 | <!-- <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string> --> |
27 | <string name="mol_card_hint">กรุณากรอกรหัสบัตร</string> | 30 | <string name="mol_card_hint">กรุณากรอกรหัสบัตร</string> |
28 | <string name="mol_pass_hint">กรุณาใส่รหัส</string> | 31 | <string name="mol_pass_hint">กรุณาใส่รหัส</string> |
29 | <string name="pay_ok">OK</string> | 32 | <string name="pay_ok">OK</string> |
30 | <string name="pay_error">การชำระล้มเหลว กรุณาลองใหม่อีกครั้ง</string> | 33 | <string name="pay_error">การชำระล้มเหลว กรุณาลองใหม่อีกครั้ง</string> |
31 | <string name="card_input_tip">กรุณากรอกรายละเอียดบัตร</string> | 34 | <string name="card_input_tip">กรุณากรอกรายละเอียดบัตร</string> |
32 | <string name="amount_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | 35 | <string name="amount_choice_tip">กรุณาเลือกยอดเติมเงิน</string> |
33 | <!-- paypal --> | 36 | <!-- paypal --> |
34 | <string name="paypal_amount_hint">กรุณาใส่จำนวนเงินที่ต้องการ(%s-10000เป็นจำนวนเต็ม)</string> | 37 | <string name="paypal_amount_hint">กรุณาใส่จำนวนเงินที่ต้องการ(%s-10000เป็นจำนวนเต็ม)</string> |
35 | <string name="paypal_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | 38 | <string name="paypal_choice_tip">กรุณาเลือกยอดเติมเงิน</string> |
36 | <!-- gp --> | 39 | <!-- gp --> |
37 | <string name="gp_choice_tip">กรุณาเลือกยอดเติมเงิน</string> | 40 | <string name="gp_choice_tip">กรุณาเลือกยอดเติมเงิน</string> |
41 | <string name="gen_quick_acc_err">เข้าสู่ระบบที่ล้มเหลวโปรดลองอีกครั้ง</string> | ||
42 | <string name="quick_login_err">เข้าสู่ระบบที่ล้มเหลวโปรดลองอีกครั้ง</string> | ||
38 | 43 | ||
39 | </resources> | 44 | </resources> |
android/GameSDKRelease/res/values-zh-rTW/strings.xml
1 | <resources> | 1 | <resources> |
2 | 2 | ||
3 | <string name="user_name_hint">郵箱</string> | 3 | <string name="user_name_hint">郵箱</string> |
4 | <string name="password_hint">密碼</string> | 4 | <string name="password_hint">密碼</string> |
5 | <string name="login">登錄</string> | 5 | <string name="login">登錄</string> |
6 | <string name="signup">註冊</string> | 6 | <string name="signup">註冊</string> |
7 | <string name="bind">綁定郵箱</string> | 7 | <string name="bind">綁定郵箱</string> |
8 | <string name="loading">加載中……</string> | 8 | <string name="loading">加載中……</string> |
9 | <string name="loging">加載中……</string> | ||
10 | <string name="switch_user">切換賬戶</string> | ||
9 | <!-- toast --> | 11 | <!-- toast --> |
10 | <string name="illegal_uname_tip">郵箱格式不正確</string> | 12 | <string name="illegal_uname_tip">郵箱格式不正確</string> |
11 | <string name="illegal_pwd_tip">密碼格式不正確 (6–20字符)</string> | 13 | <string name="illegal_pwd_tip">密碼格式不正確 (6–20字符)</string> |
12 | <string name="illegal_user_exist">郵箱已註冊</string> | 14 | <string name="illegal_user_exist">郵箱已註冊</string> |
13 | <string name="illegal_pwd_invalid">密碼不正確,請重試</string> | 15 | <string name="illegal_pwd_invalid">密碼不正確,請重試</string> |
14 | <string name="illegal_user_not_exist">郵箱不存在</string> | 16 | <string name="illegal_user_not_exist">郵箱不存在</string> |
15 | <string name="invalid_email">請輸入正確的郵箱</string> | 17 | <string name="invalid_email">請輸入正確的郵箱</string> |
16 | <string name="login_fail">登錄失敗</string> | 18 | <string name="login_fail">登錄失敗</string> |
17 | <string name="signup_fail">註冊失敗</string> | 19 | <string name="signup_fail">註冊失敗</string> |
18 | <string name="bind_fail">綁定失敗</string> | 20 | <string name="bind_fail">綁定失敗</string> |
19 | <!-- facebook id --> | 21 | <!-- facebook id --> |
20 | 22 | ||
21 | 23 | ||
22 | <!-- 支付相关 --> | 24 | <!-- 支付相关 --> |
23 | <!-- title --> | 25 | <!-- title --> |
24 | <string name="title_payment_choice">請選擇支付方式</string> | 26 | <string name="title_payment_choice">請選擇支付方式</string> |
25 | <!-- summary title --> | 27 | <!-- summary title --> |
26 | <string name="summary_title">兌換表:</string> | 28 | <string name="summary_title">兌換表:</string> |
27 | <string name="mol_card_hint">請輸入卡號</string> | 29 | <string name="mol_card_hint">請輸入卡號</string> |
28 | <string name="mol_pass_hint">請輸入密碼</string> | 30 | <string name="mol_pass_hint">請輸入密碼</string> |
29 | <string name="pay_ok">OK</string> | 31 | <string name="pay_ok">OK</string> |
30 | <string name="pay_error">支付失敗,請再重試。</string> | 32 | <string name="pay_error">支付失敗,請再重試。</string> |
31 | <string name="card_input_tip">請輸入點卡信息</string> | 33 | <string name="card_input_tip">請輸入點卡信息</string> |
32 | <string name="amount_choice_tip">請選擇支付金額</string> | 34 | <string name="amount_choice_tip">請選擇支付金額</string> |
33 | <!-- paypal --> | 35 | <!-- paypal --> |
34 | <string name="paypal_choice_tip">請選擇支付金額</string> | 36 | <string name="paypal_choice_tip">請選擇支付金額</string> |
35 | <!-- gp --> | 37 | <!-- gp --> |
36 | <string name="gp_choice_tip">請選擇支付金額</string> | 38 | <string name="gp_choice_tip">請選擇支付金額</string> |
39 | <string name="gen_quick_acc_err">登錄失敗,請重試</string> | ||
40 | <string name="quick_login_err">登錄失敗,請重試</string> | ||
37 | 41 | ||
38 | </resources> | 42 | </resources> |
android/GameSDKRelease/res/values-zh/strings.xml
1 | <resources> | 1 | <resources> |
2 | 2 | ||
3 | <string name="user_name_hint">邮箱</string> | 3 | <string name="user_name_hint">邮箱</string> |
4 | <string name="password_hint">密码</string> | 4 | <string name="password_hint">密码</string> |
5 | <string name="quick_play">Guest Play</string> | ||
5 | <string name="login">登录</string> | 6 | <string name="login">登录</string> |
6 | <string name="signup">注册</string> | 7 | <string name="signup">注册</string> |
7 | <string name="bind">绑定邮箱</string> | 8 | <string name="bind">绑定邮箱</string> |
8 | <string name="loading">加载中……</string> | 9 | <string name="loading">加载中……</string> |
10 | <string name="loging">加载中……</string> | ||
11 | <string name="switch_user">切换用户</string> | ||
9 | <!-- toast --> | 12 | <!-- toast --> |
10 | <string name="illegal_uname_tip">请输入正确的邮箱</string> | 13 | <string name="illegal_uname_tip">请输入正确的邮箱</string> |
11 | <string name="illegal_pwd_tip">密码格式不正确 (6–20字符)</string> | 14 | <string name="illegal_pwd_tip">密码格式不正确 (6–20字符)</string> |
12 | <string name="illegal_user_exist">邮箱已注册</string> | 15 | <string name="illegal_user_exist">邮箱已注册</string> |
13 | <string name="illegal_pwd_invalid">密码不正确,请重试</string> | 16 | <string name="illegal_pwd_invalid">密码不正确,请重试</string> |
14 | <string name="illegal_user_not_exist">邮箱未注册</string> | 17 | <string name="illegal_user_not_exist">邮箱未注册</string> |
15 | <string name="invalid_email">请输入正确的邮箱</string> | 18 | <string name="invalid_email">请输入正确的邮箱</string> |
16 | <string name="login_fail">登录失败</string> | 19 | <string name="login_fail">登录失败</string> |
17 | <string name="signup_fail">注册失败</string> | 20 | <string name="signup_fail">注册失败</string> |
18 | <string name="bind_fail">绑定失败</string> | 21 | <string name="bind_fail">绑定失败</string> |
19 | <string name="net_error">网络无法连接,请查看网络设置</string> | 22 | <string name="net_error">网络无法连接,请查看网络设置</string> |
20 | <!-- facebook id --> | 23 | <!-- facebook id --> |
21 | <!-- 支付 --> | 24 | <!-- 支付 --> |
22 | <!-- title --> | 25 | <!-- title --> |
23 | <string name="title_payment_choice">请选择支付方式</string> | 26 | <string name="title_payment_choice">请选择支付方式</string> |
24 | <!-- summary title --> | 27 | <!-- summary title --> |
25 | <string name="summary_title">兑换表:</string> | 28 | <string name="summary_title">兑换表:</string> |
26 | <!-- payment --> | 29 | <!-- payment --> |
27 | <string name="mol_card_hint">请输入卡号</string> | 30 | <string name="mol_card_hint">请输入卡号</string> |
28 | <string name="mol_pass_hint">请输入密码</string> | 31 | <string name="mol_pass_hint">请输入密码</string> |
29 | <string name="pay_ok">OK</string> | 32 | <string name="pay_ok">OK</string> |
30 | <string name="pay_error">充值失败,请重试</string> | 33 | <string name="pay_error">充值失败,请重试</string> |
31 | <string name="card_input_tip">请输入点卡信息</string> | 34 | <string name="card_input_tip">请输入点卡信息</string> |
32 | <string name="amount_choice_tip">请选择支付金额</string> | 35 | <string name="amount_choice_tip">请选择支付金额</string> |
33 | <!-- paypal --> | 36 | <!-- paypal --> |
34 | <string name="paypal_choice_tip">请选择支付金额</string> | 37 | <string name="paypal_choice_tip">请选择支付金额</string> |
35 | <!-- gp --> | 38 | <!-- gp --> |
36 | <string name="gp_choice_tip">请选择支付金额</string> | 39 | <string name="gp_choice_tip">请选择支付金额</string> |
40 | <string name="gen_quick_acc_err">登录失败,请重试</string> | ||
41 | <string name="quick_login_err">登录失败,请重试</string> | ||
37 | 42 | ||
38 | </resources> | 43 | </resources> |
android/GameSDKRelease/res/values/colors.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <resources> | 2 | <resources> |
3 | 3 | ||
4 | <color name="white">#FFFFFF</color> | 4 | <color name="white">#FFFFFF</color> |
5 | <color name="white_translucent">#D9FFFFFF</color> | ||
5 | <color name="line">#e5e5e5</color> | 6 | <color name="line">#e5e5e5</color> |
6 | <color name="light_gray">#c9c9c9</color> | 7 | <color name="light_gray">#c9c9c9</color> |
7 | <color name="dark_gray">#d9d9d9</color> | 8 | <color name="dark_gray">#d9d9d9</color> |
8 | <color name="orange_normal">#fe5f27</color> | 9 | <color name="orange_normal">#f8b500</color> |
9 | <color name="orange_pressed">#fe0000</color> | 10 | <color name="orange_pressed">#ffc62c</color> |
10 | <color name="black_text">#3f3c38</color> | 11 | <color name="black_text">#3f3c38</color> |
11 | <color name="btn_white_normal">#f8f7f4</color> | 12 | <!-- <color name="btn_white_normal">#f8f7f4</color> --> |
12 | <color name="btn_white_pressed">#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> | ||
13 | 16 | ||
14 | <color name="common_gray">#ecf0f0</color> | 17 | <color name="common_gray">#ecf0f0</color> |
15 | <color name="common_gray2">#e0e6e8</color> | 18 | <color name="common_gray2">#e0e6e8</color> |
16 | <color name="translucent">#7e000000</color> | 19 | <color name="translucent">#7e000000</color> |
17 | <color name="transparent">#00000000</color> | 20 | <color name="transparent">#00000000</color> |
18 | 21 | ||
19 | <color name="payment_common_bg">#f2efeb</color> | 22 | <color name="payment_common_bg">#f2efeb</color> |
20 | <color name="summary_bg">#d6d4d1</color> | 23 | <color name="summary_bg">#d6d4d1</color> |
21 | <color name="background_color">#00a0e9</color> | 24 | <color name="background_color">#00a0e9</color> |
22 | </resources> | 25 | </resources> |
android/GameSDKRelease/res/values/strings.xml
1 | <resources> | 1 | <resources> |
2 | 2 | ||
3 | <string name="user_name_hint">Email</string> | 3 | <string name="user_name_hint">Email</string> |
4 | <string name="password_hint">Password</string> | 4 | <string name="password_hint">Password</string> |
5 | <string name="quick_login">Play(%sS)</string> | 5 | <string name="quick_login">Play(%sS)</string> |
6 | <string name="quick_play">Play</string> | 6 | <string name="quick_play">Guest Play</string> |
7 | <string name="login">Login</string> | 7 | <string name="login">Login</string> |
8 | <string name="signup">Signup</string> | 8 | <string name="signup">Signup</string> |
9 | <string name="bind">Bound to email</string> | 9 | <string name="bind">Bound to email</string> |
10 | <string name="loading">Loading</string> | 10 | <string name="loading">Loading</string> |
11 | <string name="loging">Loding...</string> | ||
12 | <string name="switch_user">Switching accounts</string> | ||
11 | <!-- toast --> | 13 | <!-- toast --> |
12 | <string name="illegal_uname_tip">Invalid Email</string> | 14 | <string name="illegal_uname_tip">Invalid Email</string> |
13 | <string name="illegal_pwd_tip">Invalid Password (6–20 characters).</string> | 15 | <string name="illegal_pwd_tip">Invalid Password (6–20 characters).</string> |
14 | <string name="illegal_user_exist">Email has already used</string> | 16 | <string name="illegal_user_exist">Email has already used</string> |
15 | <string name="illegal_pwd_invalid">Password is incorrect. Please try again.</string> | 17 | <string name="illegal_pwd_invalid">Password is incorrect. Please try again.</string> |
16 | <string name="illegal_user_not_exist">Invalid Email</string> | 18 | <string name="illegal_user_not_exist">Invalid Email</string> |
17 | <string name="invalid_email">Invalid Email</string> | 19 | <string name="invalid_email">Invalid Email</string> |
18 | <string name="login_fail">Login failed</string> | 20 | <string name="login_fail">Login failed</string> |
19 | <string name="signup_fail">Signup failed</string> | 21 | <string name="signup_fail">Signup failed</string> |
20 | <string name="bind_fail">Bound failed</string> | 22 | <string name="bind_fail">Bound failed</string> |
21 | <string name="net_error">Internet unavailable, please check</string> | 23 | <string name="net_error">Internet unavailable, please check</string> |
22 | <string name="gump_login">Login with Gumptech</string> | 24 | <string name="gump_login">Login</string> |
25 | <string name="vk_login">Login with VK</string> | ||
23 | <string name="fb_login">Login with Facebook</string> | 26 | <string name="fb_login">Login with Facebook</string> |
24 | <string name="signup_success">Sign Up Successfully</string> | 27 | <string name="signup_success">Sign Up Successfully</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> | ||
25 | <!-- facebook --> | 30 | <!-- facebook --> |
26 | 31 | ||
27 | 32 | ||
28 | <!-- 支付相关 --> | 33 | <!-- 支付相关 --> |
29 | 34 | ||
30 | 35 | ||
31 | <!-- title --> | 36 | <!-- title --> |
32 | <string name="title_mycard">Mycard點數儲值</string> | 37 | <string name="title_mycard">Mycard點數儲值</string> |
33 | <string name="title_mycard_member">Mycard會員扣點</string> | 38 | <string name="title_mycard_member">Mycard會員扣點</string> |
34 | <string name="title_mycard_billing">Mycard Billing</string> | 39 | <string name="title_mycard_billing">Mycard Billing</string> |
35 | <string name="title_mol">MOLPoints Gift Card</string> | 40 | <string name="title_mol">MOLPoints Gift Card</string> |
36 | <string name="title_mol_wallet">MOLPoints E-Wallet</string> | 41 | <string name="title_mol_wallet">MOLPoints E-Wallet</string> |
37 | <string name="title_12call">12Call</string> | 42 | <string name="title_12call">12Call</string> |
38 | <string name="title_tm">True Money</string> | 43 | <string name="title_tm">True Money</string> |
39 | <string name="title_zest">Zest</string> | 44 | <string name="title_zest">Zest</string> |
40 | <string name="title_gp">Google play</string> | 45 | <string name="title_gp">Google play</string> |
41 | <string name="title_paypal">Paypal</string> | 46 | <string name="title_paypal">Paypal</string> |
42 | <string name="title_rixty">Rixty</string> | 47 | <string name="title_rixty">Rixty</string> |
43 | <string name="title_ngan">NganLoung</string> | 48 | <string name="title_ngan">NganLoung</string> |
44 | <string name="title_easy2pay">Easy2Pay</string> | 49 | <string name="title_easy2pay">Easy2Pay</string> |
45 | <string name="title_boa">BOACompra</string> | 50 | <string name="title_boa">BOACompra</string> |
46 | <string name="title_indomog_voucher">Indomog</string> | 51 | <string name="title_indomog_voucher">Indomog</string> |
47 | <string name="title_indomog_account">Indomog Account Balance</string> | 52 | <string name="title_indomog_account">Indomog Account Balance</string> |
48 | <string name="title_yandex">Yandex</string> | 53 | <string name="title_yandex">Yandex</string> |
49 | <string name="title_vnpt_vnp">VinaPhone</string> | 54 | <string name="title_vnpt_vnp">VinaPhone</string> |
50 | <string name="title_vnpt_vms">MobiFone</string> | 55 | <string name="title_vnpt_vms">MobiFone</string> |
51 | <string name="title_vnpt_onc">Oncash</string> | 56 | <string name="title_vnpt_onc">Oncash</string> |
52 | <string name="title_vnpt_fpt">FPT</string> | 57 | <string name="title_vnpt_fpt">FPT</string> |
53 | <string name="title_vnpt_vtt">Viettel</string> | 58 | <string name="title_vnpt_vtt">Viettel</string> |
54 | <string name="title_vnpt_mgc">MegaCard</string> | 59 | <string name="title_vnpt_mgc">MegaCard</string> |
55 | <string name="title_coda">Coda Payment</string> | 60 | <string name="title_coda">Coda Payment</string> |
56 | <string name="title_cherry">Cherry Credits</string> | 61 | <string name="title_cherry">Cherry Credits</string> |
57 | <string name="title_payment_choice">Select payment methods</string> | 62 | <string name="title_payment_choice">Select payment methods</string> |
58 | 63 | ||
59 | <!-- summary title --> | 64 | <!-- summary title --> |
60 | <string name="summary_title">Price list:</string> | 65 | <string name="summary_title">Price list:</string> |
61 | 66 | ||
62 | <!-- payment --> | 67 | <!-- payment --> |
63 | <string name="useranme_pattern">Account:%s</string> | 68 | <string name="useranme_pattern">Account:%s</string> |
64 | <string name="mol_card_hint">Card No.</string> | 69 | <string name="mol_card_hint">Card No.</string> |
65 | <string name="mol_pass_hint">Password</string> | 70 | <string name="mol_pass_hint">Password</string> |
66 | <string name="pay_ok">OK</string> | 71 | <string name="pay_ok">OK</string> |
67 | <string name="pay_error">Charging Failed, please try again.</string> | 72 | <string name="pay_error">Charging Failed, please try again.</string> |
68 | <string name="card_input_tip">Card information</string> | 73 | <string name="card_input_tip">Card information</string> |
69 | <string name="amount_choice_tip">Please select the amount</string> | 74 | <string name="amount_choice_tip">Please select the amount</string> |
70 | 75 | ||
71 | <!-- paypal --> | 76 | <!-- paypal --> |
72 | <string name="paypal_amount_hint">Please enter the payment amount (Integer between %s to 10000)</string> | 77 | <string name="paypal_amount_hint">Please enter the payment amount (Integer between %s to 10000)</string> |
73 | <string name="paypal_choice_tip">Please select the amount</string> | 78 | <string name="paypal_choice_tip">Please select the amount</string> |
74 | <!-- gp --> | 79 | <!-- gp --> |
75 | <string name="gp_choice_tip">Please select the amount</string> | 80 | <string name="gp_choice_tip">Please select the amount</string> |
76 | <!-- yandex --> | 81 | <!-- yandex --> |
77 | <string name="yandex_money">Yandex Money</string> | 82 | <string name="yandex_money">Yandex Money</string> |
78 | <string name="yandex_bank">Yandex Bank</string> | 83 | <string name="yandex_bank">Yandex Bank</string> |
79 | <string name="yandex_cash">Yandex Cash</string> | 84 | <string name="yandex_cash">Yandex Cash</string> |
80 | 85 | ||
81 | </resources> | 86 | </resources> |
android/GameSDKRelease/res/values/themes.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <resources> | 2 | <resources> |
3 | 3 | ||
4 | <style name="container_dialog" > | 4 | <style name="Theme.TransparentWin" parent="android:Theme"> |
5 | <item name="android:windowFrame">@null</item> | 5 | <item name="android:windowFrame">@null</item> |
6 | <item name="android:windowIsFloating">true</item> | 6 | <item name="android:windowIsFloating">true</item> |
7 | <item name="android:windowIsTranslucent">true</item> | 7 | <item name="android:windowIsTranslucent">true</item> |
8 | <item name="android:windowNoTitle">true</item> | 8 | <item name="android:windowNoTitle">true</item> |
9 | <item name="android:windowBackground">@color/transparent</item> | 9 | <item name="android:windowBackground">@color/transparent</item> |
10 | <item name="android:backgroundDimEnabled">true</item> | 10 | <item name="android:backgroundDimEnabled">true</item> |
11 | <item name="android:windowFullscreen">true</item> | 11 | <item name="android:windowFullscreen">true</item> |
12 | </style> | 12 | </style> |
13 | 13 | ||
14 | <style name="ex_win" parent="@style/container_dialog"> | 14 | <style name="Theme.WinForExchange" parent="@style/Theme.TransparentWin"> |
15 | <item name="android:backgroundDimEnabled">true</item> | 15 | <item name="android:backgroundDimEnabled">true</item> |
16 | </style> | 16 | </style> |
17 | 17 | ||
18 | </resources> | 18 | </resources> |
android/GameSDKSample/AndroidManifest.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | package="com.loginsdk.sample" | 3 | package="com.gumpsdk.wuruid" |
4 | android:versionCode="6" | 4 | android:versionCode="6" |
5 | android:versionName="1.6" > | 5 | android:versionName="1.6" > |
6 | 6 | ||
7 | <uses-sdk | 7 | <uses-sdk |
8 | android:minSdkVersion="9" | 8 | android:minSdkVersion="9" |
9 | android:targetSdkVersion="22" /> | 9 | android:targetSdkVersion="22" /> |
10 | 10 | ||
11 | <uses-permission android:name="android.permission.INTERNET" /> | 11 | <uses-permission android:name="android.permission.INTERNET" /> |
12 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | 12 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
13 | <uses-permission android:name="android.permission.BLUETOOTH" /> | 13 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
14 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | 14 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
15 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> | 15 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
16 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> | 16 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
17 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | 17 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
18 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | 18 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
19 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> | 19 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
20 | <uses-permission android:name="android.permission.SEND_SMS"/> | 20 | <uses-permission android:name="android.permission.SEND_SMS"/> |
21 | 21 | ||
22 | <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> | 22 | <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> |
23 | <uses-permission android:name="com.android.vending.BILLING" /> | 23 | <uses-permission android:name="com.android.vending.BILLING" /> |
24 | 24 | ||
25 | <application | 25 | <application |
26 | android:allowBackup="true" | 26 | android:allowBackup="true" |
27 | android:icon="@drawable/ic_launcher" | 27 | android:icon="@drawable/ic_launcher" |
28 | android:label="@string/app_name" > | 28 | android:label="@string/app_name" > |
29 | <activity | 29 | <activity |
30 | android:name="com.gumptech.loginsdk.sample.MainActivity" | 30 | android:name="com.gumptech.loginsdk.sample.MainActivity" |
31 | android:configChanges="navigation|orientation|keyboard" | 31 | android:configChanges="navigation|orientation|keyboard" |
32 | android:label="@string/app_name" | 32 | android:label="@string/app_name" |
33 | android:screenOrientation="portrait" > | 33 | android:screenOrientation="portrait" > |
34 | <intent-filter> | 34 | <intent-filter> |
35 | <action android:name="android.intent.action.MAIN" /> | 35 | <action android:name="android.intent.action.MAIN" /> |
36 | 36 | ||
37 | <category android:name="android.intent.category.LAUNCHER" /> | 37 | <category android:name="android.intent.category.LAUNCHER" /> |
38 | </intent-filter> | 38 | </intent-filter> |
39 | </activity> | 39 | </activity> |
40 | <activity | 40 | <activity |
41 | android:name="com.gumptech.sdk.ContainerActivity" | 41 | android:name="com.gumptech.sdk.ContainerActivity" |
42 | android:configChanges="orientation|screenLayout" | 42 | android:configChanges="orientation|screenLayout" |
43 | android:theme="@style/container_dialog" > | 43 | android:windowSoftInputMode="stateAlwaysHidden|adjustPan" |
44 | android:theme="@style/Theme.TransparentWin" > | ||
44 | </activity> | 45 | </activity> |
45 | <activity | 46 | <activity |
46 | android:name="com.gumptech.sdk.PaymentActivity" | 47 | android:name="com.gumptech.sdk.PaymentActivity" |
47 | android:configChanges="orientation|screenLayout" | 48 | android:configChanges="orientation|screenLayout" |
48 | android:theme="@android:style/Theme.Translucent.NoTitleBar" > | 49 | android:theme="@android:style/Theme.Translucent.NoTitleBar" > |
49 | </activity> | 50 | </activity> |
50 | <activity | 51 | <activity |
51 | android:name="com.gumptech.sdk.ExchangeWindow" | 52 | android:name="com.gumptech.sdk.ExchangeWindow" |
52 | android:configChanges="orientation|screenLayout" | 53 | android:configChanges="orientation|screenLayout" |
53 | android:theme="@style/ex_win" > | 54 | android:theme="@style/Theme.WinForExchange" > |
54 | </activity> | 55 | </activity> |
55 | 56 | ||
56 | <service android:name="com.gumptech.sdk.PushService" > | 57 | <service android:name="com.gumptech.sdk.PushService" > |
57 | </service> | 58 | </service> |
58 | 59 | ||
59 | <!-- facebook --> | 60 | <!-- facebook --> |
60 | <activity | 61 | <activity |
61 | android:name="com.facebook.FacebookActivity" | 62 | android:name="com.facebook.FacebookActivity" |
62 | android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" | 63 | android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" |
63 | android:label="@string/app_name" | 64 | android:label="@string/app_name" |
64 | android:theme="@android:style/Theme.Translucent.NoTitleBar" /> | 65 | android:theme="@android:style/Theme.Translucent.NoTitleBar" /> |
66 | <!-- vk --> | ||
67 | <activity android:name="com.vk.sdk.VKOpenAuthActivity" /> | ||
68 | <activity | ||
69 | android:name="com.vk.sdk.VKServiceActivity" | ||
70 | android:label="ServiceActivity" | ||
71 | android:theme="@style/VK.Transparent" /> | ||
65 | </application> | 72 | </application> |
66 | 73 | ||
67 | </manifest> | 74 | </manifest> |
android/GameSDKSample/project.properties
1 | # This file is automatically generated by Android Tools. | 1 | # This file is automatically generated by Android Tools. |
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! | 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! |
3 | # | 3 | # |
4 | # This file must be checked in Version Control Systems. | 4 | # This file must be checked in Version Control Systems. |
5 | # | 5 | # |
6 | # To customize properties used by the Ant build system edit | 6 | # To customize properties used by the Ant build system edit |
7 | # "ant.properties", and override values to adapt the script to your | 7 | # "ant.properties", and override values to adapt the script to your |
8 | # project structure. | 8 | # project structure. |
9 | # | 9 | # |
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | 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 | 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt |
12 | 12 | ||
13 | # Project target. | 13 | # Project target. |
14 | 14 | ||
15 | target=android-19 | 15 | target=android-21 |
16 | android.library.reference.1=..\\GameSDKRelease | 16 | android.library.reference.1=..\\GameSDKRelease |
17 | 17 |
android/GameSDKSample/res/layout/activity_main.xml
1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 | android:layout_width="match_parent" | 2 | android:layout_width="match_parent" |
3 | android:layout_height="match_parent" | 3 | android:layout_height="match_parent" |
4 | android:background="@android:color/white" | 4 | android:background="@android:color/white" |
5 | android:orientation="vertical" > | 5 | android:orientation="vertical" > |
6 | 6 | ||
7 | <TextView | 7 | <TextView |
8 | android:id="@+id/version" | 8 | android:id="@+id/version" |
9 | android:layout_width="wrap_content" | 9 | android:layout_width="wrap_content" |
10 | android:layout_height="wrap_content" | 10 | android:layout_height="wrap_content" |
11 | android:layout_gravity="center_horizontal" /> | 11 | android:layout_gravity="center_horizontal" /> |
12 | 12 | ||
13 | <TextView | 13 | <TextView |
14 | android:id="@+id/user_info" | 14 | android:id="@+id/user_info" |
15 | android:layout_width="wrap_content" | 15 | android:layout_width="wrap_content" |
16 | android:layout_height="wrap_content" | 16 | android:layout_height="wrap_content" |
17 | android:textColor="@android:color/black" /> | 17 | android:textColor="@android:color/black" /> |
18 | 18 | ||
19 | <Button | 19 | <Button |
20 | android:id="@+id/login_or_logout" | 20 | android:id="@+id/login_or_logout" |
21 | android:layout_width="wrap_content" | 21 | android:layout_width="wrap_content" |
22 | android:layout_height="wrap_content" | 22 | android:layout_height="wrap_content" |
23 | android:enabled="false" | ||
23 | android:text="Login" /> | 24 | android:text="Login" /> |
24 | 25 | ||
25 | <Button | 26 | <Button |
26 | android:id="@+id/pay" | 27 | android:id="@+id/pay" |
27 | android:layout_width="wrap_content" | 28 | android:layout_width="wrap_content" |
28 | android:layout_height="wrap_content" | 29 | android:layout_height="wrap_content" |
29 | android:text="pay" /> | 30 | android:text="pay" /> |
30 | 31 | ||
31 | </LinearLayout> | 32 | </LinearLayout> |
android/GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
1 | package com.gumptech.loginsdk.sample; | 1 | package com.gumptech.loginsdk.sample; |
2 | 2 | ||
3 | import android.app.Activity; | 3 | import android.app.Activity; |
4 | import android.content.Intent; | ||
5 | import android.os.Bundle; | 4 | import android.os.Bundle; |
6 | import android.util.Log; | 5 | import android.util.Log; |
7 | import android.view.View; | 6 | import android.view.View; |
8 | import android.widget.Button; | 7 | import android.widget.Button; |
9 | import android.widget.TextView; | 8 | import android.widget.TextView; |
10 | import android.widget.Toast; | 9 | import android.widget.Toast; |
11 | 10 | ||
12 | import com.gumptech.sdk.GumpSDK; | 11 | import com.gumptech.sdk.GumpSDK; |
13 | import com.gumptech.sdk.bean.GumpUser; | 12 | import com.gumptech.sdk.bean.GumpUser; |
14 | import com.gumptech.sdk.bean.PurchaseResult; | 13 | import com.gumptech.sdk.bean.PurchaseResult; |
15 | import com.gumptech.sdk.callback.InitializeCallback; | 14 | import com.gumptech.sdk.callback.InitializeCallback; |
16 | import com.gumptech.sdk.callback.LoginStateListener; | 15 | import com.gumptech.sdk.callback.LoginStateListener; |
17 | import com.gumptech.sdk.callback.PurchaseCallback; | 16 | import com.gumptech.sdk.callback.PurchaseCallback; |
18 | import com.loginsdk.sample.R; | 17 | import com.gumpsdk.wuruid.R; |
19 | 18 | ||
20 | public class MainActivity extends Activity implements PurchaseCallback{ | 19 | public class MainActivity extends Activity implements PurchaseCallback{ |
21 | 20 | ||
22 | private static final String TAG = "MainActivity"; | 21 | private static final String TAG = "MainActivity"; |
23 | 22 | ||
24 | private TextView tvVersion; | 23 | private TextView tvVersion; |
25 | private TextView userInfo; | 24 | private TextView userInfo; |
26 | 25 | ||
27 | private Button btnLoginOrLogout; | 26 | private Button btnLoginOrLogout; |
28 | 27 | ||
29 | private String appId = "10022"; | 28 | private String appId = "10022"; |
30 | private String appKey = "93a27b0bd99bac3e68a440b48aa421ab"; | 29 | private String appKey = "93a27b0bd99bac3e68a440b48aa421ab"; |
31 | 30 | ||
32 | @Override | 31 | @Override |
33 | protected void onCreate(Bundle savedInstanceState) { | 32 | protected void onCreate(Bundle savedInstanceState) { |
34 | super.onCreate(savedInstanceState); | 33 | super.onCreate(savedInstanceState); |
35 | setContentView(R.layout.activity_main); | 34 | setContentView(R.layout.activity_main); |
36 | tvVersion = (TextView) findViewById(R.id.version); | 35 | tvVersion = (TextView) findViewById(R.id.version); |
37 | userInfo = (TextView) findViewById(R.id.user_info); | 36 | userInfo = (TextView) findViewById(R.id.user_info); |
38 | btnLoginOrLogout = (Button) findViewById(R.id.login_or_logout); | 37 | btnLoginOrLogout = (Button) findViewById(R.id.login_or_logout); |
39 | btnLoginOrLogout.setOnClickListener(new View.OnClickListener() { | 38 | btnLoginOrLogout.setOnClickListener(new View.OnClickListener() { |
40 | 39 | ||
41 | @Override | 40 | @Override |
42 | public void onClick(View v) { | 41 | public void onClick(View v) { |
43 | if (btnLoginOrLogout.getTag() == null || (Integer) btnLoginOrLogout.getTag() == 0) | 42 | if (btnLoginOrLogout.getTag() == null || (Integer) btnLoginOrLogout.getTag() == 0) |
44 | GumpSDK.start(MainActivity.this); | 43 | GumpSDK.start(MainActivity.this); |
45 | else | 44 | else |
46 | GumpSDK.logout(MainActivity.this); | 45 | GumpSDK.logout(MainActivity.this); |
47 | } | 46 | } |
48 | }); | 47 | }); |
49 | findViewById(R.id.pay).setOnClickListener(new View.OnClickListener() { | 48 | findViewById(R.id.pay).setOnClickListener(new View.OnClickListener() { |
50 | 49 | ||
51 | @Override | 50 | @Override |
52 | public void onClick(View v) { | 51 | public void onClick(View v) { |
53 | Bundle payInfo = new Bundle(); | 52 | Bundle payInfo = new Bundle(); |
54 | payInfo.putString("nick", "thi"); | 53 | payInfo.putString("nick", "thi"); |
55 | payInfo.putString("product", "元宝"); | 54 | payInfo.putString("product", "元宝"); |
56 | payInfo.putFloat("amount", 0.0f); | 55 | payInfo.putFloat("amount", 0.0f); |
57 | payInfo.putString("extraInfo", "This is demo!"); | 56 | payInfo.putString("extraInfo", "This is demo!"); |
58 | payInfo.putString("serverId", "5001"); | 57 | payInfo.putString("serverId", "103"); |
59 | GumpSDK.pay(MainActivity.this, payInfo, "3332768", MainActivity.this); | 58 | GumpSDK.pay(MainActivity.this, payInfo, "6151046", MainActivity.this); |
60 | } | 59 | } |
61 | }); | 60 | }); |
61 | /** | ||
62 | * 设置否是开启debug模式 | ||
63 | */ | ||
62 | GumpSDK.setDebugState(true); | 64 | GumpSDK.setDebugState(true); |
63 | GumpSDK.setLogoShow(true); | 65 | /** |
66 | * 设置是否启用facebook登录 | ||
67 | */ | ||
68 | GumpSDK.setFBEnable(true); | ||
69 | /** | ||
70 | * 设置是否启用Vk登录 | ||
71 | */ | ||
72 | GumpSDK.setVKEnable(true); | ||
73 | /** | ||
74 | * 设置屏幕方向 | ||
75 | */ | ||
64 | GumpSDK.setScreenLandscape(false); | 76 | GumpSDK.setScreenLandscape(false); |
77 | /** | ||
78 | * 设置用户登录状态监听器 | ||
79 | */ | ||
65 | GumpSDK.setUserStateListener(new LoginStateListener() { | 80 | GumpSDK.setUserStateListener(new LoginStateListener() { |
66 | @Override | 81 | @Override |
67 | public void onLoginSuccess(GumpUser user) { | 82 | public void onLoginSuccess(GumpUser user) { |
68 | userInfo.setText("Userid:" + user.getUid() + "\n accountType:" + user.getAccountType() + "\n sessionKey:" + user.getSessionKey()); | 83 | userInfo.setText("Userid:" + user.getUid() + "\n accountType:" + user.getAccountType() + "\n sessionKey:" + user.getSessionKey()); |
69 | btnLoginOrLogout.setText("Logout"); | 84 | btnLoginOrLogout.setText("Logout"); |
70 | btnLoginOrLogout.setTag(1); | 85 | btnLoginOrLogout.setTag(1); |
71 | } | 86 | } |
72 | 87 | ||
73 | @Override | 88 | @Override |
74 | public void onLoginFailed(int code, String msg) { | 89 | public void onLoginFailed(int code, String msg) { |
75 | userInfo.setText(msg); | 90 | userInfo.setText(msg); |
76 | Toast.makeText(MainActivity.this, "Login failed:code="+code+",message="+msg, Toast.LENGTH_SHORT).show(); | 91 | Toast.makeText(MainActivity.this, "Login failed:code="+code+",message="+msg, Toast.LENGTH_SHORT).show(); |
77 | } | 92 | } |
78 | 93 | ||
79 | @Override | 94 | @Override |
80 | public void onLoginCanceled() { | 95 | public void onLoginCanceled() { |
81 | Toast.makeText(MainActivity.this, "operate be canceled", Toast.LENGTH_SHORT).show(); | 96 | Toast.makeText(MainActivity.this, "operate be canceled", Toast.LENGTH_SHORT).show(); |
82 | } | 97 | } |
83 | 98 | ||
84 | @Override | 99 | @Override |
85 | public void onLogout() { | 100 | public void onLogout() { |
86 | btnLoginOrLogout.setText("Login"); | 101 | btnLoginOrLogout.setText("Login"); |
87 | btnLoginOrLogout.setTag(0); | 102 | btnLoginOrLogout.setTag(0); |
88 | userInfo.setText("User is logout"); | 103 | userInfo.setText("User is logout"); |
89 | } | 104 | } |
90 | }); | 105 | }); |
106 | /** | ||
107 | * 初始化sdk | ||
108 | */ | ||
91 | GumpSDK.init(getApplicationContext(), appId, appKey, "1000", new InitializeCallback() { | 109 | GumpSDK.init(getApplicationContext(), appId, appKey, "1000", new InitializeCallback() { |
92 | @Override | 110 | @Override |
93 | public void initComplete(int result) { | 111 | public void initComplete(int result) { |
94 | if (result == GumpSDK.CODE.OK) { | 112 | if (result == GumpSDK.CODE.OK) { |
95 | btnLoginOrLogout.setEnabled(true); | 113 | btnLoginOrLogout.setEnabled(true); |
96 | } | 114 | } |
97 | } | 115 | } |
98 | }); | 116 | }); |
99 | 117 | ||
100 | 118 | ||
101 | tvVersion.setText("SDK Version:" + GumpSDK.getVersion()); | 119 | tvVersion.setText("SDK Version:" + GumpSDK.getVersion()); |
102 | } | 120 | } |
103 | 121 | ||
104 | @Override | 122 | @Override |
105 | public void onPurchaseCompleted(PurchaseResult result) { | 123 | public void onPurchaseCompleted(PurchaseResult result) { |
106 | Log.i(TAG,"purchase completed"); | 124 | Log.i(TAG,"purchase completed"); |
107 | } | 125 | } |
108 | 126 | ||
109 | @Override | 127 | @Override |
110 | public void onPurchaseError(int code, String msg) { | 128 | public void onPurchaseError(int code, String msg) { |
111 | Log.i(TAG,"purchase error"); | 129 | Log.i(TAG,"purchase error"); |
112 | } | 130 | } |
113 | 131 | ||
114 | @Override | 132 | @Override |
115 | public void onPurchaseCanceled() { | 133 | public void onPurchaseCanceled() { |
116 | Log.i(TAG,"purchase canceled"); | 134 | Log.i(TAG,"purchase canceled"); |
117 | } | 135 | } |
118 | } | 136 | } |