Commit 64b17991b533e6e366bb9f7fc82443f96865377f

Authored by 张洪涛
1 parent 535d080bef
Exists in master

delete file

Showing 150 changed files with 0 additions and 2585 deletions Side-by-side Diff

GameSDKRelease/.classpath
... ... @@ -1,9 +0,0 @@
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>
GameSDKRelease/.project
... ... @@ -1,33 +0,0 @@
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>
GameSDKRelease/AndroidManifest.xml
... ... @@ -1,16 +0,0 @@
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   - android:icon="@drawable/ic_launcher"
13   - android:label="@string/app_name" >
14   - </application>
15   -
16   -</manifest>
17 0 \ No newline at end of file
GameSDKRelease/libs/FacebookSDK.jar
No preview for this file type
GameSDKRelease/libs/LoginSDK_proguard_v1.6.jar
No preview for this file type
GameSDKRelease/libs/PayPalAndroidSDK.jar
No preview for this file type
GameSDKRelease/libs/android-support-v4.jar
No preview for this file type
GameSDKRelease/libs/armeabi-v7a/libcardioDecider.so
No preview for this file type
GameSDKRelease/libs/armeabi-v7a/libcardioRecognizer.so
No preview for this file type
GameSDKRelease/libs/armeabi-v7a/libcardioRecognizer_tegra2.so
No preview for this file type
GameSDKRelease/libs/armeabi-v7a/libopencv_core.so
No preview for this file type
GameSDKRelease/libs/armeabi-v7a/libopencv_imgproc.so
No preview for this file type
GameSDKRelease/libs/armeabi/libcardioDecider.so
No preview for this file type
GameSDKRelease/libs/image-cache.jar
No preview for this file type
GameSDKRelease/libs/mips/libcardioDecider.so
No preview for this file type
GameSDKRelease/libs/x86/libcardioDecider.so
No preview for this file type
GameSDKRelease/proguard-project.txt
... ... @@ -1,20 +0,0 @@
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   -#}
GameSDKRelease/project.properties
... ... @@ -1,15 +0,0 @@
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-19
15   -android.library=true
GameSDKRelease/res/drawable-hdpi/com_facebook_button_blue_focused.9.png

600 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_button_blue_normal.9.png

554 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_button_blue_pressed.9.png

416 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_button_grey_focused.9.png

624 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_button_grey_normal.9.png

520 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_button_grey_pressed.9.png

385 Bytes

GameSDKRelease/res/drawable-hdpi/com_facebook_close.png

5.13 KB

GameSDKRelease/res/drawable-hdpi/com_facebook_inverse_icon.png

1.16 KB

GameSDKRelease/res/drawable-hdpi/com_facebook_logo.png

9.85 KB

GameSDKRelease/res/drawable-hdpi/com_facebook_picker_magnifier.png

557 Bytes

GameSDKRelease/res/drawable-hdpi/ic_close.png

1.9 KB

GameSDKRelease/res/drawable-hdpi/ic_launcher.png

9.18 KB

GameSDKRelease/res/drawable-hdpi/payment_bg_normal.9.png

202 Bytes

GameSDKRelease/res/drawable-hdpi/payment_bg_selected.9.png

243 Bytes

GameSDKRelease/res/drawable-ldpi/com_facebook_close.png

3.71 KB

GameSDKRelease/res/drawable-mdpi/com_facebook_button_blue_focused.9.png

383 Bytes

GameSDKRelease/res/drawable-mdpi/com_facebook_button_blue_normal.9.png

380 Bytes

GameSDKRelease/res/drawable-mdpi/com_facebook_button_blue_pressed.9.png

323 Bytes

GameSDKRelease/res/drawable-mdpi/com_facebook_inverse_icon.png

1.09 KB

GameSDKRelease/res/drawable-mdpi/com_facebook_picker_magnifier.png

510 Bytes

GameSDKRelease/res/drawable-mdpi/ic_launcher.png

5.11 KB

GameSDKRelease/res/drawable-nodpi/log.png

9.56 KB

GameSDKRelease/res/drawable-nodpi/r_bg_normal.9.png

190 Bytes

GameSDKRelease/res/drawable-nodpi/r_bg_selected.9.png

244 Bytes

GameSDKRelease/res/drawable-nodpi/tag_gp.png

3.76 KB

GameSDKRelease/res/drawable-nodpi/tag_mol.png

6.86 KB

GameSDKRelease/res/drawable-nodpi/tag_paypal.png

4.52 KB

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_blue_focused.9.png

805 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_blue_normal.9.png

721 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_blue_pressed.9.png

548 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_grey_focused.9.png

841 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_grey_normal.9.png

714 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_button_grey_pressed.9.png

495 Bytes

GameSDKRelease/res/drawable-xhdpi/com_facebook_close.png

5.42 KB

GameSDKRelease/res/drawable-xhdpi/com_facebook_inverse_icon.png

1.18 KB

GameSDKRelease/res/drawable-xhdpi/com_facebook_logo.png

12.6 KB

GameSDKRelease/res/drawable-xhdpi/com_facebook_picker_magnifier.png

827 Bytes

GameSDKRelease/res/drawable-xhdpi/ic_launcher.png

14 KB

GameSDKRelease/res/drawable/btn_back.png

3.35 KB

GameSDKRelease/res/drawable/btn_cancel.png

2.86 KB

GameSDKRelease/res/drawable/btn_orange.xml
... ... @@ -1,25 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
3   -
4   - <item android:state_pressed="true">
5   - <shape android:shape="rectangle">
6   - <corners android:radius="3dp" />
7   -
8   - <solid android:color="@color/orange_pressed" />
9   -
10   - <size android:height="35dp" />
11   - </shape>
12   -
13   - </item>
14   - <item>
15   - <shape android:shape="rectangle">
16   - <corners android:radius="3dp" />
17   -
18   - <solid android:color="@color/orange_normal" />
19   -
20   - <size android:height="35dp" />
21   - </shape>
22   -
23   - </item>
24   -
25   -</selector>
26 0 \ No newline at end of file
GameSDKRelease/res/drawable/btn_white_bg.xml
... ... @@ -1,10 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
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>
11 0 \ No newline at end of file
GameSDKRelease/res/drawable/com_facebook_button_blue.xml
... ... @@ -1,24 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
3   -
4   - <item
5   - android:drawable="@drawable/com_facebook_button_blue_pressed"
6   - android:state_focused="true"
7   - android:state_pressed="true"
8   - />
9   - <item
10   - android:drawable="@drawable/com_facebook_button_blue_pressed"
11   - android:state_focused="false"
12   - android:state_pressed="true"
13   - />
14   - <item
15   - android:drawable="@drawable/com_facebook_button_blue_focused"
16   - android:state_focused="true"
17   - />
18   - <item
19   - android:drawable="@drawable/com_facebook_button_blue_normal"
20   - android:state_focused="false"
21   - android:state_pressed="false"
22   - />
23   -
24   -</selector>
GameSDKRelease/res/drawable/com_facebook_button_blue_focused.9.png

383 Bytes

GameSDKRelease/res/drawable/com_facebook_button_blue_normal.9.png

380 Bytes

GameSDKRelease/res/drawable/com_facebook_button_blue_pressed.9.png

323 Bytes

GameSDKRelease/res/drawable/com_facebook_button_check.xml
... ... @@ -1,20 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
18   - <item android:state_checked="true" android:drawable="@drawable/com_facebook_button_check_on" />
19   - <item android:drawable="@drawable/com_facebook_button_check_off" />
20   -</selector>
GameSDKRelease/res/drawable/com_facebook_button_check_off.png

549 Bytes

GameSDKRelease/res/drawable/com_facebook_button_check_on.png

733 Bytes

GameSDKRelease/res/drawable/com_facebook_button_grey_focused.9.png

462 Bytes

GameSDKRelease/res/drawable/com_facebook_button_grey_normal.9.png

381 Bytes

GameSDKRelease/res/drawable/com_facebook_button_grey_pressed.9.png

303 Bytes

GameSDKRelease/res/drawable/com_facebook_close.png

4.3 KB

GameSDKRelease/res/drawable/com_facebook_inverse_icon.png

1.09 KB

GameSDKRelease/res/drawable/com_facebook_list_divider.9.png

76 Bytes

GameSDKRelease/res/drawable/com_facebook_list_section_header_background.9.png

153 Bytes

GameSDKRelease/res/drawable/com_facebook_loginbutton_silver.xml
... ... @@ -1,23 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<selector xmlns:android="http://schemas.android.com/apk/res/android" >
18   - <item android:state_pressed="true"
19   - android:drawable="@drawable/com_facebook_button_grey_pressed" />
20   - <item android:state_focused="true"
21   - android:drawable="@drawable/com_facebook_button_grey_focused" />
22   - <item android:drawable="@drawable/com_facebook_button_grey_normal" />
23   -</selector>
GameSDKRelease/res/drawable/com_facebook_logo.png

6.27 KB

GameSDKRelease/res/drawable/com_facebook_picker_item_background.xml
... ... @@ -1,26 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
18   -
19   - <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
20   - <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_disabled" />
21   - <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/com_facebook_picker_list_selector_disabled" />
22   - <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_background_transition" />
23   - <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_background_transition" />
24   - <item android:state_focused="true" android:drawable="@drawable/com_facebook_picker_list_focused" />
25   - <item android:drawable="@android:color/transparent" />
26   -</selector>
GameSDKRelease/res/drawable/com_facebook_picker_list_focused.9.png

158 Bytes

GameSDKRelease/res/drawable/com_facebook_picker_list_longpressed.9.png

151 Bytes

GameSDKRelease/res/drawable/com_facebook_picker_list_pressed.9.png

158 Bytes

GameSDKRelease/res/drawable/com_facebook_picker_list_selector.xml
... ... @@ -1,27 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
18   -
19   - <item android:state_window_focused="false" android:drawable="@android:color/transparent" />
20   -
21   - <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_disabled" />
22   - <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/com_facebook_picker_list_selector_disabled" />
23   - <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_background_transition" />
24   - <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/com_facebook_picker_list_selector_background_transition" />
25   - <item android:state_focused="true" android:drawable="@drawable/com_facebook_picker_list_focused" />
26   -
27   -</selector>
GameSDKRelease/res/drawable/com_facebook_picker_list_selector_background_transition.xml
... ... @@ -1,20 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!-- Copyright (C) 2010 The Android Open Source Project
3   -
4   - Licensed under the Apache License, Version 2.0 (the "License");
5   - you may not use this file except in compliance with the License.
6   - You may obtain a copy of the License at
7   -
8   - http://www.apache.org/licenses/LICENSE-2.0
9   -
10   - Unless required by applicable law or agreed to in writing, software
11   - distributed under the License is distributed on an "AS IS" BASIS,
12   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   - See the License for the specific language governing permissions and
14   - limitations under the License.
15   --->
16   -
17   -<transition xmlns:android="http://schemas.android.com/apk/res/android">
18   - <item android:drawable="@drawable/com_facebook_picker_list_pressed" />
19   - <item android:drawable="@drawable/com_facebook_picker_list_longpressed" />
20   -</transition>
GameSDKRelease/res/drawable/com_facebook_picker_list_selector_disabled.9.png

171 Bytes

GameSDKRelease/res/drawable/com_facebook_picker_top_button.xml
... ... @@ -1,22 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<shape xmlns:android="http://schemas.android.com/apk/res/android">
18   - <gradient
19   - android:startColor="#3f5b96"
20   - android:endColor="#2d4984"
21   - android:angle="270"/>
22   -</shape>
GameSDKRelease/res/drawable/com_facebook_place_default_icon.png

813 Bytes

GameSDKRelease/res/drawable/com_facebook_profile_default_icon.png

358 Bytes

GameSDKRelease/res/drawable/com_facebook_profile_picture_blank_portrait.png

3.85 KB

GameSDKRelease/res/drawable/com_facebook_profile_picture_blank_square.png

3.7 KB

GameSDKRelease/res/drawable/com_facebook_top_background.xml
... ... @@ -1,22 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<shape xmlns:android="http://schemas.android.com/apk/res/android">
18   - <gradient
19   - android:startColor="#FF5975b0"
20   - android:endColor="#FF47639e"
21   - android:angle="270"/>
22   -</shape>
GameSDKRelease/res/drawable/com_facebook_top_button.xml
... ... @@ -1,27 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
19   - <item android:state_pressed="true"
20   - android:drawable="@drawable/com_facebook_picker_top_button" />
21   - <item android:state_focused="true"
22   - android:drawable="@drawable/com_facebook_picker_top_button" />
23   - <item android:state_selected="true"
24   - android:drawable="@drawable/com_facebook_picker_top_button" />
25   - <item
26   - android:drawable="@drawable/com_facebook_top_background" />
27   -</selector>
GameSDKRelease/res/drawable/com_facebook_usersettingsfragment_background_gradient.xml
... ... @@ -1,23 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
18   - <gradient
19   - android:startColor="#5774B5"
20   - android:endColor="#2C4988"
21   - android:gradientRadius="495"
22   - android:type="radial"/>
23   -</shape>
GameSDKRelease/res/drawable/et_bg.xml
... ... @@ -1,21 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
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="2dp" />
20   -
21   -</shape>
22 0 \ No newline at end of file
GameSDKRelease/res/drawable/log.png

9.56 KB

GameSDKRelease/res/drawable/payment_bg.xml
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
3   -
4   - <item android:drawable="@drawable/payment_bg_selected" android:state_selected="true"/>
5   - <item android:drawable="@drawable/payment_bg_normal"/>
6   -
7   -</selector>
8 0 \ No newline at end of file
GameSDKRelease/res/drawable/r_bg.xml
... ... @@ -1,7 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<selector xmlns:android="http://schemas.android.com/apk/res/android">
3   -
4   - <item android:drawable="@drawable/r_bg_selected" android:state_checked="true"/>
5   - <item android:drawable="@drawable/r_bg_normal"/>
6   -
7   -</selector>
8 0 \ No newline at end of file
GameSDKRelease/res/layout/com_facebook_friendpickerfragment.xml
... ... @@ -1,44 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19   - android:layout_width="fill_parent"
20   - android:layout_height="fill_parent"
21   - android:background="#FFFFFF">
22   -
23   - <include layout="@layout/com_facebook_picker_title_bar_stub"/>
24   -
25   - <ListView
26   - android:id="@+id/com_facebook_picker_list_view"
27   - android:layout_width="fill_parent"
28   - android:layout_height="fill_parent"
29   - android:divider="@drawable/com_facebook_list_divider"
30   - android:fastScrollEnabled="true"
31   - android:scrollbars="vertical"
32   - android:listSelector="@drawable/com_facebook_picker_list_selector"
33   - android:cacheColorHint="#FFFFFF"
34   - />
35   -
36   - <ProgressBar android:indeterminate="true"
37   - android:layout_width="wrap_content"
38   - android:layout_height="wrap_content"
39   - android:id="@+id/com_facebook_picker_activity_circle"
40   - style="@android:style/Widget.ProgressBar"
41   - android:layout_centerInParent="true"
42   - android:visibility="invisible"
43   - />
44   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_login_activity_layout.xml
... ... @@ -1,15 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -
3   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
4   - android:layout_width="fill_parent"
5   - android:layout_height="fill_parent">
6   -
7   - <ProgressBar android:indeterminate="true"
8   - android:layout_width="wrap_content"
9   - android:layout_height="50dip"
10   - android:id="@+id/com_facebook_login_activity_progress_bar"
11   - android:layout_centerInParent="true"
12   - android:visibility="gone"
13   - android:indeterminateOnly="true"
14   - />
15   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_picker_activity_circle_row.xml
... ... @@ -1,32 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<RelativeLayout
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:layout_height="50dip"
21   - android:layout_width="fill_parent"
22   - >
23   - <ProgressBar android:indeterminate="true"
24   - android:layout_width="wrap_content"
25   - android:layout_height="50dip"
26   - android:id="@+id/com_facebook_picker_row_activity_circle"
27   - style="@android:style/Widget.ProgressBar.Small"
28   - android:layout_centerInParent="true"
29   - android:visibility="visible"
30   - android:indeterminateOnly="true"
31   - />
32   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_picker_checkbox.xml
... ... @@ -1,25 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<CheckBox
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:id="@+id/com_facebook_picker_checkbox"
21   - android:layout_width="23dip"
22   - android:layout_height="23dip"
23   - android:focusable="false"
24   - android:clickable="false"
25   - android:button="@drawable/com_facebook_button_check" />
GameSDKRelease/res/layout/com_facebook_picker_image.xml
... ... @@ -1,24 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<ImageView
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:id="@+id/com_facebook_picker_image"
21   - android:layout_width="50dip"
22   - android:layout_height="50dip"
23   - android:layout_gravity="center_vertical"
24   - android:src="@drawable/com_facebook_profile_default_icon" />
GameSDKRelease/res/layout/com_facebook_picker_list_row.xml
... ... @@ -1,48 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<LinearLayout
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:layout_height="wrap_content"
21   - android:layout_width="fill_parent"
22   - >
23   - <ViewStub
24   - android:id="@+id/com_facebook_picker_profile_pic_stub"
25   - android:inflatedId="@+id/com_facebook_picker_image"
26   - android:layout="@layout/com_facebook_picker_image"
27   - android:layout_width="50dip"
28   - android:layout_height="50dip" />
29   - <TextView
30   - android:id="@+id/com_facebook_picker_title"
31   - android:layout_width="100dip"
32   - android:layout_height="50dip"
33   - android:layout_weight="1.0"
34   - android:paddingLeft="5dip"
35   - android:textStyle="bold"
36   - android:textColor="#000000"
37   - android:singleLine="true"
38   - android:ellipsize="end"
39   - android:textSize="18sp"
40   - android:gravity="left|center_vertical"/>
41   - <ViewStub
42   - android:id="@+id/com_facebook_picker_checkbox_stub"
43   - android:inflatedId="@+id/com_facebook_picker_checkbox"
44   - android:layout="@layout/com_facebook_picker_checkbox"
45   - android:layout_width="23dip"
46   - android:layout_height="23dip"
47   - android:layout_marginRight="10dip"/>
48   -</LinearLayout>
GameSDKRelease/res/layout/com_facebook_picker_list_section_header.xml
... ... @@ -1,34 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<TextView
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:id="@+id/com_facebook_picker_list_section_header"
21   - android:layout_width="fill_parent"
22   - android:layout_height="wrap_content"
23   - android:textStyle="bold"
24   - android:background="@drawable/com_facebook_list_section_header_background"
25   - android:orientation="horizontal"
26   - android:gravity="left|center_vertical"
27   - android:textColor="#68768a"
28   - android:textSize="17sp"
29   - android:paddingLeft="8dip"
30   - android:paddingBottom="0px"
31   - android:shadowDx="1"
32   - android:shadowDy="1"
33   - android:shadowRadius="1"
34   - android:shadowColor="#BFFFFFFF" />
GameSDKRelease/res/layout/com_facebook_picker_search_box.xml
... ... @@ -1,29 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19   - android:layout_width="match_parent"
20   - android:layout_height="wrap_content"
21   - android:orientation="vertical"
22   - >
23   - <include layout="@layout/com_facebook_search_bar_layout" />
24   - <View
25   - android:layout_width="match_parent"
26   - android:layout_height="@dimen/com_facebook_picker_divider_width"
27   - android:background="@drawable/com_facebook_picker_default_separator_color"
28   - />
29   -</LinearLayout>
GameSDKRelease/res/layout/com_facebook_picker_title_bar.xml
... ... @@ -1,63 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19   - android:id="@+id/com_facebook_picker_top_bar"
20   - android:layout_width="fill_parent"
21   - android:layout_height="48dp"
22   - android:background="@drawable/com_facebook_top_background"
23   - android:gravity="right">
24   - <Button
25   - android:id="@+id/com_facebook_picker_done_button"
26   - android:layout_width="wrap_content"
27   - android:minWidth="55dp"
28   - android:layout_height="48dp"
29   - android:background="@drawable/com_facebook_top_button"
30   - android:paddingLeft="5dip"
31   - android:paddingRight="5dip"
32   - android:textColor="#ffffff"
33   - android:textSize="14sp"
34   - android:shadowColor="#66000000"
35   - android:shadowDx="1"
36   - android:shadowDy="1"
37   - android:shadowRadius="1"
38   - android:layout_alignParentRight="true"
39   - />
40   - <LinearLayout
41   - android:id="@+id/com_facebook_picker_divider"
42   - android:layout_width="1dp"
43   - android:layout_height="fill_parent"
44   - android:background="#40000000"
45   - android:layout_alignLeft="@id/com_facebook_picker_done_button"/>
46   - <TextView
47   - android:id="@+id/com_facebook_picker_title"
48   - android:layout_width="fill_parent"
49   - android:layout_height="fill_parent"
50   - android:textSize="22sp"
51   - android:textColor="#FFFFFF"
52   - android:gravity="left|center_vertical"
53   - android:ellipsize="end"
54   - android:singleLine="true"
55   - android:scaleType="center"
56   - android:shadowColor="#66000000"
57   - android:shadowDx="1"
58   - android:shadowDy="1"
59   - android:shadowRadius="1"
60   - android:layout_marginLeft="10dip"
61   - android:layout_marginRight="10dip"
62   - android:layout_toLeftOf="@id/com_facebook_picker_divider"/>
63   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_picker_title_bar_stub.xml
... ... @@ -1,25 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<merge xmlns:android="http://schemas.android.com/apk/res/android">
19   - <ViewStub android:id="@+id/com_facebook_picker_title_bar_stub"
20   - android:inflatedId="@+id/com_facebook_picker_title_bar"
21   - android:layout="@layout/com_facebook_picker_title_bar"
22   - android:layout_height="48dip"
23   - android:layout_width="fill_parent"/>
24   -
25   -</merge>
GameSDKRelease/res/layout/com_facebook_placepickerfragment.xml
... ... @@ -1,47 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19   - android:layout_width="fill_parent"
20   - android:layout_height="fill_parent"
21   - android:background="#FFFFFF"
22   - android:descendantFocusability="beforeDescendants"
23   - android:focusableInTouchMode="true">
24   -
25   - <include layout="@layout/com_facebook_picker_title_bar_stub"/>
26   -
27   - <ListView
28   - android:id="@+id/com_facebook_picker_list_view"
29   - android:layout_width="fill_parent"
30   - android:layout_height="fill_parent"
31   - android:layout_alignParentTop="true"
32   - android:divider="@null"
33   - android:fastScrollEnabled="true"
34   - android:scrollbars="vertical"
35   - android:listSelector="@drawable/com_facebook_picker_list_selector"
36   - android:cacheColorHint="#FFFFFF"
37   - />
38   -
39   - <ProgressBar android:indeterminate="true"
40   - android:layout_width="wrap_content"
41   - android:layout_height="wrap_content"
42   - android:id="@+id/com_facebook_picker_activity_circle"
43   - style="@android:style/Widget.ProgressBar"
44   - android:layout_centerInParent="true"
45   - android:visibility="invisible"
46   - />
47   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_placepickerfragment_list_row.xml
... ... @@ -1,90 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<RelativeLayout
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - android:layout_height="wrap_content"
21   - android:layout_width="match_parent"
22   - android:focusable="false">
23   - <LinearLayout
24   - android:layout_width="match_parent"
25   - android:layout_height="wrap_content"
26   - android:orientation="horizontal"
27   - android:focusable="false"
28   - >
29   - <FrameLayout
30   - android:layout_width="80dp"
31   - android:layout_height="wrap_content"
32   - >
33   - <ViewStub
34   - android:id="@+id/com_facebook_picker_profile_pic_stub"
35   - android:inflatedId="@+id/com_facebook_picker_image"
36   - android:layout="@layout/com_facebook_picker_image"
37   - android:layout_gravity="left|center_vertical"
38   - android:layout_width="@dimen/com_facebook_picker_place_image_size"
39   - android:layout_height="@dimen/com_facebook_picker_place_image_size" />
40   - </FrameLayout>
41   - <LinearLayout
42   - android:orientation="vertical"
43   - android:focusable="false"
44   - android:layout_width="0dip"
45   - android:layout_height="wrap_content"
46   - android:layout_marginRight="16dp"
47   - android:layout_gravity="center_vertical"
48   - android:layout_weight="1">
49   - <TextView
50   - android:id="@+id/com_facebook_picker_title"
51   - android:layout_width="fill_parent"
52   - android:layout_height="wrap_content"
53   - android:layout_weight="1.0"
54   - android:ellipsize="end"
55   - android:singleLine="true"
56   - android:typeface="sans"
57   - android:textColor="#000000"
58   - android:lines="1"
59   - android:textSize="16sp"
60   - android:gravity="left|center_vertical"/>
61   - <TextView
62   - android:id="@+id/picker_subtitle"
63   - android:layout_width="fill_parent"
64   - android:layout_height="wrap_content"
65   - android:layout_weight="1.0"
66   - android:ellipsize="end"
67   - android:singleLine="true"
68   - android:textColor="#666666"
69   - android:lines="1"
70   - android:typeface="sans"
71   - android:textSize="12sp"
72   - android:gravity="left|center_vertical"/>
73   - </LinearLayout>
74   - <!--ViewStub
75   - android:id="@+id/checkbox_stub"
76   - android:inflatedId="@+id/picker_checkbox"
77   - android:layout="@layout/checkbox_layout"
78   - android:layout_width="23dip"
79   - android:layout_height="23dip"
80   - android:layout_marginRight="10dip"/-->
81   - </LinearLayout>
82   - <View
83   - android:layout_width="0dp"
84   - android:layout_height="@dimen/com_facebook_picker_divider_width"
85   - android:layout_alignParentLeft="true"
86   - android:layout_alignParentRight="true"
87   - android:layout_alignParentBottom="true"
88   - android:background="@drawable/com_facebook_picker_default_separator_color"
89   - />
90   -</RelativeLayout>
GameSDKRelease/res/layout/com_facebook_search_bar_layout.xml
... ... @@ -1,31 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -
3   -<LinearLayout
4   - xmlns:android="http://schemas.android.com/apk/res/android"
5   - android:id="@+id/com_facebook_search_bar_view"
6   - android:orientation="horizontal"
7   - android:layout_width="match_parent"
8   - android:layout_height="wrap_content"
9   - android:paddingTop="0dp"
10   - android:paddingBottom="0dp"
11   - android:paddingLeft="5dp"
12   - android:paddingRight="5dp"
13   - android:background="@color/com_facebook_picker_search_bar_background"
14   - >
15   - <EditText
16   - android:id="@+id/com_facebook_picker_search_text"
17   - android:layout_width="match_parent"
18   - android:layout_height="48dp"
19   - android:layout_marginLeft="5dp"
20   - android:singleLine="true"
21   - android:layout_gravity="center"
22   - android:gravity="center_vertical"
23   - android:textSize="16dp"
24   - android:textColor="@android:color/black"
25   - android:textColorHint="@color/com_facebook_picker_search_bar_text"
26   - android:background="@color/com_facebook_picker_search_bar_background"
27   - android:drawableLeft="@drawable/com_facebook_picker_magnifier"
28   - android:drawablePadding="5dp"
29   - android:imeOptions="actionDone"
30   - />
31   -</LinearLayout>
32 0 \ No newline at end of file
GameSDKRelease/res/layout/com_facebook_usersettingsfragment.xml
... ... @@ -1,59 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<ScrollView
19   - xmlns:android="http://schemas.android.com/apk/res/android"
20   - xmlns:loginView="http://schemas.android.com/apk/res-auto"
21   - android:layout_width="fill_parent"
22   - android:layout_height="fill_parent"
23   - android:background="@drawable/com_facebook_usersettingsfragment_background_gradient" >
24   - <LinearLayout
25   - android:layout_width="fill_parent"
26   - android:layout_height="fill_parent"
27   - android:orientation="vertical">
28   -
29   - <ImageView
30   - android:id="@+id/com_facebook_usersettingsfragment_logo_image"
31   - android:layout_width="193dp"
32   - android:layout_height="44dp"
33   - android:layout_gravity="center_horizontal"
34   - android:src="@drawable/com_facebook_logo"
35   - android:layout_marginTop="35dp"
36   - android:contentDescription="@string/com_facebook_logo_content_description"/>
37   -
38   - <TextView
39   - android:id="@+id/com_facebook_usersettingsfragment_profile_name"
40   - android:layout_width="fill_parent"
41   - android:layout_height="100dp"
42   - android:lines="1"
43   - android:textSize="16sp"
44   - android:textStyle="bold"
45   - android:layout_marginTop="35dp"
46   - android:gravity="center"/>
47   -
48   - <com.facebook.widget.LoginButton
49   - android:id="@+id/com_facebook_usersettingsfragment_login_button"
50   - android:layout_width="wrap_content"
51   - android:layout_height="wrap_content"
52   - android:layout_gravity="center_horizontal"
53   - android:layout_marginTop="35dp"
54   - android:layout_marginBottom="35dp"
55   - loginView:login_text="@string/com_facebook_usersettingsfragment_log_in_button"
56   - style="@style/com_facebook_loginview_silver_style" />
57   -
58   - </LinearLayout>
59   -</ScrollView>
GameSDKRelease/res/layout/container.xml
... ... @@ -1,18 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
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="wrap_content"
13   - android:layout_height="wrap_content"
14   - android:orientation="vertical" >
15   -
16   - </LinearLayout>
17   -
18   -</LinearLayout>
19 0 \ No newline at end of file
GameSDKRelease/res/layout/ex_win.xml
... ... @@ -1,23 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="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>
24 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_bind.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="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:background="@android:color/white"
11   - android:minWidth="293dp"
12   - android:orientation="vertical" >
13   -
14   - <EditText
15   - android:id="@+id/username"
16   - android:layout_width="match_parent"
17   - android:layout_height="wrap_content"
18   - android:layout_margin="10dp"
19   - android:background="@drawable/et_bg"
20   - android:imeOptions="flagNoExtractUi"
21   - android:hint="@string/user_name_hint" />
22   -
23   - <EditText
24   - android:id="@+id/pwd"
25   - android:layout_width="match_parent"
26   - android:layout_height="wrap_content"
27   - android:layout_margin="10dp"
28   - android:background="@drawable/et_bg"
29   - android:imeOptions="flagNoExtractUi"
30   - android:hint="@string/password_hint"
31   - android:inputType="textPassword" />
32   -
33   - <Button
34   - android:id="@+id/bind"
35   - android:layout_width="match_parent"
36   - android:layout_height="wrap_content"
37   - android:layout_margin="8dp"
38   - android:background="@drawable/btn_orange"
39   - android:padding="5dp"
40   - android:text="@string/bind"
41   - android:textColor="@android:color/white"
42   - android:textSize="16sp" />
43   - </LinearLayout>
44   -
45   -</ScrollView>
46 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_gp.xml
... ... @@ -1,154 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="match_parent"
4   - android:layout_height="match_parent" >
5   -
6   - <LinearLayout
7   - android:layout_width="match_parent"
8   - android:layout_height="wrap_content"
9   - android:orientation="vertical" >
10   -
11   - <TextView
12   - android:id="@+id/choice_title"
13   - android:layout_width="match_parent"
14   - android:layout_height="wrap_content"
15   - android:layout_marginLeft="13dp"
16   - android:layout_marginTop="10dp"
17   - android:text="@string/gp_choice_tip" />
18   -
19   - <com.gumptech.sdk.view.RadioGroup
20   - android:id="@+id/choices"
21   - android:layout_width="match_parent"
22   - android:layout_height="wrap_content" >
23   -
24   - <LinearLayout
25   - android:layout_width="match_parent"
26   - android:layout_height="wrap_content"
27   - android:layout_marginBottom="5dp"
28   - android:layout_marginTop="5dp"
29   - android:orientation="horizontal"
30   - android:paddingLeft="13dp"
31   - android:paddingRight="13dp" >
32   -
33   - <RadioButton
34   - android:id="@+id/choice1"
35   - android:layout_width="wrap_content"
36   - android:layout_height="wrap_content"
37   - android:layout_marginRight="13dp"
38   - android:layout_weight="1"
39   - android:background="@drawable/r_bg"
40   - android:button="@null"
41   - android:gravity="center"
42   - android:paddingBottom="10dp"
43   - android:paddingTop="10dp"
44   - android:text="110"
45   - android:textColor="@color/black_text"
46   - android:textSize="12sp" />
47   -
48   - <RadioButton
49   - android:id="@+id/choice2"
50   - android:layout_width="wrap_content"
51   - android:layout_height="wrap_content"
52   - android:layout_marginRight="13dp"
53   - android:layout_weight="1"
54   - android:background="@drawable/r_bg"
55   - android:button="@null"
56   - android:gravity="center"
57   - android:paddingBottom="10dp"
58   - android:paddingTop="10dp"
59   - android:text="2"
60   - android:textColor="@color/black_text"
61   - android:textSize="12sp" />
62   -
63   - <RadioButton
64   - android:id="@+id/choice3"
65   - android:layout_width="wrap_content"
66   - android:layout_height="wrap_content"
67   - android:layout_weight="1"
68   - android:background="@drawable/r_bg"
69   - android:button="@null"
70   - android:gravity="center"
71   - android:paddingBottom="10dp"
72   - android:paddingTop="10dp"
73   - android:text="3"
74   - android:textColor="@color/black_text"
75   - android:textSize="12sp" />
76   - </LinearLayout>
77   -
78   - <LinearLayout
79   - android:layout_width="match_parent"
80   - android:layout_height="wrap_content"
81   - android:orientation="horizontal"
82   - android:paddingLeft="13dp"
83   - android:paddingRight="13dp" >
84   -
85   - <RadioButton
86   - android:id="@+id/choice4"
87   - android:layout_width="wrap_content"
88   - android:layout_height="wrap_content"
89   - android:layout_marginRight="13dp"
90   - android:layout_weight="1"
91   - android:background="@drawable/r_bg"
92   - android:button="@null"
93   - android:gravity="center"
94   - android:paddingBottom="10dp"
95   - android:paddingTop="10dp"
96   - android:text="4"
97   - android:textColor="@color/black_text"
98   - android:textSize="12sp" />
99   -
100   - <RadioButton
101   - android:id="@+id/choice5"
102   - android:layout_width="wrap_content"
103   - android:layout_height="wrap_content"
104   - android:layout_marginRight="13dp"
105   - android:layout_weight="1"
106   - android:background="@drawable/r_bg"
107   - android:button="@null"
108   - android:gravity="center"
109   - android:paddingBottom="10dp"
110   - android:paddingTop="10dp"
111   - android:text="5"
112   - android:textColor="@color/black_text"
113   - android:textSize="12sp" />
114   -
115   - <RadioButton
116   - android:id="@+id/choice6"
117   - android:layout_width="wrap_content"
118   - android:layout_height="wrap_content"
119   - android:layout_weight="1"
120   - android:background="@drawable/r_bg"
121   - android:button="@null"
122   - android:gravity="center"
123   - android:paddingBottom="10dp"
124   - android:paddingTop="10dp"
125   - android:text="6"
126   - android:textColor="@color/black_text"
127   - android:textSize="12sp" />
128   - </LinearLayout>
129   - </com.gumptech.sdk.view.RadioGroup>
130   -
131   - <Button
132   - android:id="@+id/pay"
133   - android:layout_width="match_parent"
134   - android:layout_height="wrap_content"
135   - android:layout_marginLeft="13dp"
136   - android:layout_marginRight="13dp"
137   - android:layout_marginTop="10dp"
138   - android:background="@drawable/btn_orange"
139   - android:text="@string/pay_ok"
140   - android:textColor="@android:color/white" />
141   -
142   - <TextView
143   - android:id="@+id/intro"
144   - android:layout_width="match_parent"
145   - android:layout_height="wrap_content"
146   - android:layout_marginLeft="13dp"
147   - android:layout_marginRight="13dp"
148   - android:layout_marginTop="10dp"
149   - android:background="@color/common_gray"
150   - android:padding="8dp"
151   - android:textColor="@color/black_text" />
152   - </LinearLayout>
153   -
154   -</ScrollView>
155 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_login.xml
... ... @@ -1,85 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="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:background="@android:color/white"
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:imeOptions="flagNoExtractUi"
23   - android:hint="@string/user_name_hint" />
24   -
25   - <EditText
26   - android:id="@+id/password"
27   - android:layout_width="fill_parent"
28   - android:layout_height="wrap_content"
29   - android:layout_marginLeft="13dp"
30   - android:layout_marginRight="13dp"
31   - android:layout_marginTop="10dp"
32   - android:imeOptions="flagNoExtractUi"
33   - android:background="@drawable/et_bg"
34   - android:hint="@string/password_hint"
35   - android:inputType="textPassword" />
36   -
37   - <LinearLayout
38   - android:layout_width="match_parent"
39   - android:layout_height="wrap_content"
40   - android:layout_marginTop="13dp"
41   - android:gravity="center"
42   - android:orientation="horizontal" >
43   -
44   - <Button
45   - android:id="@+id/quick"
46   - android:layout_width="100dp"
47   - android:layout_height="wrap_content"
48   - android:layout_marginRight="13dp"
49   - android:background="@drawable/btn_orange"
50   - android:padding="5dp"
51   - android:text="@string/quick_login"
52   - android:textColor="@android:color/white"
53   - android:textSize="16sp" />
54   -
55   - <Button
56   - android:id="@+id/login"
57   - android:layout_width="100dp"
58   - android:layout_height="wrap_content"
59   - android:background="@drawable/btn_white_bg"
60   - android:padding="5dp"
61   - android:text="@string/login"
62   - android:textColor="@color/black_text"
63   - android:textSize="16sp" />
64   - </LinearLayout>
65   -
66   - <com.facebook.widget.LoginButton
67   - android:id="@+id/fb_login"
68   - android:layout_width="fill_parent"
69   - android:layout_height="wrap_content"
70   - android:layout_marginLeft="13dp"
71   - android:layout_marginRight="13dp"
72   - android:layout_marginTop="30dp"
73   - android:text="facebook login" />
74   -
75   - <TextView
76   - android:id="@+id/sign_up"
77   - android:layout_width="wrap_content"
78   - android:layout_height="wrap_content"
79   - android:layout_gravity="center_horizontal"
80   - android:layout_marginBottom="25dp"
81   - android:layout_marginTop="25dp"
82   - android:text="@string/signup" />
83   - </LinearLayout>
84   -
85   -</ScrollView>
86 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_mol.xml
... ... @@ -1,152 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="fill_parent"
4   - android:layout_height="wrap_content" >
5   -
6   - <LinearLayout
7   - android:layout_width="match_parent"
8   - android:layout_height="wrap_content"
9   - android:background="@android:color/white"
10   - android:minWidth="293dp"
11   - android:orientation="vertical" >
12   -
13   - <TextView
14   - android:layout_width="fill_parent"
15   - android:layout_height="wrap_content"
16   - android:layout_marginLeft="13dp"
17   - android:layout_marginTop="10dp"
18   - android:text="@string/mol_channel_title" />
19   -
20   - <RadioGroup
21   - android:id="@+id/cardGroup"
22   - android:layout_width="fill_parent"
23   - android:layout_height="wrap_content"
24   - android:layout_marginBottom="5dp"
25   - android:layout_marginTop="5dp"
26   - android:orientation="horizontal"
27   - android:paddingLeft="13dp"
28   - android:paddingRight="13dp" >
29   -
30   - <RadioButton
31   - android:id="@+id/radio12call"
32   - android:layout_width="fill_parent"
33   - android:layout_height="wrap_content"
34   - android:layout_marginRight="13dp"
35   - android:layout_weight="1"
36   - android:background="@drawable/r_bg"
37   - android:button="@null"
38   - android:checked="true"
39   - android:gravity="center"
40   - android:paddingBottom="10dp"
41   - android:paddingTop="10dp"
42   - android:text="@string/channel_12call"
43   - android:textColor="@color/black_text"
44   - android:textSize="12sp" />
45   -
46   - <RadioButton
47   - android:id="@+id/truemoney"
48   - android:layout_width="fill_parent"
49   - android:layout_height="wrap_content"
50   - android:layout_marginRight="13dp"
51   - android:layout_weight="1"
52   - android:background="@drawable/r_bg"
53   - android:button="@null"
54   - android:gravity="center"
55   - android:paddingBottom="10dp"
56   - android:paddingTop="10dp"
57   - android:text="@string/channel_truemoney"
58   - android:textColor="@color/black_text"
59   - android:textSize="12sp" />
60   -
61   - <RadioButton
62   - android:id="@+id/molpoint"
63   - android:layout_width="fill_parent"
64   - android:layout_height="wrap_content"
65   - android:layout_marginRight="13dp"
66   - android:layout_weight="1"
67   - android:background="@drawable/r_bg"
68   - android:button="@null"
69   - android:gravity="center"
70   - android:paddingBottom="10dp"
71   - android:paddingTop="10dp"
72   - android:text="@string/channel_molpoint"
73   - android:textColor="@color/black_text"
74   - android:textSize="12sp" />
75   -
76   - <RadioButton
77   - android:id="@+id/zest"
78   - android:layout_width="fill_parent"
79   - android:layout_height="wrap_content"
80   - android:layout_weight="1"
81   - android:background="@drawable/r_bg"
82   - android:button="@null"
83   - android:gravity="center"
84   - android:paddingBottom="10dp"
85   - android:paddingTop="10dp"
86   - android:text="@string/channel_zest"
87   - android:textColor="@color/black_text"
88   - android:textSize="12sp" />
89   - </RadioGroup>
90   -
91   - <LinearLayout
92   - android:layout_width="match_parent"
93   - android:layout_height="wrap_content"
94   - android:layout_marginTop="10dp"
95   - android:gravity="center_vertical"
96   - android:orientation="horizontal" >
97   -
98   - <EditText
99   - android:id="@+id/serial_no"
100   - android:layout_width="match_parent"
101   - android:layout_height="wrap_content"
102   - android:layout_marginLeft="13dp"
103   - android:layout_weight="1"
104   - android:background="@drawable/et_bg"
105   - android:hint="@string/mol_card_hint"
106   - android:visibility="gone" />
107   -
108   - <View
109   - android:layout_width="match_parent"
110   - android:layout_height="wrap_content"
111   - android:layout_weight="3" />
112   - </LinearLayout>
113   -
114   - <LinearLayout
115   - android:layout_width="match_parent"
116   - android:layout_height="wrap_content"
117   - android:layout_marginTop="10dp"
118   - android:gravity="center_vertical"
119   - android:orientation="horizontal" >
120   -
121   - <EditText
122   - android:id="@+id/passwd"
123   - android:layout_width="match_parent"
124   - android:layout_height="wrap_content"
125   - android:layout_marginLeft="13dp"
126   - android:layout_weight="1"
127   - android:background="@drawable/et_bg"
128   - android:hint="@string/mol_pass_hint" />
129   -
130   - <Button
131   - android:id="@+id/submit"
132   - android:layout_width="match_parent"
133   - android:layout_height="wrap_content"
134   - android:layout_marginLeft="13dp"
135   - android:layout_marginRight="13dp"
136   - android:layout_weight="3"
137   - android:background="@drawable/btn_orange"
138   - android:text="@string/pay_ok"
139   - android:textColor="@android:color/white" />
140   - </LinearLayout>
141   -
142   - <TextView
143   - android:id="@+id/intro"
144   - android:layout_width="match_parent"
145   - android:layout_height="wrap_content"
146   - android:layout_margin="10dp"
147   - android:background="@color/common_gray"
148   - android:padding="8dp"
149   - android:textColor="@color/black_text" />
150   - </LinearLayout>
151   -
152   -</ScrollView>
153 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_paypal.xml
... ... @@ -1,174 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="match_parent"
4   - android:layout_height="match_parent" >
5   -
6   - <LinearLayout
7   - android:layout_width="match_parent"
8   - android:layout_height="match_parent"
9   - android:orientation="vertical" >
10   -
11   - <TextView
12   - android:id="@+id/choice_title"
13   - android:layout_width="match_parent"
14   - android:layout_height="wrap_content"
15   - android:layout_marginLeft="13dp"
16   - android:layout_marginTop="10dp"
17   - android:text="@string/paypal_choice_tip" />
18   -
19   - <com.gumptech.sdk.view.RadioGroup
20   - android:id="@+id/choices"
21   - android:layout_width="match_parent"
22   - android:layout_height="wrap_content" >
23   -
24   - <LinearLayout
25   - android:layout_width="match_parent"
26   - android:layout_height="wrap_content"
27   - android:layout_marginBottom="5dp"
28   - android:layout_marginTop="5dp"
29   - android:orientation="horizontal"
30   - android:paddingLeft="13dp"
31   - android:paddingRight="13dp" >
32   -
33   - <RadioButton
34   - android:id="@+id/choice1"
35   - android:layout_width="fill_parent"
36   - android:layout_height="wrap_content"
37   - android:layout_marginRight="13dp"
38   - android:layout_weight="1"
39   - android:background="@drawable/r_bg"
40   - android:button="@null"
41   - android:gravity="center"
42   - android:paddingBottom="10dp"
43   - android:paddingTop="10dp"
44   - android:text="110"
45   - android:textColor="@color/black_text"
46   - android:textSize="12sp" />
47   -
48   - <RadioButton
49   - android:id="@+id/choice2"
50   - android:layout_width="fill_parent"
51   - android:layout_height="wrap_content"
52   - android:layout_marginRight="13dp"
53   - android:layout_weight="1"
54   - android:background="@drawable/r_bg"
55   - android:button="@null"
56   - android:gravity="center"
57   - android:paddingBottom="10dp"
58   - android:paddingTop="10dp"
59   - android:text="2"
60   - android:textColor="@color/black_text"
61   - android:textSize="12sp" />
62   -
63   - <RadioButton
64   - android:id="@+id/choice3"
65   - android:layout_width="fill_parent"
66   - android:layout_height="wrap_content"
67   - android:layout_weight="1"
68   - android:background="@drawable/r_bg"
69   - android:button="@null"
70   - android:gravity="center"
71   - android:paddingBottom="10dp"
72   - android:paddingTop="10dp"
73   - android:text="3"
74   - android:textColor="@color/black_text"
75   - android:textSize="12sp" />
76   - </LinearLayout>
77   -
78   - <LinearLayout
79   - android:layout_width="match_parent"
80   - android:layout_height="wrap_content"
81   - android:orientation="horizontal"
82   - android:paddingLeft="13dp"
83   - android:paddingRight="13dp" >
84   -
85   - <RadioButton
86   - android:id="@+id/choice4"
87   - android:layout_width="fill_parent"
88   - android:layout_height="wrap_content"
89   - android:layout_marginRight="13dp"
90   - android:layout_weight="1"
91   - android:background="@drawable/r_bg"
92   - android:button="@null"
93   - android:gravity="center"
94   - android:paddingBottom="10dp"
95   - android:paddingTop="10dp"
96   - android:text="4"
97   - android:textColor="@color/black_text"
98   - android:textSize="12sp" />
99   -
100   - <RadioButton
101   - android:id="@+id/choice5"
102   - android:layout_width="fill_parent"
103   - android:layout_height="wrap_content"
104   - android:layout_marginRight="13dp"
105   - android:layout_weight="1"
106   - android:background="@drawable/r_bg"
107   - android:button="@null"
108   - android:gravity="center"
109   - android:paddingBottom="10dp"
110   - android:paddingTop="10dp"
111   - android:text="5"
112   - android:textColor="@color/black_text"
113   - android:textSize="12sp" />
114   -
115   - <RadioButton
116   - android:id="@+id/choice6"
117   - android:layout_width="fill_parent"
118   - android:layout_height="wrap_content"
119   - android:layout_weight="1"
120   - android:background="@drawable/r_bg"
121   - android:button="@null"
122   - android:gravity="center"
123   - android:paddingBottom="10dp"
124   - android:paddingTop="10dp"
125   - android:text="6"
126   - android:textColor="@color/black_text"
127   - android:textSize="12sp" />
128   - </LinearLayout>
129   - </com.gumptech.sdk.view.RadioGroup>
130   -
131   - <LinearLayout
132   - android:layout_width="match_parent"
133   - android:layout_height="wrap_content"
134   - android:layout_marginLeft="13dp"
135   - android:layout_marginRight="13dp"
136   - android:layout_marginTop="10dp"
137   - android:gravity="center_vertical"
138   - android:orientation="horizontal" >
139   -
140   - <EditText
141   - android:id="@+id/amount"
142   - android:layout_width="match_parent"
143   - android:layout_height="wrap_content"
144   - android:layout_weight="1"
145   - android:background="@drawable/et_bg"
146   - android:hint="@string/paypal_amount_hint"
147   - android:imeOptions="flagNoExtractUi"
148   - android:inputType="number" />
149   -
150   - <Button
151   - android:id="@+id/pay"
152   - android:layout_width="match_parent"
153   - android:layout_height="wrap_content"
154   - android:layout_marginLeft="13dp"
155   - android:layout_weight="3"
156   - android:background="@drawable/btn_orange"
157   - android:text="@string/pay_ok"
158   - android:textColor="@android:color/white" />
159   - </LinearLayout>
160   -
161   - <TextView
162   - android:id="@+id/intro"
163   - android:layout_width="match_parent"
164   - android:layout_height="wrap_content"
165   - android:layout_marginBottom="10dp"
166   - android:layout_marginLeft="13dp"
167   - android:layout_marginRight="13dp"
168   - android:layout_marginTop="10dp"
169   - android:background="@color/common_gray"
170   - android:padding="8dp"
171   - android:textColor="@color/black_text" />
172   - </LinearLayout>
173   -
174   -</ScrollView>
175 0 \ No newline at end of file
GameSDKRelease/res/layout/fragment_signup.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="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:background="@android:color/white"
11   - android:minWidth="293dp"
12   - android:orientation="vertical" >
13   -
14   - <EditText
15   - android:id="@+id/username"
16   - android:layout_width="match_parent"
17   - android:layout_height="wrap_content"
18   - android:layout_margin="10dp"
19   - android:background="@drawable/et_bg"
20   - android:imeOptions="flagNoExtractUi"
21   - android:hint="@string/user_name_hint" />
22   -
23   - <EditText
24   - android:id="@+id/pwd"
25   - android:layout_width="match_parent"
26   - android:layout_height="wrap_content"
27   - android:layout_margin="10dp"
28   - android:background="@drawable/et_bg"
29   - android:hint="@string/password_hint"
30   - android:imeOptions="flagNoExtractUi"
31   - android:inputType="textPassword" />
32   -
33   - <Button
34   - android:id="@+id/signup"
35   - android:layout_width="match_parent"
36   - android:layout_height="wrap_content"
37   - android:layout_margin="8dp"
38   - android:background="@drawable/btn_orange"
39   - android:padding="5dp"
40   - android:text="@string/signup"
41   - android:textColor="@android:color/white"
42   - android:textSize="16sp" />
43   - </LinearLayout>
44   -
45   -</ScrollView>
46 0 \ No newline at end of file
GameSDKRelease/res/layout/pay_container.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
4   - android:layout_height="wrap_content"
5   - android:background="@android:color/white"
6   - android:orientation="vertical" >
7   -
8   - <include layout="@layout/title" />
9   -
10   - <TabHost
11   - android:id="@android:id/tabhost"
12   - android:layout_width="match_parent"
13   - android:layout_height="match_parent" >
14   -
15   - <LinearLayout
16   - android:layout_width="match_parent"
17   - android:layout_height="match_parent"
18   - android:orientation="vertical" >
19   -
20   - <TabWidget
21   - android:id="@android:id/tabs"
22   - android:layout_width="match_parent"
23   - android:layout_height="wrap_content"
24   - android:background="@android:color/white"
25   - android:clipChildren="false"
26   - android:clipToPadding="false"
27   - android:divider="@null"
28   - android:orientation="horizontal" >
29   - </TabWidget>
30   -
31   - <FrameLayout
32   - android:id="@android:id/tabcontent"
33   - android:layout_width="wrap_content"
34   - android:layout_height="wrap_content"
35   - android:visibility="gone" >
36   - </FrameLayout>
37   -
38   - <android.support.v4.view.ViewPager
39   - android:id="@+id/pager"
40   - android:layout_width="match_parent"
41   - android:layout_height="wrap_content" />
42   - </LinearLayout>
43   - </TabHost>
44   -
45   -</LinearLayout>
46 0 \ No newline at end of file
GameSDKRelease/res/layout/tab_indicator.xml
... ... @@ -1,15 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
4   - android:layout_height="38dp"
5   - android:background="@drawable/payment_bg"
6   - android:padding="0dp" >
7   -
8   - <ImageView
9   - android:id="@+id/icon"
10   - android:layout_width="match_parent"
11   - android:layout_height="wrap_content"
12   - android:layout_centerInParent="true"
13   - android:src="@drawable/tag_gp" />
14   -
15   -</RelativeLayout>
16 0 \ No newline at end of file
GameSDKRelease/res/layout/title.xml
... ... @@ -1,56 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="match_parent"
4   - android:layout_height="50dp"
5   - android:background="@android:color/white" >
6   -
7   - <ImageView
8   - android:id="@+id/btn_back"
9   - android:layout_width="wrap_content"
10   - android:layout_height="wrap_content"
11   - android:layout_alignParentLeft="true"
12   - android:layout_centerVertical="true"
13   - android:layout_marginLeft="10dp"
14   - android:src="@drawable/btn_back" />
15   -
16   - <TextView
17   - android:id="@+id/up_txt"
18   - android:layout_width="wrap_content"
19   - android:layout_height="wrap_content"
20   - android:layout_centerVertical="true"
21   - android:layout_toRightOf="@id/btn_back"
22   - android:textColor="@color/black_text"
23   - android:textSize="18sp"
24   - android:visibility="gone" />
25   -
26   - <ImageView
27   - android:id="@+id/log"
28   - android:layout_width="wrap_content"
29   - android:layout_height="30dp"
30   - android:layout_centerInParent="true"
31   - android:src="@drawable/log" />
32   -
33   - <TextView
34   - android:id="@+id/title"
35   - android:layout_width="wrap_content"
36   - android:layout_height="wrap_content"
37   - android:layout_centerInParent="true"
38   - android:textColor="@android:color/black"
39   - android:textSize="18sp" />
40   -
41   - <ImageView
42   - android:id="@+id/btn_cancel"
43   - android:layout_width="wrap_content"
44   - android:layout_height="wrap_content"
45   - android:layout_alignParentRight="true"
46   - android:layout_centerVertical="true"
47   - android:layout_margin="10dp"
48   - android:src="@drawable/btn_cancel" />
49   -
50   - <View
51   - android:layout_width="fill_parent"
52   - android:layout_height="1dp"
53   - android:layout_alignParentBottom="true"
54   - android:background="@color/line" />
55   -
56   -</RelativeLayout>
57 0 \ No newline at end of file
GameSDKRelease/res/values-es/strings.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<resources>
19   - <string name="com_facebook_dialogloginactivity_ok_button">Aceptar</string>
20   - <string name="com_facebook_loginview_log_out_button">Cerrar sesión</string>
21   - <!--string name="com_facebook_loginview_log_in_button">Iniciar sesión con Facebook</string-->
22   - <string name="com_facebook_loginview_log_in_button">Sign up with Facebook</string>
23   - <string name="com_facebook_loginview_logged_in_as">Sesión iniciada como: %1$s</string>
24   - <string name="com_facebook_loginview_logged_in_using_facebook">Sesión iniciada con Facebook</string>
25   - <string name="com_facebook_loginview_log_out_action">Cerrar sesión</string>
26   - <string name="com_facebook_loginview_cancel_action">Cancelar</string>
27   - <string name="com_facebook_logo_content_description">Logo de Facebook</string>
28   - <string name="com_facebook_usersettingsfragment_log_in_button">Iniciar sesión&#8230;</string>
29   - <string name="com_facebook_usersettingsfragment_logged_in">Sesión iniciada</string>
30   - <string name="com_facebook_usersettingsfragment_not_logged_in">No has iniciado sesión</string>
31   - <string name="com_facebook_placepicker_subtitle_format">%1$s • %2$,d estuvieron aquí</string>
32   - <string name="com_facebook_placepicker_subtitle_catetory_only_format">%1$s</string>
33   - <string name="com_facebook_placepicker_subtitle_were_here_only_format">es:%1$,d estuvieron aquí</string>
34   - <string name="com_facebook_picker_done_button_text">Aceptar</string>
35   - <string name="com_facebook_choose_friends">Elige Amigos</string>
36   - <string name="com_facebook_nearby">Cercano</string>
37   - <string name="com_facebook_loading">Cargando</string>
38   - <string name="com_facebook_internet_permission_error_title">Error de AndroidManifest</string>
39   - <string name="com_facebook_internet_permission_error_message">WebView inicio de sesión requiere permiso INTERNET</string>
40   - <string name="com_facebook_requesterror_web_login">Por favor, iniciar sesión a través https://www.facebook.com o https://m.facebook.com para volver a activar la aplicación para conectar con Facebook.</string>
41   - <string name="com_facebook_requesterror_relogin">La aplicación no se conecta con Facebook, inicie sesión y volver a conectar esta aplicación.</string>
42   - <string name="com_facebook_requesterror_password_changed">Su contraseña de Facebook ha cambiado, por favor vuelva a conectar la aplicación con Facebook.</string>
43   - <string name="com_facebook_requesterror_reconnect">Se produjo un error al conectar con Facebook, por favor vuelva a conectar la aplicación con Facebook.</string>
44   - <string name="com_facebook_requesterror_permissions">Una conexión de aplicación con Facebook falló debido a permisos insuficientes, por favor, conceda los permisos de aplicaciones para realizar la operación.</string>
45   -</resources>
GameSDKRelease/res/values-hdpi/dimens.xml
... ... @@ -1,4 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   - <dimen name="com_facebook_picker_divider_width">1px</dimen>
4   -</resources>
5 0 \ No newline at end of file
GameSDKRelease/res/values-he/strings.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<resources>
19   - <string name="com_facebook_loginview_log_out_button">התנתק</string>
20   - <!--string name="com_facebook_loginview_log_in_button">התחבר לפייסבוק</string-->
21   - <string name="com_facebook_loginview_log_in_button">Sign up with Facebook</string>
22   - <string name="com_facebook_loginview_logged_in_as">מחובר בשם: %1$s</string>
23   - <string name="com_facebook_loginview_logged_in_using_facebook">מחובר באמצעות פייסבוק</string>
24   - <string name="com_facebook_loginview_log_out_action">התנתק</string>
25   - <string name="com_facebook_loginview_cancel_action">בטל</string>
26   - <string name="com_facebook_logo_content_description">פייסבוק לוגו</string>
27   - <string name="com_facebook_usersettingsfragment_log_in_button">התחבר&#8230;</string>
28   - <string name="com_facebook_usersettingsfragment_logged_in">מחובר</string>
29   - <string name="com_facebook_usersettingsfragment_not_logged_in">לא מחובר</string>
30   - <string name="com_facebook_placepicker_subtitle_format">%1$s • %2$,d היו פה</string>
31   - <string name="com_facebook_placepicker_subtitle_catetory_only_format">%1$s</string>
32   - <string name="com_facebook_placepicker_subtitle_were_here_only_format">%1$,d היו פה</string>
33   - <string name="com_facebook_picker_done_button_text">בצע</string>
34   - <string name="com_facebook_choose_friends">בחר חברים</string>
35   - <string name="com_facebook_nearby">קרוב אליי</string>
36   - <string name="com_facebook_loading">..מעלה</string>
37   - <string name="com_facebook_internet_permission_error_title">AndroidManifest שגיאת</string>
38   - <string name="com_facebook_internet_permission_error_message">ההתחברות לתצוגת אתר דורשת אישור אינטרנט</string>
39   - <string name="com_facebook_requesterror_web_login">.כדי לאפשר מחדש לאפליקציה להתחבר עם פייסבוק https://www.facebook.com או https://m.facebook.com אנא היכנס דרך</string>
40   - <string name="com_facebook_requesterror_relogin">.האפליקציה אינה מחוברת לפייסבוק, אנא היכנס וחבר מחדש את האפליקציה</string>
41   - <string name="com_facebook_requesterror_password_changed">.הסיסמה שלך בפייסבוק השתנתה, אנא חבר מחדש את האפליקציה עם פייסבוק</string>
42   - <string name="com_facebook_requesterror_reconnect">.ארעה שגיאה בעת החיבור עם פייסבוק, חבר בבקשה מחדש את האפליקציה עם פייסבוק</string>
43   - <string name="com_facebook_requesterror_permissions">.חיבור האפליקציה עם פייסבוק נכשל בשל הרשאות לא מספקות, אנא הענק הרשאות לאפליקציה בכדי שהפעולה תוכל להתבצע</string>
44   - <string name="com_facebook_dialogloginactivity_ok_button">אישור</string>
45   -</resources>
GameSDKRelease/res/values-iw/strings.xml
... ... @@ -1,45 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<resources>
19   - <string name="com_facebook_loginview_log_out_button">התנתק</string>
20   - <!--string name="com_facebook_loginview_log_in_button">התחבר לפייסבוק</string-->
21   - <string name="com_facebook_loginview_log_in_button">Sign up with Facebook</string>
22   - <string name="com_facebook_loginview_logged_in_as">מחובר בשם: %1$s</string>
23   - <string name="com_facebook_loginview_logged_in_using_facebook">מחובר באמצעות פייסבוק</string>
24   - <string name="com_facebook_loginview_log_out_action">התנתק</string>
25   - <string name="com_facebook_loginview_cancel_action">בטל</string>
26   - <string name="com_facebook_logo_content_description">פייסבוק לוגו</string>
27   - <string name="com_facebook_usersettingsfragment_log_in_button">התחבר&#8230;</string>
28   - <string name="com_facebook_usersettingsfragment_logged_in">מחובר</string>
29   - <string name="com_facebook_usersettingsfragment_not_logged_in">לא מחובר</string>
30   - <string name="com_facebook_placepicker_subtitle_format">%1$s • %2$,d היו פה</string>
31   - <string name="com_facebook_placepicker_subtitle_catetory_only_format">%1$s</string>
32   - <string name="com_facebook_placepicker_subtitle_were_here_only_format">%1$,d היו פה</string>
33   - <string name="com_facebook_picker_done_button_text">בצע</string>
34   - <string name="com_facebook_choose_friends">בחר חברים</string>
35   - <string name="com_facebook_nearby">קרוב אליי</string>
36   - <string name="com_facebook_loading">..מעלה</string>
37   - <string name="com_facebook_internet_permission_error_title">AndroidManifest שגיאת</string>
38   - <string name="com_facebook_internet_permission_error_message">ההתחברות לתצוגת אתר דורשת אישור אינטרנט</string>
39   - <string name="com_facebook_requesterror_web_login">.כדי לאפשר מחדש לאפליקציה להתחבר עם פייסבוק https://www.facebook.com או https://m.facebook.com אנא היכנס דרך</string>
40   - <string name="com_facebook_requesterror_relogin">.האפליקציה אינה מחוברת לפייסבוק, אנא היכנס וחבר מחדש את האפליקציה</string>
41   - <string name="com_facebook_requesterror_password_changed">.הסיסמה שלך בפייסבוק השתנתה, אנא חבר מחדש את האפליקציה עם פייסבוק</string>
42   - <string name="com_facebook_requesterror_reconnect">.ארעה שגיאה בעת החיבור עם פייסבוק, חבר בבקשה מחדש את האפליקציה עם פייסבוק</string>
43   - <string name="com_facebook_requesterror_permissions">.חיבור האפליקציה עם פייסבוק נכשל בשל הרשאות לא מספקות, אנא הענק הרשאות לאפליקציה בכדי שהפעולה תוכל להתבצע</string>
44   - <string name="com_facebook_dialogloginactivity_ok_button">אישור</string>
45   -</resources>
GameSDKRelease/res/values-ldpi/dimens.xml
... ... @@ -1,4 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   - <dimen name="com_facebook_picker_divider_width">1px</dimen>
4   -</resources>
5 0 \ No newline at end of file
GameSDKRelease/res/values-mdpi/dimens.xml
... ... @@ -1,4 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   - <dimen name="com_facebook_picker_divider_width">1px</dimen>
4   -</resources>
5 0 \ No newline at end of file
GameSDKRelease/res/values-pt/strings.xml
... ... @@ -1,23 +0,0 @@
1   -<resources>
2   -
3   - <string name="app_name">LoginSDK</string>
4   - <string name="user_name_hint">Email</string>
5   - <string name="password_hint">Senha</string>
6   - <string name="quick_login">Jogar Agora</string>
7   - <string name="login">Login</string>
8   - <string name="signup">Registrar</string>
9   - <string name="bind">Vincular ao email</string>
10   - <string name="loading">Carregando</string>
11   - <!-- toast -->
12   - <string name="illegal_uname_tip">Email inválido</string>
13   - <string name="illegal_pwd_tip">Senha Inválida (6-20 caracteres)</string>
14   - <string name="illegal_user_exist">Email já está em uso</string>
15   - <string name="illegal_pwd_invalid">Senha incorreta, favor tentar novamente</string>
16   - <string name="illegal_user_not_exist">Email Inválido</string>
17   - <string name="invalid_email">Favor inserir seu email</string>
18   - <string name="login_fail">Login falhou</string>
19   - <string name="signup_fail">Registrar falhou</string>
20   - <string name="bind_fail">Vincular falhou</string>
21   - <!-- facebook id -->
22   -
23   -</resources>
24 0 \ No newline at end of file
GameSDKRelease/res/values-th/strings.xml
... ... @@ -1,34 +0,0 @@
1   -<resources>
2   -
3   - <string name="app_name">LoginSDK</string>
4   - <string name="user_name_hint">อีเมลล์</string>
5   - <string name="password_hint">พาสเวิร์ด</string>
6   - <string name="quick_login">เริ่มเล่น</string>
7   - <string name="login">ล็อกอิน</string>
8   - <string name="signup">ลงทะเบียน</string>
9   - <string name="bind">ผูกอีเมลล์</string>
10   - <string name="loading">กำลังโหลด</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   - <!-- facebook id -->
22   - <!-- payment -->
23   - <string name="useranme_pattern">ชื่อผู้ใช้:%s</string>
24   - <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string>
25   - <string name="mol_card_hint">กรุณากรอกรหัสบัตร</string>
26   - <string name="mol_pass_hint">กรุณาใส่รหัส</string>
27   - <string name="pay_ok">OK</string>
28   - <string name="pay_error">การชำระล้มเหลว กรุณาลองใหม่อีกครั้ง</string>
29   - <!-- paypal -->
30   - <string name="paypal_amount_hint">กรุณาใส่จำนวนเงินที่ต้องการ(%s-10000เป็นจำนวนเต็ม)</string>
31   - <string name="paypal_choice_tip">กรุณาเลือกหรือกรอกจำนวนเงินที่ต้องการชำระ</string>
32   - <!-- gp -->
33   - <string name="gp_choice_tip">กรุณาเลือกจำนวนเงินที่ต้องการชำระ</string>
34   -</resources>
35 0 \ No newline at end of file
GameSDKRelease/res/values-xhdpi/dimens.xml
... ... @@ -1,4 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   - <dimen name="com_facebook_picker_divider_width">2px</dimen>
4   -</resources>
5 0 \ No newline at end of file
GameSDKRelease/res/values-zh-rTW/strings.xml
... ... @@ -1,23 +0,0 @@
1   -<resources>
2   -
3   - <string name="app_name">LoginSDK</string>
4   - <string name="user_name_hint">郵箱</string>
5   - <string name="password_hint">密碼</string>
6   - <string name="quick_login">一鍵進入</string>
7   - <string name="login">登錄</string>
8   - <string name="signup">註冊</string>
9   - <string name="bind">綁定郵箱</string>
10   - <string name="loading">加載中……</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   - <!-- facebook id -->
22   -
23   -</resources>
24 0 \ No newline at end of file
GameSDKRelease/res/values-zh/strings.xml
... ... @@ -1,35 +0,0 @@
1   -<resources>
2   -
3   - <string name="app_name">LoginSDK</string>
4   - <string name="user_name_hint">邮箱</string>
5   - <string name="password_hint">密码</string>
6   - <string name="quick_login">一键进入</string>
7   - <string name="login">登录</string>
8   - <string name="signup">注册</string>
9   - <string name="bind">绑定邮箱</string>
10   - <string name="loading">加载中……</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   - <string name="net_error">网络无法连接,请查看网络设置</string>
22   - <!-- facebook id -->
23   - <!-- payment -->
24   - <string name="useranme_pattern">用户昵称:%s</string>
25   - <string name="mol_channel_title">请选择支付方式</string>
26   - <string name="mol_card_hint">请输入卡号</string>
27   - <string name="mol_pass_hint">请输入密码</string>
28   - <string name="pay_ok">OK</string>
29   - <string name="pay_error">充值失败,请重试</string>
30   - <!-- paypal -->
31   - <string name="paypal_amount_hint">请输入支付金额(%s-10000的整数)</string>
32   - <string name="paypal_choice_tip">请选择或输入支付金额</string>
33   - <!-- gp -->
34   - <string name="gp_choice_tip">请选择支付金额</string>
35   -</resources>
36 0 \ No newline at end of file
GameSDKRelease/res/values/attrs.xml
... ... @@ -1,52 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<resources>
19   - <declare-styleable name="com_facebook_picker_fragment">
20   - <attr name="show_pictures" format="boolean"/>
21   - <attr name="extra_fields" format="string"/>
22   - <attr name="show_title_bar" format="boolean" />
23   - <attr name="title_text" format="string" />
24   - <attr name="done_button_text" format="string" />
25   - <attr name="title_bar_background" format="reference" />
26   - <attr name="done_button_background" format="reference" />
27   - </declare-styleable>
28   - <declare-styleable name="com_facebook_friend_picker_fragment">
29   - <attr name="multi_select" format="boolean"/>
30   - </declare-styleable>
31   - <declare-styleable name="com_facebook_place_picker_fragment">
32   - <attr name="radius_in_meters" format="integer"/>
33   - <attr name="results_limit" format="integer"/>
34   - <attr name="search_text" format="string"/>
35   - <attr name="show_search_box" format="boolean" />
36   - </declare-styleable>
37   - <declare-styleable name="com_facebook_login_view">
38   - <attr name="confirm_logout" format="boolean"/>
39   - <attr name="fetch_user_info" format="boolean"/>
40   - <attr name="login_text" format="string"/>
41   - <attr name="logout_text" format="string"/>
42   - </declare-styleable>
43   - <declare-styleable name="com_facebook_profile_picture_view">
44   - <attr name="preset_size">
45   - <!-- Keep in sync with constants in ProfilePictureView -->
46   - <enum name="small" value="-2" />
47   - <enum name="normal" value="-3" />
48   - <enum name="large" value="-4" />
49   - </attr>
50   - <attr name="is_cropped" format="boolean" />
51   - </declare-styleable>
52   -</resources>
GameSDKRelease/res/values/colors.xml
... ... @@ -1,18 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   -
4   - <color name="line">#e5e5e5</color>
5   - <color name="orange_normal">#ff5e28</color>
6   - <color name="orange_pressed">#ff812d</color>
7   - <color name="black_text">#3f3c38</color>
8   - <color name="common_gray">#ecf0f0</color>
9   - <color name="common_gray2">#e0e6e8</color>
10   - <color name="translucent">#7e000000</color>
11   -
12   - <!-- facebook -->
13   - <dimen name="com_facebook_picker_place_image_size">64dp</dimen>
14   -
15   - <color name="com_facebook_picker_search_bar_background">#f5f5f7</color>
16   - <color name="com_facebook_picker_search_bar_text">#bcbdc2</color>
17   -
18   -</resources>
19 0 \ No newline at end of file
GameSDKRelease/res/values/drawables.xml
... ... @@ -1,4 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   - <drawable name="com_facebook_picker_default_separator_color">#33464c59</drawable>
4   -</resources>
5 0 \ No newline at end of file
GameSDKRelease/res/values/strings.xml
... ... @@ -1,67 +0,0 @@
1   -<resources>
2   -
3   - <string name="app_name">LoginSDK</string>
4   - <string name="user_name_hint">Email</string>
5   - <string name="password_hint">Password</string>
6   - <string name="quick_login">Play Now</string>
7   - <string name="login">Login</string>
8   - <string name="signup">Signup</string>
9   - <string name="bind">Bound to email</string>
10   - <string name="loading">Loading</string>
11   - <!-- toast -->
12   - <string name="illegal_uname_tip">Invalid Email</string>
13   - <string name="illegal_pwd_tip">Invalid Password (6–20 characters).</string>
14   - <string name="illegal_user_exist">Email has already used</string>
15   - <string name="illegal_pwd_invalid">Password is incorrect. Please try again.</string>
16   - <string name="illegal_user_not_exist">Invalid Email</string>
17   - <string name="invalid_email">Invalid Email</string>
18   - <string name="login_fail">Login failed</string>
19   - <string name="signup_fail">Signup failed</string>
20   - <string name="bind_fail">Bound failed</string>
21   - <string name="net_error">Internet unavailable, please check</string>
22   - <!-- facebook -->
23   - <string name="com_facebook_dialogloginactivity_ok_button">OK</string>
24   - <string name="com_facebook_loginview_log_out_button">Log out</string>
25   - <!-- string name="com_facebook_loginview_log_in_button">Log in with Facebook</string -->
26   - <string name="com_facebook_loginview_log_in_button">Sign up with Facebook</string>
27   - <string name="com_facebook_loginview_logged_in_as">Logged in as: %1$s</string>
28   - <string name="com_facebook_loginview_logged_in_using_facebook">Logged in using Facebook</string>
29   - <string name="com_facebook_loginview_log_out_action">Log out</string>
30   - <string name="com_facebook_loginview_cancel_action">Cancel</string>
31   - <string name="com_facebook_logo_content_description">Facebook Logo</string>
32   - <string name="com_facebook_usersettingsfragment_log_in_button">Log in&#8230;</string>
33   - <string name="com_facebook_usersettingsfragment_logged_in">Logged in</string>
34   - <string name="com_facebook_usersettingsfragment_not_logged_in">Not logged in</string>
35   - <string name="com_facebook_placepicker_subtitle_format">%1$s • %2$,d were here</string>
36   - <string name="com_facebook_placepicker_subtitle_catetory_only_format">%1$s</string>
37   - <string name="com_facebook_placepicker_subtitle_were_here_only_format">%1$,d were here</string>
38   - <string name="com_facebook_picker_done_button_text">Done</string>
39   - <string name="com_facebook_choose_friends">Choose Friends</string>
40   - <string name="com_facebook_nearby">Nearby</string>
41   - <string name="com_facebook_loading">Loading...</string>
42   - <string name="com_facebook_internet_permission_error_title">AndroidManifest Error</string>
43   - <string name="com_facebook_internet_permission_error_message">WebView login requires INTERNET permission</string>
44   - <string name="com_facebook_requesterror_web_login">Your Facebook account is locked. Please log into www.facebook.com to continue.</string>
45   - <string name="com_facebook_requesterror_relogin">Please log into this app again to reconnect your Facebook account.</string>
46   - <string name="com_facebook_requesterror_password_changed">Your Facebook password has changed. Please log into this app again to reconnect your Facebook account.</string>
47   - <string name="com_facebook_requesterror_reconnect">Please log into this app again to reconnect your Facebook account.</string>
48   - <string name="com_facebook_requesterror_permissions">This app doesn’t have permission to do this. To change permissions, try logging into the app again.</string>
49   - <!-- mol channel -->
50   - <string name="channel_12call">12call</string>
51   - <string name="channel_truemoney">true money</string>
52   - <string name="channel_zest">zest</string>
53   - <string name="channel_molpoint">mol points</string>
54   - <!-- payment -->
55   - <string name="useranme_pattern">Account:%s</string>
56   - <string name="mol_channel_title">Please select payment methods</string>
57   - <string name="mol_card_hint">Please input your card number</string>
58   - <string name="mol_pass_hint">Please input your password</string>
59   - <string name="pay_ok">OK</string>
60   - <string name="pay_error">Charging Failed, please try again.</string>
61   -
62   - <!-- paypal -->
63   - <string name="paypal_amount_hint">Please enter the payment amount (Integer between %s to 10000)</string>
64   - <string name="paypal_choice_tip">Please select or enter the amount</string>
65   - <!-- gp -->
66   - <string name="gp_choice_tip">Please select the amount</string>
67   -</resources>
68 0 \ No newline at end of file
GameSDKRelease/res/values/styles.xml
... ... @@ -1,59 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<!--
3   - Copyright 2010-present Facebook.
4   -
5   - Licensed under the Apache License, Version 2.0 (the "License");
6   - you may not use this file except in compliance with the License.
7   - You may obtain a copy of the License at
8   -
9   - http://www.apache.org/licenses/LICENSE-2.0
10   -
11   - Unless required by applicable law or agreed to in writing, software
12   - distributed under the License is distributed on an "AS IS" BASIS,
13   - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   - See the License for the specific language governing permissions and
15   - limitations under the License.
16   --->
17   -
18   -<resources xmlns:android="http://schemas.android.com/apk/res/android">
19   - <color name="com_facebook_blue">#3B5998</color>
20   -
21   - <color name="com_facebook_usersettingsfragment_connected_text_color">#FFFFFF</color>
22   - <color name="com_facebook_usersettingsfragment_connected_shadow_color">#000000</color>
23   - <color name="com_facebook_usersettingsfragment_not_connected_text_color">#A6AED7</color>
24   - <dimen name="com_facebook_usersettingsfragment_profile_picture_width">64dp</dimen>
25   - <dimen name="com_facebook_usersettingsfragment_profile_picture_height">64dp</dimen>
26   -
27   - <dimen name="com_facebook_loginview_padding_left">12dip</dimen>
28   - <dimen name="com_facebook_loginview_padding_right">16dp</dimen>
29   - <dimen name="com_facebook_loginview_padding_top">12dp</dimen>
30   - <dimen name="com_facebook_loginview_padding_bottom">12dp</dimen>
31   - <dimen name="com_facebook_loginview_compound_drawable_padding">12dp</dimen>
32   - <color name="com_facebook_loginview_text_color">#FFFFFF</color>
33   - <dimen name="com_facebook_loginview_text_size">16.0sp</dimen>
34   -
35   - <dimen name="com_facebook_profilepictureview_preset_size_small">50dp</dimen>
36   - <dimen name="com_facebook_profilepictureview_preset_size_normal">100dp</dimen>
37   - <dimen name="com_facebook_profilepictureview_preset_size_large">180dp</dimen>
38   -
39   - <style name="com_facebook_loginview_default_style" parent="@android:style/Widget.Button">
40   - <item name="android:layout_width">wrap_content</item>
41   - <item name="android:layout_height">wrap_content</item>
42   - <item name="android:background">@drawable/com_facebook_button_blue</item>
43   - <item name="android:textColor">@color/com_facebook_loginview_text_color</item>
44   - <item name="android:textSize">@dimen/com_facebook_loginview_text_size</item>
45   - <item name="android:textStyle">bold</item>
46   - <item name="android:paddingLeft">@dimen/com_facebook_loginview_padding_left</item>
47   - <item name="android:gravity">center</item>
48   - </style>
49   -
50   - <style name="com_facebook_loginview_silver_style" parent="@android:style/Widget.Button">
51   - <item name="android:width">205dp</item>
52   - <item name="android:height">44dp</item>
53   - <item name="android:background">@drawable/com_facebook_loginbutton_silver</item>
54   - <item name="android:textSize">18sp</item>
55   - <item name="android:textStyle">bold</item>
56   - <item name="android:textColor">#4B5164</item>
57   - <item name="android:gravity">center</item>
58   - </style>
59   -</resources>
GameSDKRelease/res/values/themes.xml
... ... @@ -1,18 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   -
4   - <style name="container_dialog" parent="@android:style/Theme.Dialog">
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">@android:color/transparent</item>
10   - <item name="android:backgroundDimEnabled">false</item>
11   - <item name="android:windowFullscreen">true</item>
12   - </style>
13   -
14   - <style name="ex_win" parent="@style/container_dialog">
15   - <item name="android:backgroundDimEnabled">true</item>
16   - </style>
17   -
18   -</resources>
19 0 \ No newline at end of file
GameSDKSample/.classpath
... ... @@ -1,9 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<classpath>
3   - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
4   - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
5   - <classpathentry kind="src" path="src"/>
6   - <classpathentry kind="src" path="gen"/>
7   - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
8   - <classpathentry kind="output" path="bin/classes"/>
9   -</classpath>
GameSDKSample/.project
... ... @@ -1,33 +0,0 @@
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>
GameSDKSample/AndroidManifest.xml
... ... @@ -1,86 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3   - package="com.gumptech.loginsdk.sample"
4   - android:versionCode="4"
5   - android:versionName="1.4" >
6   -
7   - <uses-sdk
8   - android:minSdkVersion="8"
9   - android:targetSdkVersion="8" />
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   - <!-- for card.io card scanning -->
21   - <uses-permission android:name="android.permission.CAMERA" />
22   - <uses-permission android:name="android.permission.VIBRATE" />
23   -
24   - <uses-feature
25   - android:name="android.hardware.camera"
26   - android:required="false" />
27   - <uses-feature
28   - android:name="android.hardware.camera.autofocus"
29   - android:required="false" />
30   - <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. -->
31   - <uses-permission android:name="com.android.vending.BILLING" />
32   -
33   - <application
34   - android:allowBackup="true"
35   - android:icon="@drawable/ic_launcher"
36   - android:label="@string/app_name" >
37   - <activity
38   - android:name="com.gumptech.loginsdk.sample.MainActivity"
39   - android:configChanges="navigation|orientation|keyboard"
40   - android:label="@string/app_name"
41   - android:screenOrientation="portrait" >
42   - <intent-filter>
43   - <action android:name="android.intent.action.MAIN" />
44   -
45   - <category android:name="android.intent.category.LAUNCHER" />
46   - </intent-filter>
47   - </activity>
48   - <activity
49   - android:name="com.gumptech.sdk.ContainerActivity"
50   - android:configChanges="orientation|screenLayout"
51   - android:screenOrientation="landscape"
52   - android:theme="@style/container_dialog" >
53   - </activity>
54   - <activity
55   - android:name="com.facebook.LoginActivity"
56   - android:theme="@android:style/Theme.Translucent.NoTitleBar" >
57   - </activity>
58   - <activity
59   - android:name="com.gumptech.sdk.PaymentActivity"
60   - android:configChanges="orientation|screenLayout"
61   - android:theme="@android:style/Theme.Translucent.NoTitleBar" >
62   - </activity>
63   - <activity
64   - android:name="com.gumptech.sdk.ExchangeWindow"
65   - android:configChanges="orientation|screenLayout"
66   - android:theme="@style/ex_win" >
67   - </activity>
68   - <!-- paypal -->
69   - <service
70   - android:name="com.paypal.android.sdk.payments.PayPalService"
71   - android:exported="false" />
72   -
73   - <activity android:name="com.paypal.android.sdk.payments.PaymentActivity" />
74   - <activity android:name="com.paypal.android.sdk.payments.LoginActivity" />
75   - <activity android:name="com.paypal.android.sdk.payments.PaymentMethodActivity" />
76   - <activity android:name="com.paypal.android.sdk.payments.PaymentConfirmActivity" />
77   - <activity android:name="com.paypal.android.sdk.payments.PayPalFuturePaymentActivity" />
78   - <activity android:name="com.paypal.android.sdk.payments.FuturePaymentConsentActivity" />
79   - <activity android:name="com.paypal.android.sdk.payments.FuturePaymentInfoActivity" />
80   - <activity
81   - android:name="io.card.payment.CardIOActivity"
82   - android:configChanges="keyboardHidden|orientation" />
83   - <activity android:name="io.card.payment.DataEntryActivity" />
84   - </application>
85   -
86   -</manifest>
87 0 \ No newline at end of file
GameSDKSample/proguard-project.txt
... ... @@ -1,20 +0,0 @@
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   -#}
GameSDKSample/project.properties
... ... @@ -1,15 +0,0 @@
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-14
15   -android.library.reference.1=../GameSDKRelease
GameSDKSample/res/drawable-hdpi/ic_launcher.png

9.18 KB

GameSDKSample/res/drawable-mdpi/ic_launcher.png

5.11 KB

GameSDKSample/res/drawable-xhdpi/ic_launcher.png

14 KB

GameSDKSample/res/layout/activity_main.xml
... ... @@ -1,31 +0,0 @@
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:orientation="vertical" >
5   -
6   - <TextView
7   - android:id="@+id/user_info"
8   - android:layout_width="wrap_content"
9   - android:layout_height="wrap_content" />
10   -
11   - <Button
12   - android:id="@+id/logout"
13   - android:layout_width="wrap_content"
14   - android:layout_height="wrap_content"
15   - android:text="logout"
16   - android:visibility="gone" />
17   -
18   - <Button
19   - android:id="@+id/bind"
20   - android:layout_width="wrap_content"
21   - android:layout_height="wrap_content"
22   - android:text="bound"
23   - android:visibility="gone" />
24   -
25   - <Button
26   - android:id="@+id/pay"
27   - android:layout_width="wrap_content"
28   - android:layout_height="wrap_content"
29   - android:text="pay" />
30   -
31   -</LinearLayout>
32 0 \ No newline at end of file
GameSDKSample/res/values-w820dp/dimens.xml
... ... @@ -1,10 +0,0 @@
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>
GameSDKSample/res/values/dimens.xml
... ... @@ -1,7 +0,0 @@
1   -<resources>
2   -
3   - <!-- Default screen margins, per the Android Design guidelines. -->
4   - <dimen name="activity_horizontal_margin">16dp</dimen>
5   - <dimen name="activity_vertical_margin">16dp</dimen>
6   -
7   -</resources>
GameSDKSample/res/values/strings.xml
... ... @@ -1,8 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<resources>
3   -
4   - <string name="app_name">LoginSDKSample</string>
5   - <string name="hello_world">Hello world!</string>
6   - <string name="action_settings">Settings</string>
7   -
8   -</resources>
GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
... ... @@ -1,107 +0,0 @@
1   -package com.gumptech.loginsdk.sample;
2   -
3   -import android.app.Activity;
4   -import android.content.Intent;
5   -import android.os.Bundle;
6   -import android.util.Log;
7   -import android.view.View;
8   -import android.widget.Button;
9   -import android.widget.RadioGroup;
10   -import android.widget.TextView;
11   -import android.widget.Toast;
12   -
13   -import com.gumptech.sdk.GumpPreference;
14   -import com.gumptech.sdk.GumpSDK;
15   -
16   -public class MainActivity extends Activity implements GumpSDK.Callback {
17   -
18   - private TextView userInfo;
19   -
20   - private Button btnLogout;
21   - private Button btnBind;
22   -
23   - @Override
24   - protected void onCreate(Bundle savedInstanceState) {
25   - super.onCreate(savedInstanceState);
26   - setContentView(R.layout.activity_main);
27   - userInfo = (TextView) findViewById(R.id.user_info);
28   - btnLogout = (Button) findViewById(R.id.logout);
29   - btnBind = (Button) findViewById(R.id.bind);
30   - btnLogout.setOnClickListener(new View.OnClickListener() {
31   -
32   - @Override
33   - public void onClick(View v) {
34   - GumpSDK.logout(MainActivity.this, MainActivity.this);
35   - }
36   - });
37   - btnBind.setOnClickListener(new View.OnClickListener() {
38   -
39   - @Override
40   - public void onClick(View v) {
41   - GumpSDK.boundMail(MainActivity.this);
42   - }
43   - });
44   - findViewById(R.id.pay).setOnClickListener(new View.OnClickListener() {
45   -
46   - @Override
47   - public void onClick(View v) {
48   - Bundle payInfo = new Bundle();
49   - payInfo.putString("nick", "thi");
50   - payInfo.putString("product", "元宝");
51   - payInfo.putFloat("amount", 40.0f);
52   - payInfo.putString("extraInfo", "This is demo!");
53   - GumpSDK.pay(MainActivity.this, payInfo);
54   - }
55   - });
56   - GumpSDK.init("100", "100", "301596413332339", "1000", "110", "120");
57   - GumpSDK.start(this);
58   - }
59   -
60   - @Override
61   - protected void onActivityResult(int requestCode, int resultCode, Intent data) {
62   - Log.d("Main", "activity requestCode:" + requestCode + ",resultCode:" + resultCode);
63   - if (requestCode == GumpSDK.LOGIN_REQUEST_CODE) {
64   - if (resultCode == RESULT_OK) {
65   - int uid = data.getIntExtra("userId", -1);
66   - int accountType = data.getIntExtra("accountType", -1);
67   - String sessionkey = data.getStringExtra("sessionKey");
68   - userInfo.setText("userid:" + uid + ",accountType:" + accountType + ",sessionKey:" + sessionkey);
69   - btnLogout.setVisibility(View.VISIBLE);
70   - if (accountType == GumpPreference.ACCOUNT_TYPE_QUICK_REG)
71   - btnBind.setVisibility(View.VISIBLE);
72   - } else if (resultCode == RESULT_CANCELED) {
73   - Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show();
74   - }
75   - } else if (requestCode == GumpSDK.BOUND_REQUEST_CODE) {
76   - if (resultCode == RESULT_OK) {
77   - int uid = data.getIntExtra("userId", -1);
78   - int accountType = data.getIntExtra("accountType", -1);
79   - String sessionkey = data.getStringExtra("sessionKey");
80   - userInfo.setText("userid:" + uid + ",accountType:" + accountType + ",sessionKey:" + sessionkey);
81   - btnBind.setVisibility(View.GONE);
82   - } else if (resultCode == RESULT_CANCELED) {
83   - Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show();
84   - }
85   - } else if (requestCode == GumpSDK.PAY_REQUEST_CODE) {
86   - if (resultCode == RESULT_OK) {
87   - int code = data.getIntExtra("code", -1);
88   - String msg = data.getStringExtra("msg");
89   - int orderId = data.getIntExtra("orderId", -1);
90   - String extraInfo = data.getStringExtra("extraInfo");
91   - Toast.makeText(this, "pay result: " + code + "," + msg + ",orderId:" + orderId + ",extraInfo:" + extraInfo, Toast.LENGTH_SHORT).show();
92   - } else if (resultCode == RESULT_CANCELED) {
93   - Toast.makeText(this, "operate be canceled", Toast.LENGTH_SHORT).show();
94   - }
95   - }
96   - super.onActivityResult(requestCode, resultCode, data);
97   - }
98   -
99   - @Override
100   - public void onLogout() {
101   - btnLogout.setVisibility(View.GONE);
102   - if (btnBind.getVisibility() == View.VISIBLE)
103   - btnBind.setVisibility(View.GONE);
104   - userInfo.append(" is logout");
105   - }
106   -
107   -}