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 Inline Diff

android/PromoterDemo/AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.example.promoterdemo" 3 package="com.example.promoterdemo"
4 android:versionCode="1" 4 android:versionCode="1"
5 android:versionName="1.0" > 5 android:versionName="1.0" >
6 6
7 <uses-sdk 7 <uses-sdk
8 android:minSdkVersion="8" 8 android:minSdkVersion="8"
9 android:targetSdkVersion="19" /> 9 android:targetSdkVersion="19" />
10 <uses-permission android:name="android.permission.INTERNET" /> 10 <uses-permission android:name="android.permission.INTERNET" />
11 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 <uses-permission android:name="android.permission.BLUETOOTH" /> 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
15 <application 17 <application
16 android:allowBackup="true" 18 android:allowBackup="true"
17 android:icon="@drawable/ic_launcher" 19 android:icon="@drawable/ic_launcher"
18 android:label="@string/app_name" 20 android:label="@string/app_name"
19 android:theme="@style/AppTheme" > 21 android:theme="@style/AppTheme" >
20 <activity 22 <activity
21 android:name="com.example.promoterdemo.MainActivity" 23 android:name="com.example.promoterdemo.MainActivity"
22 android:screenOrientation="portrait" 24 android:screenOrientation="portrait"
23 android:label="@string/app_name" > 25 android:label="@string/app_name" >
24 <intent-filter> 26 <intent-filter>
25 <action android:name="android.intent.action.MAIN" /> 27 <action android:name="android.intent.action.MAIN" />
26 28
27 <category android:name="android.intent.category.LAUNCHER" /> 29 <category android:name="android.intent.category.LAUNCHER" />
28 </intent-filter> 30 </intent-filter>
29 </activity> 31 </activity>
30 <activity 32 <activity
31 android:name="com.gumptech.promoter.activity.PromoterActivity" 33 android:name="com.gumptech.promoter.activity.PromoterActivity"
32 android:label="@string/app_name" 34 android:label="@string/app_name"
33 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 35 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
34 android:screenOrientation="landscape" > 36 android:screenOrientation="landscape" >
35 </activity> 37 </activity>
36 38
37 </application> 39 </application>
38 40
39 </manifest> 41 </manifest>
40 42
android/PromoterDemo/bin/AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.example.promoterdemo" 3 package="com.example.promoterdemo"
4 android:versionCode="1" 4 android:versionCode="1"
5 android:versionName="1.0" > 5 android:versionName="1.0" >
6 6
7 <uses-sdk 7 <uses-sdk
8 android:minSdkVersion="8" 8 android:minSdkVersion="8"
9 android:targetSdkVersion="19" /> 9 android:targetSdkVersion="19" />
10 <uses-permission android:name="android.permission.INTERNET" /> 10 <uses-permission android:name="android.permission.INTERNET" />
11 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 <uses-permission android:name="android.permission.BLUETOOTH" /> 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
15 <application 17 <application
16 android:allowBackup="true" 18 android:allowBackup="true"
17 android:icon="@drawable/ic_launcher" 19 android:icon="@drawable/ic_launcher"
18 android:label="@string/app_name" 20 android:label="@string/app_name"
19 android:theme="@style/AppTheme" > 21 android:theme="@style/AppTheme" >
20 <activity 22 <activity
21 android:name="com.example.promoterdemo.MainActivity" 23 android:name="com.example.promoterdemo.MainActivity"
22 android:screenOrientation="portrait" 24 android:screenOrientation="portrait"
23 android:label="@string/app_name" > 25 android:label="@string/app_name" >
24 <intent-filter> 26 <intent-filter>
25 <action android:name="android.intent.action.MAIN" /> 27 <action android:name="android.intent.action.MAIN" />
26 28
27 <category android:name="android.intent.category.LAUNCHER" /> 29 <category android:name="android.intent.category.LAUNCHER" />
28 </intent-filter> 30 </intent-filter>
29 </activity> 31 </activity>
30 <activity 32 <activity
31 android:name="com.gumptech.promoter.activity.PromoterActivity" 33 android:name="com.gumptech.promoter.activity.PromoterActivity"
32 android:label="@string/app_name" 34 android:label="@string/app_name"
33 android:theme="@android:style/Theme.NoTitleBar.Fullscreen" 35 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
34 android:screenOrientation="landscape" > 36 android:screenOrientation="landscape" >
35 </activity> 37 </activity>
36 38
37 </application> 39 </application>
38 40
39 </manifest> 41 </manifest>
40 42
android/PromoterDemo/bin/PromoterDemo.apk
No preview for this file type
android/PromoterDemo/bin/R.txt
1 int color already_verification 0x7f040005 1 int color already_verification 0x7f040005
2 int color bankground 0x7f040006
2 int color black 0x7f040001 3 int color black 0x7f040001
3 int color have_reward_color 0x7f040002 4 int color have_reward_color 0x7f040002
4 int color no_reward_color 0x7f040003 5 int color no_reward_color 0x7f040003
5 int color validate 0x7f040004 6 int color validate 0x7f040004
6 int color white 0x7f040000 7 int color white 0x7f040000
7 int dimen activity_horizontal_margin 0x7f050000 8 int dimen activity_horizontal_margin 0x7f050000
8 int dimen activity_vertical_margin 0x7f050001 9 int dimen activity_vertical_margin 0x7f050001
9 int drawable close_image 0x7f020000 10 int drawable close_image 0x7f020000
10 int drawable confirm 0x7f020001 11 int drawable confirm 0x7f020001
11 int drawable confirm_grey 0x7f020002 12 int drawable confirm_grey 0x7f020002
12 int drawable edite_hint 0x7f020003 13 int drawable edite_hint 0x7f020003
13 int drawable ic_launcher 0x7f020004 14 int drawable ic_launcher 0x7f020004
14 int drawable instructions 0x7f020005 15 int drawable instructions 0x7f020005
15 int drawable left_image 0x7f020006 16 int drawable middle_instructions 0x7f020006
16 int drawable middle_instructions 0x7f020007 17 int drawable progress_bar 0x7f020007
17 int drawable progress_bar 0x7f020008 18 int drawable progress_bar_background 0x7f020008
18 int drawable progress_bar_background 0x7f020009 19 int drawable progress_instructions 0x7f020009
19 int drawable progressbar_horizontal_1 0x7f02000a 20 int drawable progressbar_horizontal_1 0x7f02000a
20 int drawable promoter_linked 0x7f02000b 21 int drawable promoter_linked 0x7f02000b
21 int drawable reward 0x7f02000c 22 int drawable reward 0x7f02000c
22 int drawable reward_grey 0x7f02000d 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 int id action_settings 0x7f09000e 24 int id action_settings 0x7f09000e
27 int id click_textview 0x7f090000 25 int id click_textview 0x7f090000
28 int id close_image 0x7f090006 26 int id close_image 0x7f090007
29 int id confirm 0x7f09000d 27 int id confirm 0x7f09000d
30 int id edittext 0x7f09000c 28 int id edittext 0x7f09000c
31 int id edittext_layout 0x7f09000b 29 int id left_imge 0x7f090002
32 int id left_imge 0x7f090001 30 int id middle_instructions 0x7f09000b
33 int id middle_instructions 0x7f09000a 31 int id prgress_bar 0x7f090009
34 int id prgress_bar 0x7f090008 32 int id progress_instructions 0x7f090008
35 int id progress_instructions 0x7f090007 33 int id promoter_linked 0x7f090006
36 int id promoter_linked 0x7f090005 34 int id reward 0x7f09000a
37 int id reward 0x7f090009 35 int id right_down_imge 0x7f090005
38 int id right_down_imge 0x7f090004 36 int id right_imge 0x7f090003
39 int id right_imge 0x7f090002 37 int id right_top_imge 0x7f090004
40 int id right_top_imge 0x7f090003 38 int id root_layout 0x7f090001
41 int layout activity_main 0x7f030000 39 int layout activity_main 0x7f030000
42 int layout activity_promoter 0x7f030001 40 int layout activity_promoter 0x7f030001
43 int menu main 0x7f080000 41 int menu main 0x7f080000
44 int string action_settings 0x7f060001 42 int string action_settings 0x7f060001
45 int string app_name 0x7f060000 43 int string app_name 0x7f060000
46 int string hello_world 0x7f060002 44 int string hello_world 0x7f060002
47 int style AppBaseTheme 0x7f070000 45 int style AppBaseTheme 0x7f070000
48 int style AppTheme 0x7f070001 46 int style AppTheme 0x7f070001
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
File was created 1 proguard.config=proguard.cfg \u52A0\u4E0A
android/PromoterDemo/gen/com/example/promoterdemo/R.java
1 /* AUTO-GENERATED FILE. DO NOT MODIFY. 1 /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 * 2 *
3 * This class was automatically generated by the 3 * This class was automatically generated by the
4 * aapt tool from the resource data it found. It 4 * aapt tool from the resource data it found. It
5 * should not be modified by hand. 5 * should not be modified by hand.
6 */ 6 */
7 7
8 package com.example.promoterdemo; 8 package com.example.promoterdemo;
9 9
10 public final class R { 10 public final class R {
11 public static final class attr { 11 public static final class attr {
12 } 12 }
13 public static final class color { 13 public static final class color {
14 /** 验证 14 /** 验证
15 */ 15 */
16 public static final int already_verification=0x7f040005; 16 public static final int already_verification=0x7f040005;
17 /** 验证
18 */
19 public static final int bankground=0x7f040006;
17 public static final int black=0x7f040001; 20 public static final int black=0x7f040001;
18 /** 有奖励 21 /** 有奖励
19 */ 22 */
20 public static final int have_reward_color=0x7f040002; 23 public static final int have_reward_color=0x7f040002;
21 /** 没奖励 24 /** 没奖励
22 */ 25 */
23 public static final int no_reward_color=0x7f040003; 26 public static final int no_reward_color=0x7f040003;
24 /** 验证 27 /** 验证
25 */ 28 */
26 public static final int validate=0x7f040004; 29 public static final int validate=0x7f040004;
27 public static final int white=0x7f040000; 30 public static final int white=0x7f040000;
28 } 31 }
29 public static final class dimen { 32 public static final class dimen {
30 /** 33 /**
31 Customize dimensions originally defined in res/values/dimens.xml (such as 34 Customize dimensions originally defined in res/values/dimens.xml (such as
32 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. 35 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
33 36
34 Default screen margins, per the Android Design guidelines. 37 Default screen margins, per the Android Design guidelines.
35 38
36 Customize dimensions originally defined in res/values/dimens.xml (such as 39 Customize dimensions originally defined in res/values/dimens.xml (such as
37 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. 40 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
38 41
39 */ 42 */
40 public static final int activity_horizontal_margin=0x7f050000; 43 public static final int activity_horizontal_margin=0x7f050000;
41 public static final int activity_vertical_margin=0x7f050001; 44 public static final int activity_vertical_margin=0x7f050001;
42 } 45 }
43 public static final class drawable { 46 public static final class drawable {
44 public static final int close_image=0x7f020000; 47 public static final int close_image=0x7f020000;
45 public static final int confirm=0x7f020001; 48 public static final int confirm=0x7f020001;
46 public static final int confirm_grey=0x7f020002; 49 public static final int confirm_grey=0x7f020002;
47 public static final int edite_hint=0x7f020003; 50 public static final int edite_hint=0x7f020003;
48 public static final int ic_launcher=0x7f020004; 51 public static final int ic_launcher=0x7f020004;
49 public static final int instructions=0x7f020005; 52 public static final int instructions=0x7f020005;
50 public static final int left_image=0x7f020006; 53 public static final int middle_instructions=0x7f020006;
51 public static final int middle_instructions=0x7f020007; 54 public static final int progress_bar=0x7f020007;
52 public static final int progress_bar=0x7f020008; 55 public static final int progress_bar_background=0x7f020008;
53 public static final int progress_bar_background=0x7f020009; 56 public static final int progress_instructions=0x7f020009;
54 public static final int progressbar_horizontal_1=0x7f02000a; 57 public static final int progressbar_horizontal_1=0x7f02000a;
55 public static final int promoter_linked=0x7f02000b; 58 public static final int promoter_linked=0x7f02000b;
56 public static final int reward=0x7f02000c; 59 public static final int reward=0x7f02000c;
57 public static final int reward_grey=0x7f02000d; 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 public static final class id { 62 public static final class id {
63 public static final int action_settings=0x7f09000e; 63 public static final int action_settings=0x7f09000e;
64 public static final int click_textview=0x7f090000; 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 public static final int confirm=0x7f09000d; 66 public static final int confirm=0x7f09000d;
67 public static final int edittext=0x7f09000c; 67 public static final int edittext=0x7f09000c;
68 public static final int edittext_layout=0x7f09000b; 68 public static final int left_imge=0x7f090002;
69 public static final int left_imge=0x7f090001; 69 public static final int middle_instructions=0x7f09000b;
70 public static final int middle_instructions=0x7f09000a; 70 public static final int prgress_bar=0x7f090009;
71 public static final int prgress_bar=0x7f090008; 71 public static final int progress_instructions=0x7f090008;
72 public static final int progress_instructions=0x7f090007; 72 public static final int promoter_linked=0x7f090006;
73 public static final int promoter_linked=0x7f090005; 73 public static final int reward=0x7f09000a;
74 public static final int reward=0x7f090009; 74 public static final int right_down_imge=0x7f090005;
75 public static final int right_down_imge=0x7f090004; 75 public static final int right_imge=0x7f090003;
76 public static final int right_imge=0x7f090002; 76 public static final int right_top_imge=0x7f090004;
77 public static final int right_top_imge=0x7f090003; 77 public static final int root_layout=0x7f090001;
78 } 78 }
79 public static final class layout { 79 public static final class layout {
80 public static final int activity_main=0x7f030000; 80 public static final int activity_main=0x7f030000;
81 public static final int activity_promoter=0x7f030001; 81 public static final int activity_promoter=0x7f030001;
82 } 82 }
83 public static final class menu { 83 public static final class menu {
84 public static final int main=0x7f080000; 84 public static final int main=0x7f080000;
85 } 85 }
86 public static final class string { 86 public static final class string {
87 public static final int action_settings=0x7f060001; 87 public static final int action_settings=0x7f060001;
88 public static final int app_name=0x7f060000; 88 public static final int app_name=0x7f060000;
89 public static final int hello_world=0x7f060002; 89 public static final int hello_world=0x7f060002;
90 } 90 }
91 public static final class style { 91 public static final class style {
92 /** 92 /**
93 Base application theme, dependent on API level. This theme is replaced 93 Base application theme, dependent on API level. This theme is replaced
94 by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 94 by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
95 95
96 96
97 Theme customizations available in newer API levels can go in 97 Theme customizations available in newer API levels can go in
98 res/values-vXX/styles.xml, while customizations related to 98 res/values-vXX/styles.xml, while customizations related to
99 backward-compatibility can go here. 99 backward-compatibility can go here.
100 100
101 101
102 Base application theme for API 11+. This theme completely replaces 102 Base application theme for API 11+. This theme completely replaces
103 AppBaseTheme from res/values/styles.xml on API 11+ devices. 103 AppBaseTheme from res/values/styles.xml on API 11+ devices.
104 104
105 API 11 theme customizations can go here. 105 API 11 theme customizations can go here.
106 106
107 Base application theme for API 14+. This theme completely replaces 107 Base application theme for API 14+. This theme completely replaces
108 AppBaseTheme from BOTH res/values/styles.xml and 108 AppBaseTheme from BOTH res/values/styles.xml and
109 res/values-v11/styles.xml on API 14+ devices. 109 res/values-v11/styles.xml on API 14+ devices.
110 110
111 API 14 theme customizations can go here. 111 API 14 theme customizations can go here.
112 */ 112 */
113 public static final int AppBaseTheme=0x7f070000; 113 public static final int AppBaseTheme=0x7f070000;
114 /** Application theme. 114 /** Application theme.
115 All customizations that are NOT specific to a particular API-level can go here. 115 All customizations that are NOT specific to a particular API-level can go here.
116 */ 116 */
117 public static final int AppTheme=0x7f070001; 117 public static final int AppTheme=0x7f070001;
android/PromoterDemo/gen/com/example/promoterrelease/R.java
1 /* AUTO-GENERATED FILE. DO NOT MODIFY. 1 /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 * 2 *
3 * This class was automatically generated by the 3 * This class was automatically generated by the
4 * aapt tool from the resource data it found. It 4 * aapt tool from the resource data it found. It
5 * should not be modified by hand. 5 * should not be modified by hand.
6 */ 6 */
7 package com.example.promoterrelease; 7 package com.example.promoterrelease;
8 8
9 public final class R { 9 public final class R {
10 public static final class color { 10 public static final class color {
11 public static final int already_verification = 0x7f040005; 11 public static final int already_verification = 0x7f040005;
12 public static final int bankground = 0x7f040006;
12 public static final int black = 0x7f040001; 13 public static final int black = 0x7f040001;
13 public static final int have_reward_color = 0x7f040002; 14 public static final int have_reward_color = 0x7f040002;
14 public static final int no_reward_color = 0x7f040003; 15 public static final int no_reward_color = 0x7f040003;
15 public static final int validate = 0x7f040004; 16 public static final int validate = 0x7f040004;
16 public static final int white = 0x7f040000; 17 public static final int white = 0x7f040000;
17 } 18 }
18 public static final class dimen { 19 public static final class dimen {
19 public static final int activity_horizontal_margin = 0x7f050000; 20 public static final int activity_horizontal_margin = 0x7f050000;
20 } 21 }
21 public static final class drawable { 22 public static final class drawable {
22 public static final int close_image = 0x7f020000; 23 public static final int close_image = 0x7f020000;
23 public static final int confirm = 0x7f020001; 24 public static final int confirm = 0x7f020001;
24 public static final int confirm_grey = 0x7f020002; 25 public static final int confirm_grey = 0x7f020002;
25 public static final int edite_hint = 0x7f020003; 26 public static final int edite_hint = 0x7f020003;
26 public static final int instructions = 0x7f020005; 27 public static final int instructions = 0x7f020005;
27 public static final int left_image = 0x7f020006; 28 public static final int middle_instructions = 0x7f020006;
28 public static final int middle_instructions = 0x7f020007; 29 public static final int progress_bar = 0x7f020007;
29 public static final int progress_bar = 0x7f020008; 30 public static final int progress_bar_background = 0x7f020008;
30 public static final int progress_bar_background = 0x7f020009; 31 public static final int progress_instructions = 0x7f020009;
31 public static final int progressbar_horizontal_1 = 0x7f02000a; 32 public static final int progressbar_horizontal_1 = 0x7f02000a;
32 public static final int promoter_linked = 0x7f02000b; 33 public static final int promoter_linked = 0x7f02000b;
33 public static final int reward = 0x7f02000c; 34 public static final int reward = 0x7f02000c;
34 public static final int reward_grey = 0x7f02000d; 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 public static final class id { 37 public static final class id {
40 public static final int close_image = 0x7f090006; 38 public static final int close_image = 0x7f090007;
41 public static final int confirm = 0x7f09000d; 39 public static final int confirm = 0x7f09000d;
42 public static final int edittext = 0x7f09000c; 40 public static final int edittext = 0x7f09000c;
43 public static final int edittext_layout = 0x7f09000b; 41 public static final int left_imge = 0x7f090002;
44 public static final int left_imge = 0x7f090001; 42 public static final int middle_instructions = 0x7f09000b;
45 public static final int middle_instructions = 0x7f09000a; 43 public static final int prgress_bar = 0x7f090009;
46 public static final int prgress_bar = 0x7f090008; 44 public static final int progress_instructions = 0x7f090008;
47 public static final int progress_instructions = 0x7f090007; 45 public static final int promoter_linked = 0x7f090006;
48 public static final int promoter_linked = 0x7f090005; 46 public static final int reward = 0x7f09000a;
49 public static final int reward = 0x7f090009; 47 public static final int right_down_imge = 0x7f090005;
50 public static final int right_down_imge = 0x7f090004; 48 public static final int right_imge = 0x7f090003;
51 public static final int right_imge = 0x7f090002; 49 public static final int right_top_imge = 0x7f090004;
52 public static final int right_top_imge = 0x7f090003; 50 public static final int root_layout = 0x7f090001;
53 } 51 }
54 public static final class layout { 52 public static final class layout {
55 public static final int activity_promoter = 0x7f030001; 53 public static final int activity_promoter = 0x7f030001;
56 } 54 }
57 public static final class string { 55 public static final class string {
58 public static final int action_settings = 0x7f060001; 56 public static final int action_settings = 0x7f060001;
59 public static final int app_name = 0x7f060000; 57 public static final int app_name = 0x7f060000;
60 public static final int hello_world = 0x7f060002; 58 public static final int hello_world = 0x7f060002;
61 } 59 }
62 } 60 }
android/PromoterDemo/proguard.cfg
File was created 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 }
android/PromoterDemo/project.properties
1 # This file is automatically generated by Android Tools. 1 # This file is automatically generated by Android Tools.
2 # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 2 # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 # 3 #
4 # This file must be checked in Version Control Systems. 4 # This file must be checked in Version Control Systems.
5 # 5 #
6 # To customize properties used by the Ant build system edit 6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your 7 # "ant.properties", and override values to adapt the script to your
8 # project structure. 8 # project structure.
9 # 9 #
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 12
13 # Project target. 13 # Project target.
14 target=android-17 14 target=android-19
15 android.library.reference.1=..\\PromoterRelease 15 android.library.reference.1=..\\PromoterRelease
16 16
android/PromoterRelease/AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.example.promoterrelease" 3 package="com.example.promoterrelease"
4 android:versionCode="1" 4 android:versionCode="1"
5 android:versionName="1.0" > 5 android:versionName="1.0" >
6 6
7 <uses-sdk 7 <uses-sdk
8 android:minSdkVersion="8" 8 android:minSdkVersion="8"
9 android:targetSdkVersion="19" /> 9 android:targetSdkVersion="19" />
10 <uses-permission android:name="android.permission.INTERNET" /> 10 <uses-permission android:name="android.permission.INTERNET" />
11 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 <uses-permission android:name="android.permission.BLUETOOTH" /> 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 <application 14 <application
16 android:allowBackup="true" 15 android:allowBackup="true"
17 > 16 >
18 17
19 </application> 18 </application>
20 19
21 </manifest> 20 </manifest>
22 21
android/PromoterRelease/bin/AndroidManifest.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="com.example.promoterrelease" 3 package="com.example.promoterrelease"
4 android:versionCode="1" 4 android:versionCode="1"
5 android:versionName="1.0" > 5 android:versionName="1.0" >
6 6
7 <uses-sdk 7 <uses-sdk
8 android:minSdkVersion="8" 8 android:minSdkVersion="8"
9 android:targetSdkVersion="19" /> 9 android:targetSdkVersion="19" />
10 <uses-permission android:name="android.permission.INTERNET" /> 10 <uses-permission android:name="android.permission.INTERNET" />
11 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 11 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
12 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 12 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
13 <uses-permission android:name="android.permission.BLUETOOTH" /> 13 <uses-permission android:name="android.permission.BLUETOOTH" />
14 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
15 <application 14 <application
16 android:allowBackup="true" 15 android:allowBackup="true"
17 > 16 >
18 17
19 </application> 18 </application>
20 19
21 </manifest> 20 </manifest>
22 21
android/PromoterRelease/bin/R.txt
1 int color already_verification 0x7f040005 1 int color already_verification 0x7f040005
2 int color bankground 0x7f040006
2 int color black 0x7f040001 3 int color black 0x7f040001
3 int color have_reward_color 0x7f040002 4 int color have_reward_color 0x7f040002
4 int color no_reward_color 0x7f040003 5 int color no_reward_color 0x7f040003
5 int color validate 0x7f040004 6 int color validate 0x7f040004
6 int color white 0x7f040000 7 int color white 0x7f040000
7 int dimen activity_horizontal_margin 0x7f050000 8 int dimen activity_horizontal_margin 0x7f050000
8 int drawable close_image 0x7f020000 9 int drawable close_image 0x7f020000
9 int drawable confirm 0x7f020001 10 int drawable confirm 0x7f020001
10 int drawable confirm_grey 0x7f020002 11 int drawable confirm_grey 0x7f020002
11 int drawable edite_hint 0x7f020003 12 int drawable edite_hint 0x7f020003
12 int drawable instructions 0x7f020004 13 int drawable instructions 0x7f020004
13 int drawable left_image 0x7f020005 14 int drawable middle_instructions 0x7f020005
14 int drawable middle_instructions 0x7f020006 15 int drawable progress_bar 0x7f020006
15 int drawable progress_bar 0x7f020007 16 int drawable progress_bar_background 0x7f020007
16 int drawable progress_bar_background 0x7f020008 17 int drawable progress_instructions 0x7f020008
17 int drawable progressbar_horizontal_1 0x7f020009 18 int drawable progressbar_horizontal_1 0x7f020009
18 int drawable promoter_linked 0x7f02000a 19 int drawable promoter_linked 0x7f02000a
19 int drawable reward 0x7f02000b 20 int drawable reward 0x7f02000b
20 int drawable reward_grey 0x7f02000c 21 int drawable reward_grey 0x7f02000c
21 int drawable right_down 0x7f02000d 22 int id close_image 0x7f070006
22 int drawable right_image 0x7f02000e
23 int drawable right_top 0x7f02000f
24 int id close_image 0x7f070005
25 int id confirm 0x7f07000c 23 int id confirm 0x7f07000c
26 int id edittext 0x7f07000b 24 int id edittext 0x7f07000b
27 int id edittext_layout 0x7f07000a 25 int id left_imge 0x7f070001
28 int id left_imge 0x7f070000 26 int id middle_instructions 0x7f07000a
29 int id middle_instructions 0x7f070009 27 int id prgress_bar 0x7f070008
30 int id prgress_bar 0x7f070007 28 int id progress_instructions 0x7f070007
31 int id progress_instructions 0x7f070006 29 int id promoter_linked 0x7f070005
32 int id promoter_linked 0x7f070004 30 int id reward 0x7f070009
33 int id reward 0x7f070008 31 int id right_down_imge 0x7f070004
34 int id right_down_imge 0x7f070003 32 int id right_imge 0x7f070002
35 int id right_imge 0x7f070001 33 int id right_top_imge 0x7f070003
36 int id right_top_imge 0x7f070002 34 int id root_layout 0x7f070000
37 int layout activity_promoter 0x7f030000 35 int layout activity_promoter 0x7f030000
38 int string action_settings 0x7f060001 36 int string action_settings 0x7f060001
39 int string app_name 0x7f060000 37 int string app_name 0x7f060000
40 int string hello_world 0x7f060002 38 int string hello_world 0x7f060002
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
1 /* AUTO-GENERATED FILE. DO NOT MODIFY. 1 /* AUTO-GENERATED FILE. DO NOT MODIFY.
2 * 2 *
3 * This class was automatically generated by the 3 * This class was automatically generated by the
4 * aapt tool from the resource data it found. It 4 * aapt tool from the resource data it found. It
5 * should not be modified by hand. 5 * should not be modified by hand.
6 */ 6 */
7 7
8 package com.example.promoterrelease; 8 package com.example.promoterrelease;
9 9
10 public final class R { 10 public final class R {
11 public static final class attr { 11 public static final class attr {
12 } 12 }
13 public static final class color { 13 public static final class color {
14 /** 验证 14 /** 验证
15 */ 15 */
16 public static int already_verification=0x7f040005; 16 public static int already_verification=0x7f040005;
17 /** 验证
18 */
19 public static int bankground=0x7f040006;
17 public static int black=0x7f040001; 20 public static int black=0x7f040001;
18 /** 有奖励 21 /** 有奖励
19 */ 22 */
20 public static int have_reward_color=0x7f040002; 23 public static int have_reward_color=0x7f040002;
21 /** 没奖励 24 /** 没奖励
22 */ 25 */
23 public static int no_reward_color=0x7f040003; 26 public static int no_reward_color=0x7f040003;
24 /** 验证 27 /** 验证
25 */ 28 */
26 public static int validate=0x7f040004; 29 public static int validate=0x7f040004;
27 public static int white=0x7f040000; 30 public static int white=0x7f040000;
28 } 31 }
29 public static final class dimen { 32 public static final class dimen {
30 /** 33 /**
31 Customize dimensions originally defined in res/values/dimens.xml (such as 34 Customize dimensions originally defined in res/values/dimens.xml (such as
32 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. 35 screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
33 36
34 */ 37 */
35 public static int activity_horizontal_margin=0x7f050000; 38 public static int activity_horizontal_margin=0x7f050000;
36 } 39 }
37 public static final class drawable { 40 public static final class drawable {
38 public static int close_image=0x7f020000; 41 public static int close_image=0x7f020000;
39 public static int confirm=0x7f020001; 42 public static int confirm=0x7f020001;
40 public static int confirm_grey=0x7f020002; 43 public static int confirm_grey=0x7f020002;
41 public static int edite_hint=0x7f020003; 44 public static int edite_hint=0x7f020003;
42 public static int instructions=0x7f020004; 45 public static int instructions=0x7f020004;
43 public static int left_image=0x7f020005; 46 public static int middle_instructions=0x7f020005;
44 public static int middle_instructions=0x7f020006; 47 public static int progress_bar=0x7f020006;
45 public static int progress_bar=0x7f020007; 48 public static int progress_bar_background=0x7f020007;
46 public static int progress_bar_background=0x7f020008; 49 public static int progress_instructions=0x7f020008;
47 public static int progressbar_horizontal_1=0x7f020009; 50 public static int progressbar_horizontal_1=0x7f020009;
48 public static int promoter_linked=0x7f02000a; 51 public static int promoter_linked=0x7f02000a;
49 public static int reward=0x7f02000b; 52 public static int reward=0x7f02000b;
50 public static int reward_grey=0x7f02000c; 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 public static final class id { 55 public static final class id {
56 public static int close_image=0x7f070005; 56 public static int close_image=0x7f070006;
57 public static int confirm=0x7f07000c; 57 public static int confirm=0x7f07000c;
58 public static int edittext=0x7f07000b; 58 public static int edittext=0x7f07000b;
59 public static int edittext_layout=0x7f07000a; 59 public static int left_imge=0x7f070001;
60 public static int left_imge=0x7f070000; 60 public static int middle_instructions=0x7f07000a;
61 public static int middle_instructions=0x7f070009; 61 public static int prgress_bar=0x7f070008;
62 public static int prgress_bar=0x7f070007; 62 public static int progress_instructions=0x7f070007;
63 public static int progress_instructions=0x7f070006; 63 public static int promoter_linked=0x7f070005;
64 public static int promoter_linked=0x7f070004; 64 public static int reward=0x7f070009;
65 public static int reward=0x7f070008; 65 public static int right_down_imge=0x7f070004;
66 public static int right_down_imge=0x7f070003; 66 public static int right_imge=0x7f070002;
67 public static int right_imge=0x7f070001; 67 public static int right_top_imge=0x7f070003;
68 public static int right_top_imge=0x7f070002; 68 public static int root_layout=0x7f070000;
69 } 69 }
70 public static final class layout { 70 public static final class layout {
71 public static int activity_promoter=0x7f030000; 71 public static int activity_promoter=0x7f030000;
72 } 72 }
73 public static final class string { 73 public static final class string {
74 public static int action_settings=0x7f060001; 74 public static int action_settings=0x7f060001;
75 public static int app_name=0x7f060000; 75 public static int app_name=0x7f060000;
76 public static int hello_world=0x7f060002; 76 public static int hello_world=0x7f060002;
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
1 # This file is automatically generated by Android Tools. 1 # This file is automatically generated by Android Tools.
2 # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 2 # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 # 3 #
4 # This file must be checked in Version Control Systems. 4 # This file must be checked in Version Control Systems.
5 # 5 #
6 # To customize properties used by the Ant build system edit 6 # To customize properties used by the Ant build system edit
7 # "ant.properties", and override values to adapt the script to your 7 # "ant.properties", and override values to adapt the script to your
8 # project structure. 8 # project structure.
9 # 9 #
10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 10 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 12
13 # Project target. 13 # Project target.
14 target=android-17 14 target=android-19
15 android.library=true 15 android.library=true
16 16
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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools" 2 xmlns:tools="http://schemas.android.com/tools"
3 android:id="@+id/root_layout"
3 android:layout_width="match_parent" 4 android:layout_width="match_parent"
4 android:layout_height="match_parent" 5 android:layout_height="match_parent"
6 android:background="@color/bankground"
5 android:orientation="horizontal" > 7 android:orientation="horizontal" >
6 8
7 <!-- 左边宣传图片 --> 9 <!-- 左边宣传图片 -->
8 10
9 <ImageView 11 <ImageView
10 android:id="@+id/left_imge" 12 android:id="@+id/left_imge"
11 android:layout_width="wrap_content" 13 android:layout_width="wrap_content"
12 android:layout_height="match_parent" 14 android:layout_height="match_parent"
15 android:layout_alignParentLeft="true"
13 android:scaleType="fitXY" 16 android:scaleType="fitXY"
14 android:src="@drawable/left_image" /> 17 />
15 <!-- 右边宣传图片 --> 18 <!-- 右边宣传图片 -->
16 19
17 <ImageView 20 <ImageView
18 android:id="@+id/right_imge" 21 android:id="@+id/right_imge"
19 android:layout_width="match_parent" 22 android:layout_width="match_parent"
20 android:layout_height="match_parent" 23 android:layout_height="match_parent"
21 android:layout_toRightOf="@+id/left_imge" 24 android:layout_toRightOf="@+id/left_imge"
22 android:scaleType="fitXY" 25 android:scaleType="fitXY"
23 android:visibility="gone" 26 android:visibility="gone" />
24 android:src="@drawable/right_image" />
25 <!-- 右边上 --> 27 <!-- 右边上 -->
28
26 <ImageView 29 <ImageView
27 android:id="@+id/right_top_imge" 30 android:id="@+id/right_top_imge"
28 android:layout_width="match_parent" 31 android:layout_width="match_parent"
29 android:layout_height="match_parent" 32 android:layout_height="match_parent"
30 android:layout_toRightOf="@+id/left_imge" 33 android:layout_toRightOf="@+id/left_imge"
31 android:scaleType="fitXY" 34 android:scaleType="fitXY"
32 android:src="@drawable/right_top" /> 35 />
33 <!-- 右边上下--> 36 <!-- 右边上下 -->
37
34 <ImageView 38 <ImageView
35 android:id="@+id/right_down_imge" 39 android:id="@+id/right_down_imge"
36 android:layout_width="match_parent" 40 android:layout_width="match_parent"
37 android:layout_height="match_parent" 41 android:layout_height="match_parent"
38 android:layout_toRightOf="@+id/left_imge"
39 android:layout_below="@+id/right_top_imge" 42 android:layout_below="@+id/right_top_imge"
43 android:layout_toRightOf="@+id/left_imge"
40 android:scaleType="fitXY" 44 android:scaleType="fitXY"
41 android:src="@drawable/right_down" /> 45 />
42 <!-- 获取推广链接按钮 --> 46 <!-- 获取推广链接按钮 -->
43 47
44 <Button 48 <Button
45 android:id="@+id/promoter_linked" 49 android:id="@+id/promoter_linked"
46 android:layout_width="wrap_content" 50 android:layout_width="wrap_content"
47 android:layout_height="wrap_content" 51 android:layout_height="wrap_content"
48 android:layout_alignParentBottom="true" 52 android:layout_alignParentBottom="true"
49 android:layout_alignParentLeft="true" 53 android:layout_alignParentLeft="true"
50 android:text="Promote" 54 android:background="@drawable/promoter_linked"
51 android:gravity="center" 55 android:gravity="center"
52 android:textColor="#ff000000" 56 android:paddingBottom="3dp"
53 android:background="@drawable/promoter_linked" /> 57 android:textSize="15sp"
58 android:text="Promote"
59 android:textColor="#ff000000" />
54 <!-- 关闭按钮 --> 60 <!-- 关闭按钮 -->
55 61
56 <ImageView 62 <ImageView
57 android:id="@+id/close_image" 63 android:id="@+id/close_image"
58 android:layout_width="54px" 64 android:layout_width="54px"
59 android:layout_height="54px" 65 android:layout_height="54px"
60 android:layout_alignParentRight="true" 66 android:layout_alignParentRight="true"
61 android:layout_alignParentTop="true" 67 android:layout_alignParentTop="true"
62 android:src="@drawable/close_image" /> 68 android:src="@drawable/close_image" />
63 <!-- 进度条上方进度提示 --> 69 <!-- 进度条上方进度提示 -->
64 70
65 <LinearLayout 71 <LinearLayout
66 android:id="@+id/progress_instructions" 72 android:id="@+id/progress_instructions"
67 android:layout_width="470px" 73 android:layout_width="470px"
68 android:layout_height="51px" 74 android:layout_height="51px"
69 android:layout_alignParentTop="true" 75 android:layout_alignParentTop="true"
70 android:layout_toRightOf="@+id/left_imge" 76 android:layout_toRightOf="@+id/left_imge"
71 android:orientation="horizontal" /> 77 android:orientation="horizontal" />
72 <!-- 进度条 --> 78 <!-- 进度条 -->
73 79
74 <com.gumptech.promoter.view.ProgressBar 80 <com.gumptech.promoter.view.ProgressBar
75 android:id="@+id/prgress_bar" 81 android:id="@+id/prgress_bar"
76 android:layout_width="470px" 82 android:layout_width="470px"
77 android:layout_height="64px" 83 android:layout_height="64px"
84 android:layout_below="@+id/progress_instructions"
85 android:layout_toRightOf="@+id/left_imge"
78 android:max="100" 86 android:max="100"
79 android:progress="30" 87 android:progress="30"
80 android:layout_below="@+id/progress_instructions" 88 android:progressDrawable="@drawable/progressbar_horizontal_1" />
81 android:layout_toRightOf="@+id/left_imge"
82
83 android:progressDrawable="@drawable/progressbar_horizontal_1"
84 />
85 <!-- 获取奖励 --> 89 <!-- 获取奖励 -->
86 90
87 <Button 91 <Button
88 android:id="@+id/reward" 92 android:id="@+id/reward"
89 android:layout_width="207px" 93 android:layout_width="207px"
90 android:layout_height="86px" 94 android:layout_height="86px"
91 android:layout_alignParentTop="true" 95 android:layout_alignParentTop="true"
92 android:layout_toRightOf="@+id/prgress_bar" 96 android:layout_toRightOf="@+id/prgress_bar"
97 android:background="@drawable/reward_grey"
98 android:gravity="bottom|center_horizontal"
99 android:paddingBottom="2dp"
93 android:scaleType="fitXY" 100 android:scaleType="fitXY"
94 android:text="claim" 101 android:text="claim"
95 android:paddingBottom="2dp" 102 android:textColor="#ff0000" />
96 android:textColor="#ff0000"
97 android:gravity="bottom|center_horizontal"
98 android:background="@drawable/reward"
99 />
100 <!-- 中间指示 --> 103 <!-- 中间指示 -->
101 104
102 <ImageView 105 <ImageView
103 android:id="@+id/middle_instructions" 106 android:id="@+id/middle_instructions"
104 android:layout_width="57px" 107 android:layout_width="57px"
105 android:layout_height="38px" 108 android:layout_height="38px"
106 android:layout_alignParentLeft="true" 109 android:layout_alignParentLeft="true"
107 android:layout_alignParentTop="true" 110 android:layout_alignParentTop="true"
108 android:scaleType="fitXY" 111 android:scaleType="fitXY"
109 android:src="@drawable/middle_instructions" /> 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 <EditText 114 <EditText
122 android:id="@+id/edittext" 115 android:id="@+id/edittext"
123 android:layout_width="336px" 116 android:layout_width="336px"
124 android:layout_height="78px" 117 android:layout_height="78px"
125 android:textColor="#ff9000" 118 android:layout_alignParentBottom="true"
126 android:background="#00000000" /> 119 android:layout_toRightOf="@+id/left_imge"
127 </LinearLayout> 120 android:background="@drawable/edite_hint"
121 android:textColor="#ff9000" />
128 122
129 <Button 123 <Button
130 android:id="@+id/confirm" 124 android:id="@+id/confirm"
131 android:layout_width="173px" 125 android:layout_width="173px"
android/PromoterRelease/res/values/colors.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <resources> 2 <resources>
3 3
4 <color name="white">#ffffff</color> 4 <color name="white">#ffffff</color>
5 <color name="black">#000000</color> 5 <color name="black">#000000</color>
6 <!-- 有奖励 --> 6 <!-- 有奖励 -->
7 <color name="have_reward_color">#ff9d1e</color> 7 <color name="have_reward_color">#ff9d1e</color>
8 <!-- 没奖励 --> 8 <!-- 没奖励 -->
9 <color name="no_reward_color">#514c52</color> 9 <color name="no_reward_color">#514c52</color>
10 <!-- 验证 --> 10 <!-- 验证 -->
11 <color name="validate">#ff0000</color> 11 <color name="validate">#ff0000</color>
12 <!-- 验证 --> 12 <!-- 验证 -->
13 <color name="already_verification">#6c6a6e</color> 13 <color name="already_verification">#6c6a6e</color>
14 <!-- 验证 -->
15 <color name="bankground">#CDc1c1</color>
14 16
15 17
16 18
17 19
18 20
19 21
20 22
21 </resources> 23 </resources>