Commit 5b95cccaf8ec325fd66584f9091ab5e68bb8f134

Authored by 赵康
1 parent 02981dfa81
Exists in master

version 2.0

Showing 110 changed files with 1056 additions and 268 deletions Side-by-side Diff

GameSDKRelease/libs/GameSDK_proguard_v2.0.jar
No preview for this file type
GameSDKRelease/libs/LoginSDK_proguard_v1.6.jar
No preview for this file type
GameSDKRelease/res/color/item_card_choice_text.xml
... ... @@ -0,0 +1,7 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:state_pressed="true" android:color="@android:color/white"/>
  5 + <item android:color="@color/black_text"/>
  6 +
  7 +</selector>
0 8 \ No newline at end of file
GameSDKRelease/res/drawable-hdpi/arrow_tag.png

1.55 KB

GameSDKRelease/res/drawable-hdpi/choice_box_bg.png

1.31 KB

GameSDKRelease/res/drawable-hdpi/header_tip_bg.png

14.9 KB

GameSDKRelease/res/drawable-hdpi/ic_arrow_down.png

1.03 KB

GameSDKRelease/res/drawable-hdpi/ic_arrow_up.png

1.02 KB

GameSDKRelease/res/drawable-hdpi/ic_back_dark.png

1.17 KB

GameSDKRelease/res/drawable-hdpi/ic_back_light.png

1.11 KB

GameSDKRelease/res/drawable-hdpi/ic_cancel_dark.png

1.08 KB

GameSDKRelease/res/drawable-hdpi/logo_12call.png

12 KB

GameSDKRelease/res/drawable-hdpi/logo_gp.png

6.3 KB

GameSDKRelease/res/drawable-hdpi/logo_mol.png

3.48 KB

GameSDKRelease/res/drawable-hdpi/logo_mycard.png

7.88 KB

GameSDKRelease/res/drawable-hdpi/logo_ngan.png

15.6 KB

GameSDKRelease/res/drawable-hdpi/logo_paypal.png

12.8 KB

GameSDKRelease/res/drawable-hdpi/logo_rixty.png

8.35 KB

GameSDKRelease/res/drawable-hdpi/logo_tm.png

6.74 KB

GameSDKRelease/res/drawable-hdpi/logo_zest.png

14.1 KB

GameSDKRelease/res/drawable-hdpi/pay_title_bg.png

1.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-hdpi/split_vertical.png

949 Bytes

GameSDKRelease/res/drawable-mdpi/arrow_tag.png

1.29 KB

GameSDKRelease/res/drawable-mdpi/choice_box_bg.png

1.16 KB

GameSDKRelease/res/drawable-mdpi/header_tip_bg.png

7.09 KB

GameSDKRelease/res/drawable-mdpi/ic_arrow_down.png

1013 Bytes

GameSDKRelease/res/drawable-mdpi/ic_arrow_up.png

1001 Bytes

GameSDKRelease/res/drawable-mdpi/ic_back_dark.png

1.05 KB

GameSDKRelease/res/drawable-mdpi/ic_back_light.png

1.05 KB

GameSDKRelease/res/drawable-mdpi/ic_cancel_dark.png

1.04 KB

GameSDKRelease/res/drawable-mdpi/ic_launcher.png

5.11 KB

GameSDKRelease/res/drawable-mdpi/logo_12call.png

6.6 KB

GameSDKRelease/res/drawable-mdpi/logo_gp.png

4.03 KB

GameSDKRelease/res/drawable-mdpi/logo_mol.png

2.81 KB

GameSDKRelease/res/drawable-mdpi/logo_mycard.png

4.97 KB

GameSDKRelease/res/drawable-mdpi/logo_ngan.png

8.68 KB

GameSDKRelease/res/drawable-mdpi/logo_paypal.png

7.36 KB

GameSDKRelease/res/drawable-mdpi/logo_rixty.png

5 KB

GameSDKRelease/res/drawable-mdpi/logo_tm.png

4.22 KB

GameSDKRelease/res/drawable-mdpi/logo_zest.png

7.93 KB

GameSDKRelease/res/drawable-mdpi/pay_title_bg.png

1.14 KB

GameSDKRelease/res/drawable-mdpi/split_vertical.png

959 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/arrow_tag.png

2.12 KB

GameSDKRelease/res/drawable-xhdpi/choice_box_bg.png

1.56 KB

GameSDKRelease/res/drawable-xhdpi/header_tip_bg.png

32.4 KB

GameSDKRelease/res/drawable-xhdpi/ic_arrow_down.png

1.1 KB

GameSDKRelease/res/drawable-xhdpi/ic_arrow_up.png

1.09 KB

GameSDKRelease/res/drawable-xhdpi/ic_back_dark.png

1.26 KB

GameSDKRelease/res/drawable-xhdpi/ic_back_light.png

1.22 KB

GameSDKRelease/res/drawable-xhdpi/ic_cancel_dark.png

1.15 KB

GameSDKRelease/res/drawable-xhdpi/ic_launcher.png

14 KB

GameSDKRelease/res/drawable-xhdpi/logo_12call.png

20 KB

GameSDKRelease/res/drawable-xhdpi/logo_gp.png

8.66 KB

GameSDKRelease/res/drawable-xhdpi/logo_mol.png

2.76 KB

GameSDKRelease/res/drawable-xhdpi/logo_mycard.png

11.6 KB

GameSDKRelease/res/drawable-xhdpi/logo_ngan.png

25 KB

GameSDKRelease/res/drawable-xhdpi/logo_paypal.png

19.4 KB

GameSDKRelease/res/drawable-xhdpi/logo_rixty.png

13.8 KB

GameSDKRelease/res/drawable-xhdpi/logo_tm.png

10.1 KB

GameSDKRelease/res/drawable-xhdpi/logo_zest.png

21.3 KB

GameSDKRelease/res/drawable-xhdpi/pay_title_bg.png

1.47 KB

GameSDKRelease/res/drawable-xhdpi/split_vertical.png

959 Bytes

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_orange_bg.xml
... ... @@ -0,0 +1,25 @@
  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>
0 26 \ No newline at end of file
GameSDKRelease/res/drawable/btn_wallet_bg.xml
... ... @@ -0,0 +1,29 @@
  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/btn_white_pressed" />
  9 +
  10 + <size android:height="35dp" />
  11 +
  12 + <stroke android:width="1dp" android:color="@color/line" />
  13 + </shape>
  14 +
  15 + </item>
  16 + <item>
  17 + <shape android:shape="rectangle">
  18 + <corners android:radius="3dp" />
  19 +
  20 + <solid android:color="@color/btn_white_normal" />
  21 +
  22 + <size android:height="35dp" />
  23 +
  24 + <stroke android:width="1dp" android:color="@color/line" />
  25 + </shape>
  26 +
  27 + </item>
  28 +
  29 +</selector>
0 30 \ No newline at end of file
GameSDKRelease/res/drawable/dialog_bg.xml
... ... @@ -0,0 +1,5 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<shape xmlns:android="http://schemas.android.com/apk/res/android" >
  3 + <corners android:radius="5dp"/>
  4 + <solid android:color="@android:color/white"/>
  5 +</shape>
GameSDKRelease/res/drawable/et_bg.xml
... ... @@ -16,6 +16,6 @@
16 16 android:right="8dp"
17 17 android:top="2dp" />
18 18  
19   - <corners android:radius="2dp" />
  19 + <corners android:radius="5dp" />
20 20  
21 21 </shape>
22 22 \ No newline at end of file
GameSDKRelease/res/drawable/item_card_choice_bg.xml
... ... @@ -0,0 +1,7 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
  3 +
  4 + <item android:drawable="@color/orange_normal" android:state_pressed="true"/>
  5 + <item android:drawable="@android:color/white"/>
  6 +
  7 +</selector>
0 8 \ No newline at end of file
GameSDKRelease/res/drawable/payment_bg.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <selector xmlns:android="http://schemas.android.com/apk/res/android">
3 3  
4   - <item android:drawable="@drawable/payment_bg_selected" android:state_selected="true"/>
  4 + <item android:drawable="@drawable/payment_bg_pressed" android:state_pressed="true"/>
5 5 <item android:drawable="@drawable/payment_bg_normal"/>
6 6  
7 7 </selector>
8 8 \ No newline at end of file
GameSDKRelease/res/drawable/payment_bg_normal.9.png

105 Bytes

GameSDKRelease/res/drawable/payment_bg_pressed.9.png

112 Bytes

GameSDKRelease/res/layout/com_facebook_picker_title_bar.xml
... ... @@ -37,6 +37,7 @@
37 37 android:shadowRadius="1"
38 38 android:layout_alignParentRight="true"
39 39 />
  40 +
40 41 <LinearLayout
41 42 android:id="@+id/com_facebook_picker_divider"
42 43 android:layout_width="1dp"
GameSDKRelease/res/layout/container.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
  3 + android:layout_width="match_parent"
4 4 android:layout_height="wrap_content"
5 5 android:gravity="center"
  6 + android:background="@drawable/dialog_bg"
6 7 android:orientation="vertical" >
7 8  
8 9 <include layout="@layout/title" />
9 10  
10 11 <LinearLayout
11 12 android:id="@+id/container"
12   - android:layout_width="wrap_content"
  13 + android:layout_width="match_parent"
13 14 android:layout_height="wrap_content"
14 15 android:orientation="vertical" >
15 16  
GameSDKRelease/res/layout/drop_select.xml
... ... @@ -0,0 +1,38 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:id="@+id/choice_bar"
  4 + android:layout_width="match_parent"
  5 + android:layout_height="wrap_content"
  6 + android:layout_marginLeft="13dp"
  7 + android:layout_marginRight="13dp"
  8 + android:layout_marginTop="16dp"
  9 + android:background="@drawable/choice_box_bg" >
  10 +
  11 + <TextView
  12 + android:id="@+id/tv_amount"
  13 + android:layout_width="wrap_content"
  14 + android:layout_height="wrap_content"
  15 + android:layout_centerVertical="true"
  16 + android:layout_marginLeft="15dp"
  17 + android:text="50d"
  18 + android:textColor="@color/black_text"
  19 + android:textSize="18sp"
  20 + android:textStyle="italic" />
  21 +
  22 + <ImageView
  23 + android:id="@+id/arrow_tag"
  24 + android:layout_width="35dp"
  25 + android:layout_height="35dp"
  26 + android:layout_alignParentRight="true"
  27 + android:layout_centerVertical="true"
  28 + android:scaleType="center"
  29 + android:src="@drawable/ic_arrow_down" />
  30 +
  31 + <View
  32 + android:layout_width="1dp"
  33 + android:layout_height="match_parent"
  34 + android:layout_centerVertical="true"
  35 + android:layout_toLeftOf="@id/arrow_tag"
  36 + android:background="@drawable/split_vertical" />
  37 +
  38 +</RelativeLayout>
0 39 \ No newline at end of file
GameSDKRelease/res/layout/fragment_billing.xml
... ... @@ -0,0 +1,130 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg" >
  6 +
  7 + <LinearLayout
  8 + android:layout_width="match_parent"
  9 + android:layout_height="match_parent"
  10 + android:orientation="vertical" >
  11 +
  12 + <TextView
  13 + android:id="@+id/choice_title"
  14 + android:layout_width="match_parent"
  15 + android:layout_height="wrap_content"
  16 + android:background="@drawable/header_tip_bg"
  17 + android:gravity="center_vertical"
  18 + android:paddingLeft="10dp"
  19 + android:text="@string/amount_choice_tip"
  20 + android:textColor="@color/black_text" />
  21 +
  22 + <RelativeLayout
  23 + android:id="@+id/card_choice"
  24 + android:layout_width="match_parent"
  25 + android:layout_height="wrap_content"
  26 + android:layout_marginLeft="13dp"
  27 + android:layout_marginRight="13dp"
  28 + android:layout_marginTop="16dp"
  29 + android:background="@drawable/choice_box_bg" >
  30 +
  31 + <TextView
  32 + android:id="@+id/tv_card"
  33 + android:layout_width="wrap_content"
  34 + android:layout_height="wrap_content"
  35 + android:layout_centerVertical="true"
  36 + android:layout_marginLeft="15dp"
  37 + android:textColor="@color/black_text"
  38 + android:textSize="18sp"
  39 + android:textStyle="italic" />
  40 +
  41 + <ImageView
  42 + android:id="@+id/arrow_tag"
  43 + android:layout_width="35dp"
  44 + android:layout_height="35dp"
  45 + android:layout_alignParentRight="true"
  46 + android:layout_centerVertical="true"
  47 + android:scaleType="center"
  48 + android:src="@drawable/ic_arrow_down" />
  49 +
  50 + <View
  51 + android:layout_width="1dp"
  52 + android:layout_height="match_parent"
  53 + android:layout_centerVertical="true"
  54 + android:layout_toLeftOf="@id/arrow_tag"
  55 + android:background="@drawable/split_vertical" />
  56 + </RelativeLayout>
  57 +
  58 + <RelativeLayout
  59 + android:id="@+id/amount_choice"
  60 + android:layout_width="match_parent"
  61 + android:layout_height="wrap_content"
  62 + android:layout_marginLeft="13dp"
  63 + android:layout_marginRight="13dp"
  64 + android:layout_marginTop="16dp"
  65 + android:background="@drawable/choice_box_bg" >
  66 +
  67 + <TextView
  68 + android:id="@+id/tv_amount"
  69 + android:layout_width="wrap_content"
  70 + android:layout_height="wrap_content"
  71 + android:layout_centerVertical="true"
  72 + android:layout_marginLeft="15dp"
  73 + android:textColor="@color/black_text"
  74 + android:textSize="18sp"
  75 + android:textStyle="italic" />
  76 +
  77 + <ImageView
  78 + android:id="@id/arrow_tag"
  79 + android:layout_width="35dp"
  80 + android:layout_height="35dp"
  81 + android:layout_alignParentRight="true"
  82 + android:layout_centerVertical="true"
  83 + android:scaleType="center"
  84 + android:src="@drawable/ic_arrow_down" />
  85 +
  86 + <View
  87 + android:layout_width="1dp"
  88 + android:layout_height="match_parent"
  89 + android:layout_centerVertical="true"
  90 + android:layout_toLeftOf="@id/arrow_tag"
  91 + android:background="@drawable/split_vertical" />
  92 + </RelativeLayout>
  93 +
  94 + <Button
  95 + android:id="@+id/pay"
  96 + android:layout_width="match_parent"
  97 + android:layout_height="wrap_content"
  98 + android:layout_marginBottom="20dp"
  99 + android:layout_marginLeft="13dp"
  100 + android:layout_marginRight="13dp"
  101 + android:layout_marginTop="23dp"
  102 + android:layout_weight="3"
  103 + android:background="@drawable/btn_orange_bg"
  104 + android:text="@string/pay_ok"
  105 + android:textColor="@android:color/white" />
  106 +
  107 + <TextView
  108 + android:id="@+id/summary_title"
  109 + android:layout_width="match_parent"
  110 + android:layout_height="wrap_content"
  111 + android:layout_marginLeft="13dp"
  112 + android:layout_marginRight="13dp"
  113 + android:background="@color/summary_bg"
  114 + android:paddingLeft="10dp"
  115 + android:textColor="@color/black_text"
  116 + android:textSize="12sp" />
  117 +
  118 + <TextView
  119 + android:id="@+id/intro"
  120 + android:layout_width="match_parent"
  121 + android:layout_height="wrap_content"
  122 + android:layout_marginBottom="10dp"
  123 + android:layout_marginLeft="13dp"
  124 + android:layout_marginRight="13dp"
  125 + android:background="@color/summary_bg"
  126 + android:padding="8dp"
  127 + android:textColor="@color/black_text" />
  128 + </LinearLayout>
  129 +
  130 +</ScrollView>
0 131 \ No newline at end of file
GameSDKRelease/res/layout/fragment_bind.xml
... ... @@ -35,7 +35,7 @@
35 35 android:layout_width="match_parent"
36 36 android:layout_height="wrap_content"
37 37 android:layout_margin="8dp"
38   - android:background="@drawable/btn_orange"
  38 + android:background="@drawable/btn_orange_bg"
39 39 android:padding="5dp"
40 40 android:text="@string/bind"
41 41 android:textColor="@android:color/white"
GameSDKRelease/res/layout/fragment_card.xml
... ... @@ -0,0 +1,78 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg" >
  6 +
  7 + <LinearLayout
  8 + android:layout_width="match_parent"
  9 + android:layout_height="wrap_content"
  10 + android:orientation="vertical" >
  11 +
  12 + <TextView
  13 + android:layout_width="match_parent"
  14 + android:layout_height="wrap_content"
  15 + android:background="@drawable/header_tip_bg"
  16 + android:gravity="center_vertical"
  17 + android:paddingLeft="10dp"
  18 + android:text="@string/card_input_tip"
  19 + android:textColor="@color/black_text" />
  20 +
  21 + <LinearLayout
  22 + android:id="@+id/card_input_layout"
  23 + android:layout_width="match_parent"
  24 + android:layout_height="wrap_content"
  25 + android:layout_marginLeft="13dp"
  26 + android:layout_marginRight="13dp"
  27 + android:orientation="vertical" >
  28 +
  29 + <EditText
  30 + android:id="@+id/card_no"
  31 + android:layout_width="match_parent"
  32 + android:layout_height="wrap_content"
  33 + android:layout_marginTop="10dp"
  34 + android:background="@drawable/et_bg"
  35 + android:hint="@string/mol_card_hint" />
  36 +
  37 + <EditText
  38 + android:id="@+id/card_pwd"
  39 + android:layout_width="match_parent"
  40 + android:layout_height="wrap_content"
  41 + android:layout_marginTop="13dp"
  42 + android:background="@drawable/et_bg"
  43 + android:hint="@string/mol_pass_hint" />
  44 + </LinearLayout>
  45 +
  46 + <Button
  47 + android:id="@+id/start_pay"
  48 + android:layout_width="match_parent"
  49 + android:layout_height="wrap_content"
  50 + android:layout_margin="13dp"
  51 + android:background="@drawable/btn_orange_bg"
  52 + android:text="@string/pay_ok"
  53 + android:textColor="@android:color/white" />
  54 +
  55 + <TextView
  56 + android:id="@+id/summary_title"
  57 + android:layout_width="match_parent"
  58 + android:layout_height="wrap_content"
  59 + android:layout_marginLeft="13dp"
  60 + android:layout_marginRight="13dp"
  61 + android:background="@color/summary_bg"
  62 + android:paddingLeft="10dp"
  63 + android:textColor="@color/black_text"
  64 + android:textSize="12sp" />
  65 +
  66 + <TextView
  67 + android:id="@+id/summary"
  68 + android:layout_width="match_parent"
  69 + android:layout_height="wrap_content"
  70 + android:layout_marginLeft="13dp"
  71 + android:layout_marginRight="13dp"
  72 + android:background="@color/summary_bg"
  73 + android:padding="10dp"
  74 + android:textColor="@color/black_text"
  75 + android:textSize="11sp" />
  76 + </LinearLayout>
  77 +
  78 +</ScrollView>
0 79 \ No newline at end of file
GameSDKRelease/res/layout/fragment_gp.xml
... ... @@ -135,7 +135,7 @@
135 135 android:layout_marginLeft="13dp"
136 136 android:layout_marginRight="13dp"
137 137 android:layout_marginTop="10dp"
138   - android:background="@drawable/btn_orange"
  138 + android:background="@drawable/btn_orange_bg"
139 139 android:text="@string/pay_ok"
140 140 android:textColor="@android:color/white" />
141 141  
GameSDKRelease/res/layout/fragment_login.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
  3 + android:layout_width="match_parent"
4 4 android:layout_height="wrap_content"
5 5 android:scrollbars="none" >
6 6  
7 7 <LinearLayout
8   - android:layout_width="wrap_content"
  8 + android:layout_width="match_parent"
9 9 android:layout_height="wrap_content"
10   - android:background="@android:color/white"
  10 + android:background="@drawable/dialog_bg"
11 11 android:minWidth="293dp"
12 12 android:orientation="vertical" >
13 13  
... ... @@ -19,8 +19,8 @@
19 19 android:layout_marginRight="13dp"
20 20 android:layout_marginTop="10dp"
21 21 android:background="@drawable/et_bg"
22   - android:imeOptions="flagNoExtractUi"
23   - android:hint="@string/user_name_hint" />
  22 + android:hint="@string/user_name_hint"
  23 + android:imeOptions="flagNoExtractUi" />
24 24  
25 25 <EditText
26 26 android:id="@+id/password"
... ... @@ -29,57 +29,40 @@
29 29 android:layout_marginLeft="13dp"
30 30 android:layout_marginRight="13dp"
31 31 android:layout_marginTop="10dp"
32   - android:imeOptions="flagNoExtractUi"
33 32 android:background="@drawable/et_bg"
34 33 android:hint="@string/password_hint"
  34 + android:imeOptions="flagNoExtractUi"
35 35 android:inputType="textPassword" />
36 36  
37 37 <LinearLayout
38 38 android:layout_width="match_parent"
39 39 android:layout_height="wrap_content"
  40 + android:layout_marginBottom="10dp"
40 41 android:layout_marginTop="13dp"
41 42 android:gravity="center"
42 43 android:orientation="horizontal" >
43 44  
44 45 <Button
45   - android:id="@+id/quick"
  46 + android:id="@+id/login"
46 47 android:layout_width="100dp"
47 48 android:layout_height="wrap_content"
48   - android:layout_marginRight="13dp"
49   - android:background="@drawable/btn_orange"
  49 + android:background="@drawable/btn_orange_bg"
50 50 android:padding="5dp"
51   - android:text="@string/quick_login"
  51 + android:text="@string/login"
52 52 android:textColor="@android:color/white"
53 53 android:textSize="16sp" />
54 54  
55 55 <Button
56   - android:id="@+id/login"
  56 + android:id="@+id/sign_up"
57 57 android:layout_width="100dp"
58 58 android:layout_height="wrap_content"
  59 + android:layout_marginLeft="13dp"
59 60 android:background="@drawable/btn_white_bg"
60 61 android:padding="5dp"
61   - android:text="@string/login"
  62 + android:text="@string/signup"
62 63 android:textColor="@color/black_text"
63 64 android:textSize="16sp" />
64 65 </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 66 </LinearLayout>
84 67  
85 68 </ScrollView>
86 69 \ No newline at end of file
GameSDKRelease/res/layout/fragment_mol.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3 3 android:layout_width="fill_parent"
4   - android:layout_height="wrap_content" >
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg" >
5 6  
6 7 <LinearLayout
7 8 android:layout_width="match_parent"
8 9 android:layout_height="wrap_content"
9   - android:background="@android:color/white"
10   - android:minWidth="293dp"
11 10 android:orientation="vertical" >
12 11  
13 12 <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"
  13 + android:layout_width="match_parent"
23 14 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>
  15 + android:background="@drawable/header_tip_bg"
  16 + android:gravity="center_vertical"
  17 + android:paddingLeft="10dp"
  18 + android:text="@string/card_input_tip"
  19 + android:textColor="@color/black_text" />
90 20  
91 21 <LinearLayout
  22 + android:id="@+id/card_input_layout"
92 23 android:layout_width="match_parent"
93 24 android:layout_height="wrap_content"
  25 + android:layout_marginLeft="13dp"
  26 + android:layout_marginRight="13dp"
94 27 android:layout_marginTop="10dp"
95   - android:gravity="center_vertical"
96   - android:orientation="horizontal" >
  28 + android:orientation="vertical" >
97 29  
98 30 <EditText
99   - android:id="@+id/serial_no"
  31 + android:id="@+id/card_no"
100 32 android:layout_width="match_parent"
101 33 android:layout_height="wrap_content"
102   - android:layout_marginLeft="13dp"
103   - android:layout_weight="1"
104 34 android:background="@drawable/et_bg"
105   - android:hint="@string/mol_card_hint"
106   - android:visibility="gone" />
  35 + android:hint="@string/mol_card_hint" />
107 36  
108   - <View
  37 + <EditText
  38 + android:id="@+id/card_pwd"
109 39 android:layout_width="match_parent"
110 40 android:layout_height="wrap_content"
111   - android:layout_weight="3" />
  41 + android:layout_marginTop="13dp"
  42 + android:background="@drawable/et_bg"
  43 + android:hint="@string/mol_pass_hint" />
112 44 </LinearLayout>
113 45  
114   - <LinearLayout
  46 + <Button
  47 + android:id="@+id/start_pay"
115 48 android:layout_width="match_parent"
116 49 android:layout_height="wrap_content"
117   - android:layout_marginTop="10dp"
118   - android:gravity="center_vertical"
119   - android:orientation="horizontal" >
  50 + android:layout_marginLeft="13dp"
  51 + android:layout_marginRight="13dp"
  52 + android:layout_marginTop="16dp"
  53 + android:background="@drawable/btn_orange_bg"
  54 + android:text="@string/pay_ok"
  55 + android:textColor="@android:color/white"
  56 + android:textSize="16sp" />
120 57  
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" />
  58 + <Button
  59 + android:id="@+id/wallet"
  60 + android:layout_width="match_parent"
  61 + android:layout_height="wrap_content"
  62 + android:layout_marginBottom="15dp"
  63 + android:layout_marginLeft="13dp"
  64 + android:layout_marginRight="13dp"
  65 + android:layout_marginTop="10dp"
  66 + android:background="@drawable/btn_wallet_bg"
  67 + android:text="@string/title_mol_wallet"
  68 + android:textSize="15sp" />
129 69  
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>
  70 + <TextView
  71 + android:id="@+id/summary_title"
  72 + android:layout_width="match_parent"
  73 + android:layout_height="wrap_content"
  74 + android:layout_marginLeft="13dp"
  75 + android:layout_marginRight="13dp"
  76 + android:background="@color/summary_bg"
  77 + android:paddingLeft="10dp"
  78 + android:textColor="@color/black_text"
  79 + android:textSize="12sp" />
141 80  
142 81 <TextView
143   - android:id="@+id/intro"
  82 + android:id="@+id/summary"
144 83 android:layout_width="match_parent"
145 84 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" />
  85 + android:layout_marginBottom="10dp"
  86 + android:layout_marginLeft="13dp"
  87 + android:layout_marginRight="13dp"
  88 + android:background="@color/summary_bg"
  89 + android:padding="10dp"
  90 + android:textColor="@color/black_text"
  91 + android:textSize="11sp" />
150 92 </LinearLayout>
151 93  
152 94 </ScrollView>
153 95 \ No newline at end of file
GameSDKRelease/res/layout/fragment_mycard.xml
... ... @@ -0,0 +1,106 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="fill_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg" >
  6 +
  7 + <LinearLayout
  8 + android:layout_width="match_parent"
  9 + android:layout_height="wrap_content"
  10 + android:minWidth="293dp"
  11 + android:orientation="vertical" >
  12 +
  13 + <TextView
  14 + android:layout_width="match_parent"
  15 + android:layout_height="wrap_content"
  16 + android:background="@drawable/header_tip_bg"
  17 + android:gravity="center_vertical"
  18 + android:paddingLeft="10dp"
  19 + android:text="@string/card_input_tip"
  20 + android:textColor="@color/black_text" />
  21 +
  22 + <LinearLayout
  23 + android:id="@+id/card_input_layout"
  24 + android:layout_width="match_parent"
  25 + android:layout_height="wrap_content"
  26 + android:layout_marginLeft="13dp"
  27 + android:layout_marginRight="13dp"
  28 + android:layout_marginTop="10dp"
  29 + android:orientation="vertical" >
  30 +
  31 + <EditText
  32 + android:id="@+id/card_no"
  33 + android:layout_width="match_parent"
  34 + android:layout_height="wrap_content"
  35 + android:background="@drawable/et_bg"
  36 + android:hint="@string/mol_card_hint" />
  37 +
  38 + <EditText
  39 + android:id="@+id/card_pwd"
  40 + android:layout_width="match_parent"
  41 + android:layout_height="wrap_content"
  42 + android:layout_marginTop="13dp"
  43 + android:background="@drawable/et_bg"
  44 + android:hint="@string/mol_pass_hint" />
  45 + </LinearLayout>
  46 +
  47 + <Button
  48 + android:id="@+id/start_pay"
  49 + android:layout_width="match_parent"
  50 + android:layout_height="wrap_content"
  51 + android:layout_marginLeft="13dp"
  52 + android:layout_marginRight="13dp"
  53 + android:layout_marginTop="16dp"
  54 + android:background="@drawable/btn_orange_bg"
  55 + android:text="@string/pay_ok"
  56 + android:textColor="@android:color/white"
  57 + android:textSize="16sp" />
  58 +
  59 + <Button
  60 + android:id="@+id/wallet"
  61 + android:layout_width="match_parent"
  62 + android:layout_height="wrap_content"
  63 + android:layout_marginLeft="13dp"
  64 + android:layout_marginRight="13dp"
  65 + android:layout_marginTop="10dp"
  66 + android:background="@drawable/btn_wallet_bg"
  67 + android:text="@string/title_mycard_member"
  68 + android:textSize="15sp" />
  69 +
  70 + <Button
  71 + android:id="@+id/billing"
  72 + android:layout_width="match_parent"
  73 + android:layout_height="wrap_content"
  74 + android:layout_marginBottom="15dp"
  75 + android:layout_marginLeft="13dp"
  76 + android:layout_marginRight="13dp"
  77 + android:layout_marginTop="10dp"
  78 + android:background="@drawable/btn_wallet_bg"
  79 + android:text="@string/title_mycard_billing"
  80 + android:textSize="15sp" />
  81 +
  82 + <TextView
  83 + android:id="@+id/summary_title"
  84 + android:layout_width="match_parent"
  85 + android:layout_height="wrap_content"
  86 + android:layout_marginLeft="13dp"
  87 + android:layout_marginRight="13dp"
  88 + android:background="@color/summary_bg"
  89 + android:paddingLeft="10dp"
  90 + android:textColor="@color/black_text"
  91 + android:textSize="12sp" />
  92 +
  93 + <TextView
  94 + android:id="@+id/summary"
  95 + android:layout_width="match_parent"
  96 + android:layout_height="wrap_content"
  97 + android:layout_marginBottom="10dp"
  98 + android:layout_marginLeft="13dp"
  99 + android:layout_marginRight="13dp"
  100 + android:background="@color/summary_bg"
  101 + android:padding="10dp"
  102 + android:textColor="@color/black_text"
  103 + android:textSize="11sp" />
  104 + </LinearLayout>
  105 +
  106 +</ScrollView>
0 107 \ No newline at end of file
GameSDKRelease/res/layout/fragment_payment_choice.xml
... ... @@ -0,0 +1,220 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent" >
  5 +
  6 + <LinearLayout
  7 + android:layout_width="match_parent"
  8 + android:layout_height="wrap_content"
  9 + android:gravity="center_horizontal"
  10 + android:orientation="vertical" >
  11 +
  12 + <RelativeLayout
  13 + android:id="@+id/item_mycard"
  14 + android:layout_width="match_parent"
  15 + android:layout_height="wrap_content"
  16 + android:background="@drawable/payment_bg"
  17 + android:visibility="gone" >
  18 +
  19 + <ImageView
  20 + android:layout_width="wrap_content"
  21 + android:layout_height="wrap_content"
  22 + android:layout_centerVertical="true"
  23 + android:layout_marginLeft="10dp"
  24 + android:src="@drawable/logo_mycard" />
  25 +
  26 + <ImageView
  27 + android:layout_width="wrap_content"
  28 + android:layout_height="wrap_content"
  29 + android:layout_alignParentRight="true"
  30 + android:layout_centerVertical="true"
  31 + android:layout_marginRight="45dp"
  32 + android:src="@drawable/arrow_tag" />
  33 + </RelativeLayout>
  34 +
  35 + <RelativeLayout
  36 + android:id="@+id/item_mol"
  37 + android:layout_width="match_parent"
  38 + android:layout_height="wrap_content"
  39 + android:background="@drawable/payment_bg"
  40 + android:visibility="gone" >
  41 +
  42 + <ImageView
  43 + android:layout_width="wrap_content"
  44 + android:layout_height="wrap_content"
  45 + android:layout_centerVertical="true"
  46 + android:layout_marginLeft="10dp"
  47 + android:src="@drawable/logo_mol" />
  48 +
  49 + <ImageView
  50 + android:layout_width="wrap_content"
  51 + android:layout_height="wrap_content"
  52 + android:layout_alignParentRight="true"
  53 + android:layout_centerVertical="true"
  54 + android:layout_marginRight="45dp"
  55 + android:src="@drawable/arrow_tag" />
  56 + </RelativeLayout>
  57 +
  58 + <RelativeLayout
  59 + android:id="@+id/item_12call"
  60 + android:layout_width="match_parent"
  61 + android:layout_height="wrap_content"
  62 + android:background="@drawable/payment_bg"
  63 + android:visibility="gone" >
  64 +
  65 + <ImageView
  66 + android:layout_width="wrap_content"
  67 + android:layout_height="wrap_content"
  68 + android:layout_centerVertical="true"
  69 + android:layout_marginLeft="10dp"
  70 + android:src="@drawable/logo_12call" />
  71 +
  72 + <ImageView
  73 + android:layout_width="wrap_content"
  74 + android:layout_height="wrap_content"
  75 + android:layout_alignParentRight="true"
  76 + android:layout_centerVertical="true"
  77 + android:layout_marginRight="45dp"
  78 + android:src="@drawable/arrow_tag" />
  79 + </RelativeLayout>
  80 +
  81 + <RelativeLayout
  82 + android:id="@+id/item_zest"
  83 + android:layout_width="match_parent"
  84 + android:layout_height="wrap_content"
  85 + android:background="@drawable/payment_bg"
  86 + android:visibility="gone" >
  87 +
  88 + <ImageView
  89 + android:layout_width="wrap_content"
  90 + android:layout_height="wrap_content"
  91 + android:layout_centerVertical="true"
  92 + android:layout_marginLeft="10dp"
  93 + android:src="@drawable/logo_zest" />
  94 +
  95 + <ImageView
  96 + android:layout_width="wrap_content"
  97 + android:layout_height="wrap_content"
  98 + android:layout_alignParentRight="true"
  99 + android:layout_centerVertical="true"
  100 + android:layout_marginRight="45dp"
  101 + android:src="@drawable/arrow_tag" />
  102 + </RelativeLayout>
  103 +
  104 + <RelativeLayout
  105 + android:id="@+id/item_tm"
  106 + android:layout_width="match_parent"
  107 + android:layout_height="wrap_content"
  108 + android:background="@drawable/payment_bg"
  109 + android:visibility="gone" >
  110 +
  111 + <ImageView
  112 + android:layout_width="wrap_content"
  113 + android:layout_height="wrap_content"
  114 + android:layout_centerVertical="true"
  115 + android:layout_marginLeft="10dp"
  116 + android:src="@drawable/logo_tm" />
  117 +
  118 + <ImageView
  119 + android:layout_width="wrap_content"
  120 + android:layout_height="wrap_content"
  121 + android:layout_alignParentRight="true"
  122 + android:layout_centerVertical="true"
  123 + android:layout_marginRight="45dp"
  124 + android:src="@drawable/arrow_tag" />
  125 + </RelativeLayout>
  126 +
  127 + <RelativeLayout
  128 + android:id="@+id/item_rixty"
  129 + android:layout_width="match_parent"
  130 + android:layout_height="wrap_content"
  131 + android:background="@drawable/payment_bg"
  132 + android:visibility="gone" >
  133 +
  134 + <ImageView
  135 + android:layout_width="wrap_content"
  136 + android:layout_height="wrap_content"
  137 + android:layout_centerVertical="true"
  138 + android:layout_marginLeft="10dp"
  139 + android:src="@drawable/logo_rixty" />
  140 +
  141 + <ImageView
  142 + android:layout_width="wrap_content"
  143 + android:layout_height="wrap_content"
  144 + android:layout_alignParentRight="true"
  145 + android:layout_centerVertical="true"
  146 + android:layout_marginRight="45dp"
  147 + android:src="@drawable/arrow_tag" />
  148 + </RelativeLayout>
  149 +
  150 + <RelativeLayout
  151 + android:id="@+id/item_paypal"
  152 + android:layout_width="match_parent"
  153 + android:layout_height="wrap_content"
  154 + android:background="@drawable/payment_bg"
  155 + android:visibility="gone" >
  156 +
  157 + <ImageView
  158 + android:layout_width="wrap_content"
  159 + android:layout_height="wrap_content"
  160 + android:layout_centerVertical="true"
  161 + android:layout_marginLeft="10dp"
  162 + android:src="@drawable/logo_paypal" />
  163 +
  164 + <ImageView
  165 + android:layout_width="wrap_content"
  166 + android:layout_height="wrap_content"
  167 + android:layout_alignParentRight="true"
  168 + android:layout_centerVertical="true"
  169 + android:layout_marginRight="45dp"
  170 + android:src="@drawable/arrow_tag" />
  171 + </RelativeLayout>
  172 +
  173 + <RelativeLayout
  174 + android:id="@+id/item_ngan"
  175 + android:layout_width="match_parent"
  176 + android:layout_height="wrap_content"
  177 + android:background="@drawable/payment_bg"
  178 + android:visibility="gone" >
  179 +
  180 + <ImageView
  181 + android:layout_width="wrap_content"
  182 + android:layout_height="wrap_content"
  183 + android:layout_centerVertical="true"
  184 + android:layout_marginLeft="10dp"
  185 + android:src="@drawable/logo_ngan" />
  186 +
  187 + <ImageView
  188 + android:layout_width="wrap_content"
  189 + android:layout_height="wrap_content"
  190 + android:layout_alignParentRight="true"
  191 + android:layout_centerVertical="true"
  192 + android:layout_marginRight="45dp"
  193 + android:src="@drawable/arrow_tag" />
  194 + </RelativeLayout>
  195 +
  196 + <RelativeLayout
  197 + android:id="@+id/item_gp"
  198 + android:layout_width="match_parent"
  199 + android:layout_height="wrap_content"
  200 + android:background="@drawable/payment_bg"
  201 + android:visibility="gone" >
  202 +
  203 + <ImageView
  204 + android:layout_width="wrap_content"
  205 + android:layout_height="wrap_content"
  206 + android:layout_centerVertical="true"
  207 + android:layout_marginLeft="10dp"
  208 + android:src="@drawable/logo_gp" />
  209 +
  210 + <ImageView
  211 + android:layout_width="wrap_content"
  212 + android:layout_height="wrap_content"
  213 + android:layout_alignParentRight="true"
  214 + android:layout_centerVertical="true"
  215 + android:layout_marginRight="45dp"
  216 + android:src="@drawable/arrow_tag" />
  217 + </RelativeLayout>
  218 + </LinearLayout>
  219 +
  220 +</ScrollView>
0 221 \ No newline at end of file
GameSDKRelease/res/layout/fragment_paypal.xml
... ... @@ -141,19 +141,20 @@
141 141 android:id="@+id/amount"
142 142 android:layout_width="match_parent"
143 143 android:layout_height="wrap_content"
  144 + android:layout_marginRight="13dp"
144 145 android:layout_weight="1"
145 146 android:background="@drawable/et_bg"
146 147 android:hint="@string/paypal_amount_hint"
147 148 android:imeOptions="flagNoExtractUi"
148   - android:inputType="number" />
  149 + android:inputType="number"
  150 + android:visibility="gone" />
149 151  
150 152 <Button
151 153 android:id="@+id/pay"
152 154 android:layout_width="match_parent"
153 155 android:layout_height="wrap_content"
154   - android:layout_marginLeft="13dp"
155 156 android:layout_weight="3"
156   - android:background="@drawable/btn_orange"
  157 + android:background="@drawable/btn_orange_bg"
157 158 android:text="@string/pay_ok"
158 159 android:textColor="@android:color/white" />
159 160 </LinearLayout>
GameSDKRelease/res/layout/fragment_rixty.xml
... ... @@ -0,0 +1,39 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg"
  6 + android:orientation="vertical" >
  7 +
  8 + <Button
  9 + android:id="@+id/start_pay"
  10 + android:layout_width="match_parent"
  11 + android:layout_height="wrap_content"
  12 + android:layout_margin="13dp"
  13 + android:background="@drawable/btn_orange_bg"
  14 + android:text="@string/pay_ok"
  15 + android:textColor="@android:color/white" />
  16 +
  17 + <TextView
  18 + android:id="@+id/summary_title"
  19 + android:layout_width="match_parent"
  20 + android:layout_height="wrap_content"
  21 + android:layout_marginLeft="13dp"
  22 + android:layout_marginRight="13dp"
  23 + android:background="@color/summary_bg"
  24 + android:paddingLeft="10dp"
  25 + android:textColor="@color/black_text"
  26 + android:textSize="12sp" />
  27 +
  28 + <TextView
  29 + android:id="@+id/summary"
  30 + android:layout_width="match_parent"
  31 + android:layout_height="wrap_content"
  32 + android:layout_marginLeft="13dp"
  33 + android:layout_marginRight="13dp"
  34 + android:background="@color/summary_bg"
  35 + android:padding="10dp"
  36 + android:textColor="@color/black_text"
  37 + android:textSize="11sp" />
  38 +
  39 +</LinearLayout>
0 40 \ No newline at end of file
GameSDKRelease/res/layout/fragment_sign_choice.xml
... ... @@ -0,0 +1,39 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:orientation="vertical" >
  6 +
  7 + <Button
  8 + android:id="@+id/quick"
  9 + android:layout_width="fill_parent"
  10 + android:layout_height="36dp"
  11 + android:layout_marginLeft="13dp"
  12 + android:layout_marginRight="13dp"
  13 + android:layout_marginTop="16dp"
  14 + android:background="@drawable/btn_orange_bg"
  15 + android:padding="5dp"
  16 + android:text="@string/quick_login"
  17 + android:textColor="@android:color/white"
  18 + android:textSize="16sp" />
  19 +
  20 + <com.facebook.widget.LoginButton
  21 + android:id="@+id/fb_login"
  22 + android:layout_width="fill_parent"
  23 + android:layout_height="wrap_content"
  24 + android:layout_marginLeft="13dp"
  25 + android:layout_marginRight="13dp"
  26 + android:layout_marginTop="10dp" />
  27 +
  28 + <TextView
  29 + android:id="@+id/gump_login"
  30 + android:layout_width="fill_parent"
  31 + android:layout_height="wrap_content"
  32 + android:layout_marginTop="16dp"
  33 + android:layout_marginBottom="10dp"
  34 + android:textSize="11sp"
  35 + android:gravity="center"
  36 + android:textColor="@color/com_facebook_blue"
  37 + android:text="Gumptech login>>" />
  38 +
  39 +</LinearLayout>
0 40 \ No newline at end of file
GameSDKRelease/res/layout/fragment_signup.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3   - android:layout_width="wrap_content"
  3 + android:layout_width="match_parent"
4 4 android:layout_height="wrap_content"
5 5 android:scrollbars="none" >
6 6  
7 7 <LinearLayout
8   - android:layout_width="wrap_content"
  8 + android:layout_width="match_parent"
9 9 android:layout_height="wrap_content"
10   - android:background="@android:color/white"
  10 + android:background="@drawable/dialog_bg"
11 11 android:minWidth="293dp"
12 12 android:orientation="vertical" >
13 13  
... ... @@ -17,8 +17,8 @@
17 17 android:layout_height="wrap_content"
18 18 android:layout_margin="10dp"
19 19 android:background="@drawable/et_bg"
20   - android:imeOptions="flagNoExtractUi"
21   - android:hint="@string/user_name_hint" />
  20 + android:hint="@string/user_name_hint"
  21 + android:imeOptions="flagNoExtractUi" />
22 22  
23 23 <EditText
24 24 android:id="@+id/pwd"
... ... @@ -35,7 +35,7 @@
35 35 android:layout_width="match_parent"
36 36 android:layout_height="wrap_content"
37 37 android:layout_margin="8dp"
38   - android:background="@drawable/btn_orange"
  38 + android:background="@drawable/btn_orange_bg"
39 39 android:padding="5dp"
40 40 android:text="@string/signup"
41 41 android:textColor="@android:color/white"
GameSDKRelease/res/layout/fragment_wallet_amount_choice.xml
... ... @@ -0,0 +1,95 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg" >
  6 +
  7 + <LinearLayout
  8 + android:layout_width="match_parent"
  9 + android:layout_height="match_parent"
  10 + android:orientation="vertical" >
  11 +
  12 + <TextView
  13 + android:id="@+id/choice_title"
  14 + android:layout_width="match_parent"
  15 + android:layout_height="wrap_content"
  16 + android:background="@drawable/header_tip_bg"
  17 + android:gravity="center_vertical"
  18 + android:paddingLeft="10dp"
  19 + android:text="@string/amount_choice_tip"
  20 + android:textColor="@color/black_text" />
  21 +
  22 + <RelativeLayout
  23 + android:id="@+id/amount_choice"
  24 + android:layout_width="match_parent"
  25 + android:layout_height="wrap_content"
  26 + android:layout_marginLeft="13dp"
  27 + android:layout_marginRight="13dp"
  28 + android:layout_marginTop="16dp"
  29 + android:background="@drawable/choice_box_bg" >
  30 +
  31 + <TextView
  32 + android:id="@+id/tv_amount"
  33 + android:layout_width="wrap_content"
  34 + android:layout_height="wrap_content"
  35 + android:layout_centerVertical="true"
  36 + android:layout_marginLeft="15dp"
  37 + android:textColor="@color/black_text"
  38 + android:textSize="18sp"
  39 + android:textStyle="italic"
  40 + android:text="50d" />
  41 +
  42 + <ImageView
  43 + android:id="@+id/arrow_tag"
  44 + android:layout_width="35dp"
  45 + android:layout_height="35dp"
  46 + android:layout_alignParentRight="true"
  47 + android:layout_centerVertical="true"
  48 + android:scaleType="center"
  49 + android:src="@drawable/ic_arrow_down" />
  50 +
  51 + <View
  52 + android:layout_width="1dp"
  53 + android:layout_height="match_parent"
  54 + android:layout_centerVertical="true"
  55 + android:layout_toLeftOf="@id/arrow_tag"
  56 + android:background="@drawable/split_vertical" />
  57 + </RelativeLayout>
  58 +
  59 + <Button
  60 + android:id="@+id/pay"
  61 + android:layout_width="match_parent"
  62 + android:layout_height="wrap_content"
  63 + android:layout_marginBottom="20dp"
  64 + android:layout_marginLeft="13dp"
  65 + android:layout_marginRight="13dp"
  66 + android:layout_marginTop="23dp"
  67 + android:layout_weight="3"
  68 + android:background="@drawable/btn_orange_bg"
  69 + android:text="@string/pay_ok"
  70 + android:textColor="@android:color/white" />
  71 +
  72 + <TextView
  73 + android:id="@+id/summary_title"
  74 + android:layout_width="match_parent"
  75 + android:layout_height="wrap_content"
  76 + android:layout_marginLeft="13dp"
  77 + android:layout_marginRight="13dp"
  78 + android:background="@color/summary_bg"
  79 + android:paddingLeft="10dp"
  80 + android:textColor="@color/black_text"
  81 + android:textSize="12sp" />
  82 +
  83 + <TextView
  84 + android:id="@+id/intro"
  85 + android:layout_width="match_parent"
  86 + android:layout_height="wrap_content"
  87 + android:layout_marginBottom="10dp"
  88 + android:layout_marginLeft="13dp"
  89 + android:layout_marginRight="13dp"
  90 + android:background="@color/summary_bg"
  91 + android:padding="8dp"
  92 + android:textColor="@color/black_text" />
  93 + </LinearLayout>
  94 +
  95 +</ScrollView>
0 96 \ No newline at end of file
GameSDKRelease/res/layout/fragment_web.xml
... ... @@ -0,0 +1,20 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@android:color/white"
  6 + android:minWidth="293dp"
  7 + android:orientation="vertical" >
  8 +
  9 + <ProgressBar
  10 + android:id="@+id/loading_prog"
  11 + style="@android:style/Widget.ProgressBar.Horizontal"
  12 + android:layout_width="match_parent"
  13 + android:layout_height="2dp" />
  14 +
  15 + <WebView
  16 + android:id="@+id/mycard_web"
  17 + android:layout_width="fill_parent"
  18 + android:layout_height="fill_parent" />
  19 +
  20 +</LinearLayout>
0 21 \ No newline at end of file
GameSDKRelease/res/layout/item_card_choice.xml
... ... @@ -0,0 +1,17 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="wrap_content"
  5 + android:background="@drawable/item_card_choice_bg"
  6 + android:orientation="vertical"
  7 + android:padding="10dp" >
  8 +
  9 + <TextView
  10 + android:id="@+id/name"
  11 + android:layout_width="wrap_content"
  12 + android:layout_height="wrap_content"
  13 + android:layout_gravity="center_vertical"
  14 + android:textColor="@color/item_card_choice_text"
  15 + android:textSize="16sp" />
  16 +
  17 +</LinearLayout>
0 18 \ No newline at end of file
GameSDKRelease/res/layout/pay_container.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 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"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="match_parent"
  5 + android:background="@color/payment_common_bg"
6 6 android:orientation="vertical" >
7 7  
8   - <include layout="@layout/title" />
  8 + <include layout="@layout/pay_title" />
9 9  
10   - <TabHost
11   - android:id="@android:id/tabhost"
  10 + <LinearLayout
  11 + android:id="@+id/container"
12 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>
  13 + android:layout_height="wrap_content"
  14 + android:orientation="vertical" >
  15 +
  16 + </LinearLayout>
44 17  
45 18 </LinearLayout>
46 19 \ No newline at end of file
GameSDKRelease/res/layout/pay_title.xml
... ... @@ -0,0 +1,24 @@
  1 +<?xml version="1.0" encoding="utf-8"?>
  2 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3 + android:layout_width="match_parent"
  4 + android:layout_height="wrap_content"
  5 + android:background="@drawable/pay_title_bg" >
  6 +
  7 + <ImageView
  8 + android:id="@+id/back"
  9 + android:layout_width="50dp"
  10 + android:layout_height="50dp"
  11 + android:layout_alignParentLeft="true"
  12 + android:layout_centerVertical="true"
  13 + android:scaleType="center"
  14 + android:src="@drawable/ic_back_light" />
  15 +
  16 + <TextView
  17 + android:id="@+id/title"
  18 + android:layout_width="wrap_content"
  19 + android:layout_height="wrap_content"
  20 + android:layout_centerInParent="true"
  21 + android:textColor="@android:color/white"
  22 + android:textSize="18sp" />
  23 +
  24 +</RelativeLayout>
0 25 \ 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 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3 android:layout_width="match_parent"
4   - android:layout_height="50dp"
5   - android:background="@android:color/white" >
  4 + android:layout_height="45dp"
  5 + android:background="@drawable/dialog_bg" >
6 6  
7 7 <ImageView
8 8 android:id="@+id/btn_back"
... ... @@ -11,7 +11,7 @@
11 11 android:layout_alignParentLeft="true"
12 12 android:layout_centerVertical="true"
13 13 android:layout_marginLeft="10dp"
14   - android:src="@drawable/btn_back" />
  14 + android:src="@drawable/ic_back_dark" />
15 15  
16 16 <TextView
17 17 android:id="@+id/up_txt"
... ... @@ -45,7 +45,7 @@
45 45 android:layout_alignParentRight="true"
46 46 android:layout_centerVertical="true"
47 47 android:layout_margin="10dp"
48   - android:src="@drawable/btn_cancel" />
  48 + android:src="@drawable/ic_cancel_dark" />
49 49  
50 50 <View
51 51 android:layout_width="fill_parent"
GameSDKRelease/res/values-th/strings.xml
... ... @@ -20,15 +20,20 @@
20 20 <string name="bind_fail">ผูกอีเมลล์ไม่สำเร็จ</string>
21 21 <!-- facebook id -->
22 22 <!-- payment -->
  23 + <string name="title_payment_choice">เลือกช่องทางชำระเงิน</string>
  24 + <!-- summary title -->
  25 + <string name="summary_title">ตารางแลกเปลี่ยน:</string>
23 26 <string name="useranme_pattern">ชื่อผู้ใช้:%s</string>
24   - <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string>
  27 +<!-- <string name="mol_channel_title">เลือกช่องทางชำระเงิน</string> -->
25 28 <string name="mol_card_hint">กรุณากรอกรหัสบัตร</string>
26 29 <string name="mol_pass_hint">กรุณาใส่รหัส</string>
27 30 <string name="pay_ok">OK</string>
28 31 <string name="pay_error">การชำระล้มเหลว กรุณาลองใหม่อีกครั้ง</string>
  32 + <string name="card_input_tip">กรุณากรอกรายละเอียดบัตร</string>
  33 + <string name="amount_choice_tip">กรุณาเลือกยอดเติมเงิน</string>
29 34 <!-- paypal -->
30 35 <string name="paypal_amount_hint">กรุณาใส่จำนวนเงินที่ต้องการ(%s-10000เป็นจำนวนเต็ม)</string>
31   - <string name="paypal_choice_tip">กรุณาเลือกหรือกรอกจำนวนเงินที่ต้องการชำระ</string>
  36 + <string name="paypal_choice_tip">กรุณาเลือกยอดเติมเงิน</string>
32 37 <!-- gp -->
33   - <string name="gp_choice_tip">กรุณาเลือกจำนวนเงินที่ต้องการชำระ</string>
  38 + <string name="gp_choice_tip">กรุณาเลือกยอดเติมเงิน</string>
34 39 </resources>
35 40 \ No newline at end of file
GameSDKRelease/res/values-zh-rTW/strings.xml
... ... @@ -20,4 +20,21 @@
20 20 <string name="bind_fail">綁定失敗</string>
21 21 <!-- facebook id -->
22 22  
  23 +
  24 + <!-- 支付相关 -->
  25 + <!-- title -->
  26 + <string name="title_payment_choice">請選擇支付方式</string>
  27 + <!-- summary title -->
  28 + <string name="summary_title">兌換表:</string>
  29 + <string name="mol_card_hint">請輸入卡號</string>
  30 + <string name="mol_pass_hint">請輸入密碼</string>
  31 + <string name="pay_ok">OK</string>
  32 + <string name="pay_error">支付失敗,請再重試。</string>
  33 + <string name="card_input_tip">請輸入點卡信息</string>
  34 + <string name="amount_choice_tip">請選擇支付金額</string>
  35 + <!-- paypal -->
  36 + <string name="paypal_choice_tip">請選擇支付金額</string>
  37 + <!-- gp -->
  38 + <string name="gp_choice_tip">請選擇支付金額</string>
  39 +
23 40 </resources>
24 41 \ No newline at end of file
GameSDKRelease/res/values-zh/strings.xml
... ... @@ -21,15 +21,19 @@
21 21 <string name="net_error">网络无法连接,请查看网络设置</string>
22 22 <!-- facebook id -->
23 23 <!-- payment -->
24   - <string name="useranme_pattern">用户昵称:%s</string>
25   - <string name="mol_channel_title">请选择支付方式</string>
  24 + <!-- title -->
  25 + <string name="title_payment_choice">请选择支付方式</string>
  26 + <!-- summary title -->
  27 + <string name="summary_title">兑换表:</string>
  28 + <!-- payment -->
26 29 <string name="mol_card_hint">请输入卡号</string>
27 30 <string name="mol_pass_hint">请输入密码</string>
28 31 <string name="pay_ok">OK</string>
29 32 <string name="pay_error">充值失败,请重试</string>
  33 + <string name="card_input_tip">请输入点卡信息</string>
  34 + <string name="amount_choice_tip">请选择支付金额</string>
30 35 <!-- paypal -->
31   - <string name="paypal_amount_hint">请输入支付金额(%s-10000的整数)</string>
32   - <string name="paypal_choice_tip">请选择或输入支付金额</string>
  36 + <string name="paypal_choice_tip">请选择支付金额</string>
33 37 <!-- gp -->
34 38 <string name="gp_choice_tip">请选择支付金额</string>
35 39 </resources>
36 40 \ No newline at end of file
GameSDKRelease/res/values/colors.xml
... ... @@ -2,13 +2,20 @@
2 2 <resources>
3 3  
4 4 <color name="line">#e5e5e5</color>
5   - <color name="orange_normal">#ff5e28</color>
6   - <color name="orange_pressed">#ff812d</color>
  5 + <color name="orange_normal">#fe5f27</color>
  6 + <color name="orange_pressed">#fe0000</color>
7 7 <color name="black_text">#3f3c38</color>
  8 + <color name="btn_white_normal">#f8f7f4</color>
  9 + <color name="btn_white_pressed">#f8f7f4</color>
  10 +
8 11 <color name="common_gray">#ecf0f0</color>
9 12 <color name="common_gray2">#e0e6e8</color>
10 13 <color name="translucent">#7e000000</color>
11   -
  14 + <color name="transparent">#00000000</color>
  15 +
  16 + <color name="payment_common_bg">#f2efeb</color>
  17 + <color name="summary_bg">#d6d4d1</color>
  18 + <color name="background_color">#00a0e9</color>
12 19 <!-- facebook -->
13 20 <dimen name="com_facebook_picker_place_image_size">64dp</dimen>
14 21  
GameSDKRelease/res/values/strings.xml
... ... @@ -46,22 +46,37 @@
46 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 47 <string name="com_facebook_requesterror_reconnect">Please log into this app again to reconnect your Facebook account.</string>
48 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>
  49 + <!-- 支付相关 -->
  50 + <!-- title -->
  51 + <string name="title_mycard">Mycard點數儲值</string>
  52 + <string name="title_mycard_member">Mycard會員扣點</string>
  53 + <string name="title_mycard_billing">Mycard billing</string>
  54 + <string name="title_mol">MOLPoints Gift Card</string>
  55 + <string name="title_mol_wallet">MOLPoints E-Wallet</string>
  56 + <string name="title_12call">12Call</string>
  57 + <string name="title_tm">True Money</string>
  58 + <string name="title_zest">Zest</string>
  59 + <string name="title_gp">Google play</string>
  60 + <string name="title_paypal">Paypal</string>
  61 + <string name="title_rixty">Rixty</string>
  62 + <string name="title_ngan">NganLoung</string>
  63 + <string name="title_payment_choice">Select payment methods</string>
  64 + <!-- summary title -->
  65 + <string name="summary_title">Price list:</string>
  66 +
54 67 <!-- payment -->
55 68 <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>
  69 + <string name="mol_card_hint">Card No.</string>
  70 + <string name="mol_pass_hint">Password</string>
59 71 <string name="pay_ok">OK</string>
60 72 <string name="pay_error">Charging Failed, please try again.</string>
  73 + <string name="card_input_tip">Card information</string>
  74 + <string name="amount_choice_tip">Please select the amount</string>
61 75  
62 76 <!-- paypal -->
63 77 <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>
  78 + <string name="paypal_choice_tip">Please select the amount</string>
65 79 <!-- gp -->
66 80 <string name="gp_choice_tip">Please select the amount</string>
  81 +
67 82 </resources>
68 83 \ No newline at end of file
GameSDKRelease/res/values/themes.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <resources>
3 3  
4   - <style name="container_dialog" parent="@android:style/Theme.Dialog">
  4 + <style name="container_dialog" >
5 5 <item name="android:windowFrame">@null</item>
6 6 <item name="android:windowIsFloating">true</item>
7 7 <item name="android:windowIsTranslucent">true</item>
8 8 <item name="android:windowNoTitle">true</item>
9   - <item name="android:windowBackground">@android:color/transparent</item>
10   - <item name="android:backgroundDimEnabled">false</item>
  9 + <item name="android:windowBackground">@color/transparent</item>
  10 + <item name="android:backgroundDimEnabled">true</item>
11 11 <item name="android:windowFullscreen">true</item>
12 12 </style>
13 13  
GameSDKSample/AndroidManifest.xml
... ... @@ -48,7 +48,7 @@
48 48 <activity
49 49 android:name="com.gumptech.sdk.ContainerActivity"
50 50 android:configChanges="orientation|screenLayout"
51   - android:screenOrientation="landscape"
  51 + android:screenOrientation="portrait"
52 52 android:theme="@style/container_dialog" >
53 53 </activity>
54 54 <activity
GameSDKSample/project.properties
... ... @@ -11,5 +11,5 @@
11 11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 12  
13 13 # Project target.
14   -target=android-14
  14 +target=android-18
15 15 android.library.reference.1=../GameSDKRelease
GameSDKSample/res/layout/activity_main.xml
1 1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 2 android:layout_width="match_parent"
3 3 android:layout_height="match_parent"
  4 + android:background="@android:color/white"
4 5 android:orientation="vertical" >
5 6  
6 7 <TextView
GameSDKSample/src/com/gumptech/loginsdk/sample/MainActivity.java
... ... @@ -6,7 +6,6 @@ import android.os.Bundle;
6 6 import android.util.Log;
7 7 import android.view.View;
8 8 import android.widget.Button;
9   -import android.widget.RadioGroup;
10 9 import android.widget.TextView;
11 10 import android.widget.Toast;
12 11  
... ... @@ -48,12 +47,12 @@ public class MainActivity extends Activity implements GumpSDK.Callback {
48 47 Bundle payInfo = new Bundle();
49 48 payInfo.putString("nick", "thi");
50 49 payInfo.putString("product", "元宝");
51   - payInfo.putFloat("amount", 40.0f);
  50 + payInfo.putFloat("amount", 0.0f);
52 51 payInfo.putString("extraInfo", "This is demo!");
53 52 GumpSDK.pay(MainActivity.this, payInfo);
54 53 }
55 54 });
56   - GumpSDK.init("100", "100", "301596413332339", "1000", "110", "120");
  55 + GumpSDK.init("10009", "483d8df877b31405c1e8fe4247f02d86", "301596413332339", "1000", "4003", "120");
57 56 GumpSDK.start(this);
58 57 }
59 58