Commit e2f832f5ae6abccfcd3756831f713cee7f3af129

Authored by luohaijiang
1 parent d8df2a0881
Exists in master and in 1 other branch features

SDK 版本号访问接口不能混淆文档添加

Showing 65 changed files with 225 additions and 132 deletions Side-by-side Diff

android/PromoterDemo/AndroidManifest.xml
... ... @@ -12,6 +12,8 @@
12 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  15 + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  16 + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
15 17 <application
16 18 android:allowBackup="true"
17 19 android:icon="@drawable/ic_launcher"
android/PromoterDemo/bin/AndroidManifest.xml
... ... @@ -12,6 +12,8 @@
12 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  15 + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  16 + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
15 17 <application
16 18 android:allowBackup="true"
17 19 android:icon="@drawable/ic_launcher"
android/PromoterDemo/bin/PromoterDemo.apk
No preview for this file type
android/PromoterDemo/bin/R.txt
1 1 int color already_verification 0x7f040005
  2 +int color bankground 0x7f040006
2 3 int color black 0x7f040001
3 4 int color have_reward_color 0x7f040002
4 5 int color no_reward_color 0x7f040003
... ... @@ -12,32 +13,29 @@ int drawable confirm_grey 0x7f020002
12 13 int drawable edite_hint 0x7f020003
13 14 int drawable ic_launcher 0x7f020004
14 15 int drawable instructions 0x7f020005
15   -int drawable left_image 0x7f020006
16   -int drawable middle_instructions 0x7f020007
17   -int drawable progress_bar 0x7f020008
18   -int drawable progress_bar_background 0x7f020009
  16 +int drawable middle_instructions 0x7f020006
  17 +int drawable progress_bar 0x7f020007
  18 +int drawable progress_bar_background 0x7f020008
  19 +int drawable progress_instructions 0x7f020009
19 20 int drawable progressbar_horizontal_1 0x7f02000a
20 21 int drawable promoter_linked 0x7f02000b
21 22 int drawable reward 0x7f02000c
22 23 int drawable reward_grey 0x7f02000d
23   -int drawable right_down 0x7f02000e
24   -int drawable right_image 0x7f02000f
25   -int drawable right_top 0x7f020010
26 24 int id action_settings 0x7f09000e
27 25 int id click_textview 0x7f090000
28   -int id close_image 0x7f090006
  26 +int id close_image 0x7f090007
29 27 int id confirm 0x7f09000d
30 28 int id edittext 0x7f09000c
31   -int id edittext_layout 0x7f09000b
32   -int id left_imge 0x7f090001
33   -int id middle_instructions 0x7f09000a
34   -int id prgress_bar 0x7f090008
35   -int id progress_instructions 0x7f090007
36   -int id promoter_linked 0x7f090005
37   -int id reward 0x7f090009
38   -int id right_down_imge 0x7f090004
39   -int id right_imge 0x7f090002
40   -int id right_top_imge 0x7f090003
  29 +int id left_imge 0x7f090002
  30 +int id middle_instructions 0x7f09000b
  31 +int id prgress_bar 0x7f090009
  32 +int id progress_instructions 0x7f090008
  33 +int id promoter_linked 0x7f090006
  34 +int id reward 0x7f09000a
  35 +int id right_down_imge 0x7f090005
  36 +int id right_imge 0x7f090003
  37 +int id right_top_imge 0x7f090004
  38 +int id root_layout 0x7f090001
41 39 int layout activity_main 0x7f030000
42 40 int layout activity_promoter 0x7f030001
43 41 int menu main 0x7f080000
android/PromoterDemo/bin/classes.dex
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterdemo/R$color.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterdemo/R$dimen.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterdemo/R$drawable.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterdemo/R$id.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$color.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$dimen.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$drawable.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$id.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$layout.class
No preview for this file type
android/PromoterDemo/bin/classes/com/example/promoterrelease/R$string.class
No preview for this file type
android/PromoterDemo/bin/dexedLibs/PromoterSdk_proguard-63e08a920939c1c1ad99b9ddae01f591.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/PromoterSdk_proguard-a357d717479728fc45728b48c135b76c.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/PromoterSdk_proguard-d1f5184ab6a3a853c4d7dc7457b85585.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/android-support-v4-2192f9d58917b016fa7f492e39b0097a.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/android-support-v4-2b8aed04d68815795a4b53e70b49f1a2.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/gson-2.2.4-55bae087cf5bded4bac1641289a95070.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/gson-2.2.4-6799e97176902f46235b7f524668754e.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/gson-2.2.4-bc17559788b3a104fe95b2ac9b6b60ab.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/library-5634197b6c455322017ac6d6a3e0bc24.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/library-ea7c52d73b5503fb9c59201a4c279d57.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/promoterrelease-11bf23bea9337a463ed9ec444ac0dd67.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/promoterrelease-524f5906c8683bbcd3d3ad4807094566.jar
No preview for this file type
android/PromoterDemo/bin/dexedLibs/promotersdk-af12794b62c03556f68fa7649487d51c.jar
No preview for this file type
android/PromoterDemo/bin/resources.ap_
No preview for this file type
android/PromoterDemo/default.properties
... ... @@ -0,0 +1 @@
  1 +proguard.config=proguard.cfg \u52A0\u4E0A
0 2 \ No newline at end of file
android/PromoterDemo/gen/com/example/promoterdemo/R.java
... ... @@ -14,6 +14,9 @@ public final class R {
14 14 /** 验证
15 15 */
16 16 public static final int already_verification=0x7f040005;
  17 + /** 验证
  18 + */
  19 + public static final int bankground=0x7f040006;
17 20 public static final int black=0x7f040001;
18 21 /** 有奖励
19 22 */
... ... @@ -47,34 +50,31 @@ public final class R {
47 50 public static final int edite_hint=0x7f020003;
48 51 public static final int ic_launcher=0x7f020004;
49 52 public static final int instructions=0x7f020005;
50   - public static final int left_image=0x7f020006;
51   - public static final int middle_instructions=0x7f020007;
52   - public static final int progress_bar=0x7f020008;
53   - public static final int progress_bar_background=0x7f020009;
  53 + public static final int middle_instructions=0x7f020006;
  54 + public static final int progress_bar=0x7f020007;
  55 + public static final int progress_bar_background=0x7f020008;
  56 + public static final int progress_instructions=0x7f020009;
54 57 public static final int progressbar_horizontal_1=0x7f02000a;
55 58 public static final int promoter_linked=0x7f02000b;
56 59 public static final int reward=0x7f02000c;
57 60 public static final int reward_grey=0x7f02000d;
58   - public static final int right_down=0x7f02000e;
59   - public static final int right_image=0x7f02000f;
60   - public static final int right_top=0x7f020010;
61 61 }
62 62 public static final class id {
63 63 public static final int action_settings=0x7f09000e;
64 64 public static final int click_textview=0x7f090000;
65   - public static final int close_image=0x7f090006;
  65 + public static final int close_image=0x7f090007;
66 66 public static final int confirm=0x7f09000d;
67 67 public static final int edittext=0x7f09000c;
68   - public static final int edittext_layout=0x7f09000b;
69   - public static final int left_imge=0x7f090001;
70   - public static final int middle_instructions=0x7f09000a;
71   - public static final int prgress_bar=0x7f090008;
72   - public static final int progress_instructions=0x7f090007;
73   - public static final int promoter_linked=0x7f090005;
74   - public static final int reward=0x7f090009;
75   - public static final int right_down_imge=0x7f090004;
76   - public static final int right_imge=0x7f090002;
77   - public static final int right_top_imge=0x7f090003;
  68 + public static final int left_imge=0x7f090002;
  69 + public static final int middle_instructions=0x7f09000b;
  70 + public static final int prgress_bar=0x7f090009;
  71 + public static final int progress_instructions=0x7f090008;
  72 + public static final int promoter_linked=0x7f090006;
  73 + public static final int reward=0x7f09000a;
  74 + public static final int right_down_imge=0x7f090005;
  75 + public static final int right_imge=0x7f090003;
  76 + public static final int right_top_imge=0x7f090004;
  77 + public static final int root_layout=0x7f090001;
78 78 }
79 79 public static final class layout {
80 80 public static final int activity_main=0x7f030000;
android/PromoterDemo/gen/com/example/promoterrelease/R.java
... ... @@ -9,6 +9,7 @@ package com.example.promoterrelease;
9 9 public final class R {
10 10 public static final class color {
11 11 public static final int already_verification = 0x7f040005;
  12 + public static final int bankground = 0x7f040006;
12 13 public static final int black = 0x7f040001;
13 14 public static final int have_reward_color = 0x7f040002;
14 15 public static final int no_reward_color = 0x7f040003;
... ... @@ -24,32 +25,29 @@ public final class R {
24 25 public static final int confirm_grey = 0x7f020002;
25 26 public static final int edite_hint = 0x7f020003;
26 27 public static final int instructions = 0x7f020005;
27   - public static final int left_image = 0x7f020006;
28   - public static final int middle_instructions = 0x7f020007;
29   - public static final int progress_bar = 0x7f020008;
30   - public static final int progress_bar_background = 0x7f020009;
  28 + public static final int middle_instructions = 0x7f020006;
  29 + public static final int progress_bar = 0x7f020007;
  30 + public static final int progress_bar_background = 0x7f020008;
  31 + public static final int progress_instructions = 0x7f020009;
31 32 public static final int progressbar_horizontal_1 = 0x7f02000a;
32 33 public static final int promoter_linked = 0x7f02000b;
33 34 public static final int reward = 0x7f02000c;
34 35 public static final int reward_grey = 0x7f02000d;
35   - public static final int right_down = 0x7f02000e;
36   - public static final int right_image = 0x7f02000f;
37   - public static final int right_top = 0x7f020010;
38 36 }
39 37 public static final class id {
40   - public static final int close_image = 0x7f090006;
  38 + public static final int close_image = 0x7f090007;
41 39 public static final int confirm = 0x7f09000d;
42 40 public static final int edittext = 0x7f09000c;
43   - public static final int edittext_layout = 0x7f09000b;
44   - public static final int left_imge = 0x7f090001;
45   - public static final int middle_instructions = 0x7f09000a;
46   - public static final int prgress_bar = 0x7f090008;
47   - public static final int progress_instructions = 0x7f090007;
48   - public static final int promoter_linked = 0x7f090005;
49   - public static final int reward = 0x7f090009;
50   - public static final int right_down_imge = 0x7f090004;
51   - public static final int right_imge = 0x7f090002;
52   - public static final int right_top_imge = 0x7f090003;
  41 + public static final int left_imge = 0x7f090002;
  42 + public static final int middle_instructions = 0x7f09000b;
  43 + public static final int prgress_bar = 0x7f090009;
  44 + public static final int progress_instructions = 0x7f090008;
  45 + public static final int promoter_linked = 0x7f090006;
  46 + public static final int reward = 0x7f09000a;
  47 + public static final int right_down_imge = 0x7f090005;
  48 + public static final int right_imge = 0x7f090003;
  49 + public static final int right_top_imge = 0x7f090004;
  50 + public static final int root_layout = 0x7f090001;
53 51 }
54 52 public static final class layout {
55 53 public static final int activity_promoter = 0x7f030001;
android/PromoterDemo/proguard.cfg
... ... @@ -0,0 +1,36 @@
  1 +-optimizationpasses&nbsp; //->设置混淆的压缩比率 0 ~ 7
  2 +-dontusemixedcaseclassnames&nbsp; //Aa aA
  3 +-dontskipnonpubliclibraryclasses //->如果应用程序引入的有jar包,并且想混淆jar包里面的class
  4 +-dontpreverify&nbsp;&nbsp; &nbsp;//
  5 +-verbose //->混淆后生产映射文件 map 类名->转化后类名的映射
  6 +-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* //->混淆采用的算法.
  7 +
  8 +-keep public class * extends android.app.Activity&nbsp; //->所有activity的子类不要去混淆
  9 +-keep public class * extends android.app.Application
  10 +-keep public class * extends android.app.Service
  11 +-keep public class * extends android.content.BroadcastReceiver
  12 +-keep public class * extends android.content.ContentProvider
  13 +-keep public class com.android.vending.licensing.ILicensingService
  14 +
  15 +-keepclasseswithmembernames class * {
  16 +&nbsp;&nbsp;&nbsp; native <methods>; //-> 所有native的方法不能去混淆.
  17 +}
  18 +
  19 +-keepclasseswithmembernames class * {
  20 +&nbsp;&nbsp;&nbsp; public <init>(android.content.Context, android.util.AttributeSet);
  21 +}
  22 +
  23 +-keepclasseswithmembernames class * {
  24 +&nbsp;&nbsp;&nbsp; public <init>(android.content.Context, android.util.AttributeSet, int);
  25 +&nbsp;&nbsp;&nbsp; // -->某些构造方法不能去混淆
  26 +}
  27 +
  28 +-keepclassmembers enum * { //&nbsp; -> 枚举类不能去混淆.
  29 +&nbsp;&nbsp;&nbsp; public static **[] values();
  30 +&nbsp;&nbsp;&nbsp; public static ** valueOf(java.lang.String);
  31 +}
  32 +
  33 +-keep class * implements android.os.Parcelable {&nbsp; //-> aidl文件不能去混淆.
  34 +&nbsp; public static final android.os.Parcelable$Creator *;
  35 +}
  36 +}
0 37 \ No newline at end of file
android/PromoterDemo/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-17
  14 +target=android-19
15 15 android.library.reference.1=..\\PromoterRelease
android/PromoterRelease/AndroidManifest.xml
... ... @@ -11,7 +11,6 @@
11 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14   - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 14 <application
16 15 android:allowBackup="true"
17 16 >
android/PromoterRelease/bin/AndroidManifest.xml
... ... @@ -11,7 +11,6 @@
11 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14   - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 14 <application
16 15 android:allowBackup="true"
17 16 >
android/PromoterRelease/bin/R.txt
1 1 int color already_verification 0x7f040005
  2 +int color bankground 0x7f040006
2 3 int color black 0x7f040001
3 4 int color have_reward_color 0x7f040002
4 5 int color no_reward_color 0x7f040003
... ... @@ -10,30 +11,27 @@ int drawable confirm 0x7f020001
10 11 int drawable confirm_grey 0x7f020002
11 12 int drawable edite_hint 0x7f020003
12 13 int drawable instructions 0x7f020004
13   -int drawable left_image 0x7f020005
14   -int drawable middle_instructions 0x7f020006
15   -int drawable progress_bar 0x7f020007
16   -int drawable progress_bar_background 0x7f020008
  14 +int drawable middle_instructions 0x7f020005
  15 +int drawable progress_bar 0x7f020006
  16 +int drawable progress_bar_background 0x7f020007
  17 +int drawable progress_instructions 0x7f020008
17 18 int drawable progressbar_horizontal_1 0x7f020009
18 19 int drawable promoter_linked 0x7f02000a
19 20 int drawable reward 0x7f02000b
20 21 int drawable reward_grey 0x7f02000c
21   -int drawable right_down 0x7f02000d
22   -int drawable right_image 0x7f02000e
23   -int drawable right_top 0x7f02000f
24   -int id close_image 0x7f070005
  22 +int id close_image 0x7f070006
25 23 int id confirm 0x7f07000c
26 24 int id edittext 0x7f07000b
27   -int id edittext_layout 0x7f07000a
28   -int id left_imge 0x7f070000
29   -int id middle_instructions 0x7f070009
30   -int id prgress_bar 0x7f070007
31   -int id progress_instructions 0x7f070006
32   -int id promoter_linked 0x7f070004
33   -int id reward 0x7f070008
34   -int id right_down_imge 0x7f070003
35   -int id right_imge 0x7f070001
36   -int id right_top_imge 0x7f070002
  25 +int id left_imge 0x7f070001
  26 +int id middle_instructions 0x7f07000a
  27 +int id prgress_bar 0x7f070008
  28 +int id progress_instructions 0x7f070007
  29 +int id promoter_linked 0x7f070005
  30 +int id reward 0x7f070009
  31 +int id right_down_imge 0x7f070004
  32 +int id right_imge 0x7f070002
  33 +int id right_top_imge 0x7f070003
  34 +int id root_layout 0x7f070000
37 35 int layout activity_promoter 0x7f030000
38 36 int string action_settings 0x7f060001
39 37 int string app_name 0x7f060000
android/PromoterRelease/bin/classes/com/example/promoterrelease/R$color.class
No preview for this file type
android/PromoterRelease/bin/classes/com/example/promoterrelease/R$dimen.class
No preview for this file type
android/PromoterRelease/bin/classes/com/example/promoterrelease/R$drawable.class
No preview for this file type
android/PromoterRelease/bin/classes/com/example/promoterrelease/R$id.class
No preview for this file type
android/PromoterRelease/bin/promoterrelease.jar
No preview for this file type
android/PromoterRelease/bin/res/crunch/drawable-hdpi/left_image.png

282 KB

android/PromoterRelease/bin/res/crunch/drawable-hdpi/progress_instructions.png

994 Bytes

android/PromoterRelease/bin/res/crunch/drawable-hdpi/right_down.png

130 KB

android/PromoterRelease/bin/res/crunch/drawable-hdpi/right_image.png

324 KB

android/PromoterRelease/bin/res/crunch/drawable-hdpi/right_top.png

194 KB

android/PromoterRelease/bin/res/crunch/drawable-xhdpi/instructions.png.png

2.12 KB

android/PromoterRelease/bin/res/crunch/drawable-xxhdpi/instructions.png.png

4.28 KB

android/PromoterRelease/gen/com/example/promoterrelease/R.java
... ... @@ -14,6 +14,9 @@ public final class R {
14 14 /** 验证
15 15 */
16 16 public static int already_verification=0x7f040005;
  17 + /** 验证
  18 + */
  19 + public static int bankground=0x7f040006;
17 20 public static int black=0x7f040001;
18 21 /** 有奖励
19 22 */
... ... @@ -40,32 +43,29 @@ public final class R {
40 43 public static int confirm_grey=0x7f020002;
41 44 public static int edite_hint=0x7f020003;
42 45 public static int instructions=0x7f020004;
43   - public static int left_image=0x7f020005;
44   - public static int middle_instructions=0x7f020006;
45   - public static int progress_bar=0x7f020007;
46   - public static int progress_bar_background=0x7f020008;
  46 + public static int middle_instructions=0x7f020005;
  47 + public static int progress_bar=0x7f020006;
  48 + public static int progress_bar_background=0x7f020007;
  49 + public static int progress_instructions=0x7f020008;
47 50 public static int progressbar_horizontal_1=0x7f020009;
48 51 public static int promoter_linked=0x7f02000a;
49 52 public static int reward=0x7f02000b;
50 53 public static int reward_grey=0x7f02000c;
51   - public static int right_down=0x7f02000d;
52   - public static int right_image=0x7f02000e;
53   - public static int right_top=0x7f02000f;
54 54 }
55 55 public static final class id {
56   - public static int close_image=0x7f070005;
  56 + public static int close_image=0x7f070006;
57 57 public static int confirm=0x7f07000c;
58 58 public static int edittext=0x7f07000b;
59   - public static int edittext_layout=0x7f07000a;
60   - public static int left_imge=0x7f070000;
61   - public static int middle_instructions=0x7f070009;
62   - public static int prgress_bar=0x7f070007;
63   - public static int progress_instructions=0x7f070006;
64   - public static int promoter_linked=0x7f070004;
65   - public static int reward=0x7f070008;
66   - public static int right_down_imge=0x7f070003;
67   - public static int right_imge=0x7f070001;
68   - public static int right_top_imge=0x7f070002;
  59 + public static int left_imge=0x7f070001;
  60 + public static int middle_instructions=0x7f07000a;
  61 + public static int prgress_bar=0x7f070008;
  62 + public static int progress_instructions=0x7f070007;
  63 + public static int promoter_linked=0x7f070005;
  64 + public static int reward=0x7f070009;
  65 + public static int right_down_imge=0x7f070004;
  66 + public static int right_imge=0x7f070002;
  67 + public static int right_top_imge=0x7f070003;
  68 + public static int root_layout=0x7f070000;
69 69 }
70 70 public static final class layout {
71 71 public static int activity_promoter=0x7f030000;
android/PromoterRelease/libs/PromoterSdk_proguard.jar
No preview for this file type
android/PromoterRelease/libs/gson-2.2.4.jar
No preview for this file type
android/PromoterRelease/libs/library.jar
No preview for this file type
android/PromoterRelease/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-17
  14 +target=android-19
15 15 android.library=true
android/PromoterRelease/res/drawable-hdpi/left_image.png

292 KB

android/PromoterRelease/res/drawable-hdpi/progress_instructions.png

1.56 KB

android/PromoterRelease/res/drawable-hdpi/right_down.png

133 KB

android/PromoterRelease/res/drawable-hdpi/right_image.png

332 KB

android/PromoterRelease/res/drawable-hdpi/right_top.png

200 KB

android/PromoterRelease/res/drawable-xhdpi/instructions.png.png

2.96 KB

android/PromoterRelease/res/drawable-xxhdpi/instructions.png.png

5.15 KB

android/PromoterRelease/res/layout/activity_promoter.xml
1 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 2 xmlns:tools="http://schemas.android.com/tools"
  3 + android:id="@+id/root_layout"
3 4 android:layout_width="match_parent"
4 5 android:layout_height="match_parent"
  6 + android:background="@color/bankground"
5 7 android:orientation="horizontal" >
6 8  
7 9 <!-- 左边宣传图片 -->
... ... @@ -10,8 +12,9 @@
10 12 android:id="@+id/left_imge"
11 13 android:layout_width="wrap_content"
12 14 android:layout_height="match_parent"
  15 + android:layout_alignParentLeft="true"
13 16 android:scaleType="fitXY"
14   - android:src="@drawable/left_image" />
  17 + />
15 18 <!-- 右边宣传图片 -->
16 19  
17 20 <ImageView
... ... @@ -20,25 +23,26 @@
20 23 android:layout_height="match_parent"
21 24 android:layout_toRightOf="@+id/left_imge"
22 25 android:scaleType="fitXY"
23   - android:visibility="gone"
24   - android:src="@drawable/right_image" />
  26 + android:visibility="gone" />
25 27 <!-- 右边上 -->
  28 +
26 29 <ImageView
27 30 android:id="@+id/right_top_imge"
28 31 android:layout_width="match_parent"
29 32 android:layout_height="match_parent"
30 33 android:layout_toRightOf="@+id/left_imge"
31 34 android:scaleType="fitXY"
32   - android:src="@drawable/right_top" />
33   - <!-- 右边上下-->
  35 + />
  36 + <!-- 右边上下 -->
  37 +
34 38 <ImageView
35 39 android:id="@+id/right_down_imge"
36 40 android:layout_width="match_parent"
37 41 android:layout_height="match_parent"
38   - android:layout_toRightOf="@+id/left_imge"
39 42 android:layout_below="@+id/right_top_imge"
  43 + android:layout_toRightOf="@+id/left_imge"
40 44 android:scaleType="fitXY"
41   - android:src="@drawable/right_down" />
  45 + />
42 46 <!-- 获取推广链接按钮 -->
43 47  
44 48 <Button
... ... @@ -47,10 +51,12 @@
47 51 android:layout_height="wrap_content"
48 52 android:layout_alignParentBottom="true"
49 53 android:layout_alignParentLeft="true"
50   - android:text="Promote"
  54 + android:background="@drawable/promoter_linked"
51 55 android:gravity="center"
52   - android:textColor="#ff000000"
53   - android:background="@drawable/promoter_linked" />
  56 + android:paddingBottom="3dp"
  57 + android:textSize="15sp"
  58 + android:text="Promote"
  59 + android:textColor="#ff000000" />
54 60 <!-- 关闭按钮 -->
55 61  
56 62 <ImageView
... ... @@ -75,13 +81,11 @@
75 81 android:id="@+id/prgress_bar"
76 82 android:layout_width="470px"
77 83 android:layout_height="64px"
  84 + android:layout_below="@+id/progress_instructions"
  85 + android:layout_toRightOf="@+id/left_imge"
78 86 android:max="100"
79 87 android:progress="30"
80   - android:layout_below="@+id/progress_instructions"
81   - android:layout_toRightOf="@+id/left_imge"
82   -
83   - android:progressDrawable="@drawable/progressbar_horizontal_1"
84   - />
  88 + android:progressDrawable="@drawable/progressbar_horizontal_1" />
85 89 <!-- 获取奖励 -->
86 90  
87 91 <Button
... ... @@ -90,13 +94,12 @@
90 94 android:layout_height="86px"
91 95 android:layout_alignParentTop="true"
92 96 android:layout_toRightOf="@+id/prgress_bar"
  97 + android:background="@drawable/reward_grey"
  98 + android:gravity="bottom|center_horizontal"
  99 + android:paddingBottom="2dp"
93 100 android:scaleType="fitXY"
94 101 android:text="claim"
95   - android:paddingBottom="2dp"
96   - android:textColor="#ff0000"
97   - android:gravity="bottom|center_horizontal"
98   - android:background="@drawable/reward"
99   - />
  102 + android:textColor="#ff0000" />
100 103 <!-- 中间指示 -->
101 104  
102 105 <ImageView
... ... @@ -108,33 +111,35 @@
108 111 android:scaleType="fitXY"
109 112 android:src="@drawable/middle_instructions" />
110 113 <!-- 邀请码编辑框 -->
111   -
112   - <LinearLayout
113   - android:id="@+id/edittext_layout"
114   - android:layout_width="336px"
115   - android:layout_height="78px"
116   - android:layout_alignParentBottom="true"
117   - android:layout_toRightOf="@+id/left_imge"
118   - android:background="@drawable/edite_hint"
119   - android:orientation="horizontal" >
120   -
121 114 <EditText
122 115 android:id="@+id/edittext"
123 116 android:layout_width="336px"
124 117 android:layout_height="78px"
125   - android:textColor="#ff9000"
126   - android:background="#00000000" />
127   - </LinearLayout>
  118 + android:layout_alignParentBottom="true"
  119 + android:layout_toRightOf="@+id/left_imge"
  120 + android:background="@drawable/edite_hint"
  121 + android:textColor="#ff9000" />
128 122  
129 123 <Button
130 124 android:id="@+id/confirm"
131 125 android:layout_width="173px"
132 126 android:layout_height="60px"
133 127 android:layout_alignParentBottom="true"
134   - android:layout_toRightOf="@+id/edittext_layout"
135   - android:text="Verify"
136   - android:gravity="center"
  128 + android:layout_toRightOf="@+id/edittext"
137 129 android:background="@drawable/confirm"
138   - />
  130 + android:gravity="center"
  131 + android:textSize="15sp"
  132 + android:paddingBottom="5dp"
  133 + android:text="Verify" />
  134 + <!--
  135 + <TextView android:id="@+id/data_load"
  136 + android:layout_width="match_parent"
  137 + android:layout_height="match_parent"
  138 + android:gravity="center"
  139 + android:visibility="gone"
  140 + android:background="@color/no_reward_color"
  141 + android:textSize="25sp"
  142 + android:text="Data loading failed Click to reload"/>
  143 + -->
139 144  
140 145 </RelativeLayout>
141 146 \ No newline at end of file
android/PromoterRelease/res/values/colors.xml
... ... @@ -11,6 +11,8 @@
11 11 <color name="validate">#ff0000</color>
12 12 <!-- 验证 -->
13 13 <color name="already_verification">#6c6a6e</color>
  14 + <!-- 验证 -->
  15 + <color name="bankground">#CDc1c1</color>
14 16  
15 17  
16 18