Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lify
RvApp
Commits
88186d5d
Commit
88186d5d
authored
Jul 29, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配推广有奖界面,添加推荐规则界面。
parent
fefc2e52
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
588 additions
and
252 deletions
+588
-252
AndroidManifest.xml
plugin_share/src/main/AndroidManifest.xml
+10
-8
ReativeBillActivity.java
...share/src/main/java/com/rv/share/ReativeBillActivity.java
+4
-3
ShareActivity.java
plugin_share/src/main/java/com/rv/share/ShareActivity.java
+5
-3
ShareRulerActivity.java
..._share/src/main/java/com/rv/share/ShareRulerActivity.java
+27
-0
RvWebView.java
plugin_share/src/main/java/com/rv/share/view/RvWebView.java
+0
-1
bg_share_ruler_tab.xml
..._share/src/main/res/drawable-xhdpi/bg_share_ruler_tab.xml
+10
-0
icon_line_share_ruler.xml
...are/src/main/res/drawable-xhdpi/icon_line_share_ruler.xml
+8
-0
icon_share_ruler_down.png
...are/src/main/res/drawable-xhdpi/icon_share_ruler_down.png
+0
-0
bg_share_top.jpg
plugin_share/src/main/res/drawable-xxhdpi/bg_share_top.jpg
+0
-0
banner_share_ruler_top.png
...in_share/src/main/res/drawable/banner_share_ruler_top.png
+0
-0
icon_triangle_share_ruler.xml
...share/src/main/res/drawable/icon_triangle_share_ruler.xml
+8
-0
activity_reative_bill.xml
plugin_share/src/main/res/layout/activity_reative_bill.xml
+4
-3
activity_share.xml
plugin_share/src/main/res/layout/activity_share.xml
+242
-234
activity_share_ruler.xml
plugin_share/src/main/res/layout/activity_share_ruler.xml
+270
-0
No files found.
plugin_share/src/main/AndroidManifest.xml
View file @
88186d5d
...
@@ -6,16 +6,18 @@
...
@@ -6,16 +6,18 @@
<activity
android:name=
".ShareActivity"
/>
<activity
android:name=
".ShareActivity"
/>
<activity
android:name=
".BillActivity"
/>
<activity
android:name=
".BillActivity"
/>
<activity
android:name=
".WebViewActivity"
>
<activity
android:name=
".WebViewActivity"
>
<!--<intent-filter>-->
<!--<data android:scheme="rv" android:host="xxfc" android:path="/activity" />-->
<!-- <intent-filter> -->
<!--<!–下面这几行也必须得设置–>-->
<!-- <data android:scheme="rv" android:host="xxfc" android:path="/activity" /> -->
<!--<category android:name="android.intent.category.DEFAULT"/>-->
<!-- <!–下面这几行也必须得设置–> -->
<!--<action android:name="android.intent.action.VIEW"/>-->
<!-- <category android:name="android.intent.category.DEFAULT"/> -->
<!--<category android:name="android.intent.category.BROWSABLE"/>-->
<!-- <action android:name="android.intent.action.VIEW"/> -->
<!--</intent-filter>-->
<!-- <category android:name="android.intent.category.BROWSABLE"/> -->
<!-- </intent-filter> -->
</activity>
</activity>
<activity
android:name=
".ReativeBillActivity"
/>
<activity
android:name=
".ReativeBillActivity"
/>
<activity
android:name=
".PopularizeActivity"
></activity>
<activity
android:name=
".PopularizeActivity"
/>
<activity
android:name=
".ShareRulerActivity"
></activity>
</application>
</application>
</manifest>
</manifest>
\ No newline at end of file
plugin_share/src/main/java/com/rv/share/ReativeBillActivity.java
View file @
88186d5d
...
@@ -87,11 +87,12 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter
...
@@ -87,11 +87,12 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter
}
}
@OnClick
({
R2
.
id
.
btn_save_bill
,
R2
.
id
.
btn_share
})
@OnClick
({
R2
.
id
.
btn_save_bill
,
R2
.
id
.
btn_share
,
R2
.
id
.
tv_back_title
})
public
void
onViewClicked
(
View
view
)
{
public
void
onViewClicked
(
View
view
)
{
int
id
=
view
.
getId
();
int
id
=
view
.
getId
();
if
(
id
==
R
.
id
.
tv_back_title
)
{
if
(
id
==
R
.
id
.
btn_save_bill
)
{
finish
();
}
else
if
(
id
==
R
.
id
.
btn_save_bill
)
{
mPresenter
.
saveBill
(
llContent
);
mPresenter
.
saveBill
(
llContent
);
}
else
if
(
id
==
R
.
id
.
btn_share
)
{
}
else
if
(
id
==
R
.
id
.
btn_share
)
{
mPresenter
.
saveShare
(
llContent
);
mPresenter
.
saveShare
(
llContent
);
...
...
plugin_share/src/main/java/com/rv/share/ShareActivity.java
View file @
88186d5d
...
@@ -115,13 +115,13 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
...
@@ -115,13 +115,13 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
shareUrl
=
RvFrameConfig
.
HOST
+
"/h5/appHtml/view/invitationCourtesyShare.html?code="
+
code
+
"_P0101"
;
shareUrl
=
RvFrameConfig
.
HOST
+
"/h5/appHtml/view/invitationCourtesyShare.html?code="
+
code
+
"_P0101"
;
}
}
if
(
id
==
R
.
id
.
tv_weixin
)
{
if
(
id
==
R
.
id
.
tv_weixin
)
{
mPresenter
.
shareWx
(
shareUrl
,
"
【滴房车】"
,
"新人专享大礼包,快去领!
"
);
mPresenter
.
shareWx
(
shareUrl
,
"
新人专享大礼包,快去领!"
,
"
"
);
}
else
if
(
id
==
R
.
id
.
tv_weixin_circle
)
{
}
else
if
(
id
==
R
.
id
.
tv_weixin_circle
)
{
mPresenter
.
shareWxC
(
shareUrl
,
"
【滴房车】"
,
"新人专享大礼包,快去领!
"
);
mPresenter
.
shareWxC
(
shareUrl
,
"
新人专享大礼包,快去领!"
,
"
"
);
}
else
if
(
id
==
R
.
id
.
tv_bill
)
{
}
else
if
(
id
==
R
.
id
.
tv_bill
)
{
startActivity
(
ReativeBillActivity
.
getIntent
(
this
,
shareUrl
));
startActivity
(
ReativeBillActivity
.
getIntent
(
this
,
shareUrl
));
}
else
if
(
id
==
R
.
id
.
tv_more
)
{
}
else
if
(
id
==
R
.
id
.
tv_more
)
{
mPresenter
.
shareMore
(
shareUrl
,
"
【滴房车】"
,
"新人专享大礼包,快去领!
"
);
mPresenter
.
shareMore
(
shareUrl
,
"
新人专享大礼包,快去领!"
,
"
"
);
}
else
if
(
id
==
R
.
id
.
tv_more_detail
)
{
}
else
if
(
id
==
R
.
id
.
tv_more_detail
)
{
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
}
else
if
(
id
==
R
.
id
.
ll_activation
)
{
}
else
if
(
id
==
R
.
id
.
ll_activation
)
{
...
@@ -130,6 +130,8 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
...
@@ -130,6 +130,8 @@ public class ShareActivity extends BaseStatusActivity<SharePresenter> {
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
1
));
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
1
));
}
else
if
(
id
==
R
.
id
.
ll_comein
)
{
}
else
if
(
id
==
R
.
id
.
ll_comein
)
{
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
startActivity
(
PopularizeActivity
.
getIntent
(
getApplicationContext
(),
0
));
}
else
if
(
id
==
R
.
id
.
tv_ruler
)
{
startActivity
(
new
Intent
(
getApplicationContext
(),
ShareRulerActivity
.
class
));
}
}
}
}
...
...
plugin_share/src/main/java/com/rv/share/ShareRulerActivity.java
0 → 100644
View file @
88186d5d
package
com
.
rv
.
share
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
com.ruiwenliu.wrapper.base.BaseBean
;
import
com.ruiwenliu.wrapper.weight.TitleView
;
import
com.rv.home.rv.module.basic.BaseStatusActivity
;
import
com.rv.home.rv.module.basic.presenter.CommonPresenter
;
public
class
ShareRulerActivity
extends
BaseStatusActivity
<
CommonPresenter
>
{
@Override
protected
int
setLayout
()
{
return
R
.
layout
.
activity_share_ruler
;
}
@Override
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
titleView
.
setTitle
(
"推广有奖规则"
);
}
@Override
public
void
onShowResult
(
int
requestType
,
BaseBean
result
)
{
}
}
plugin_share/src/main/java/com/rv/share/view/RvWebView.java
View file @
88186d5d
...
@@ -98,7 +98,6 @@ public class RvWebView extends WebView {
...
@@ -98,7 +98,6 @@ public class RvWebView extends WebView {
WebResourceResponse
response
=
super
.
shouldInterceptRequest
(
view
,
request
);
WebResourceResponse
response
=
super
.
shouldInterceptRequest
(
view
,
request
);
return
response
;
return
response
;
}
}
};
};
public
WebChromeClient
webChromeClient
=
new
WebChromeClient
()
{
public
WebChromeClient
webChromeClient
=
new
WebChromeClient
()
{
...
...
plugin_share/src/main/res/drawable-xhdpi/bg_share_ruler_tab.xml
0 → 100644
View file @
88186d5d
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"#ffff9e74"
/>
<corners
android:bottomLeftRadius=
"80dp"
android:bottomRightRadius=
"80dp"
android:topLeftRadius=
"0dp"
android:topRightRadius=
"80dp"
/>
</shape>
plugin_share/src/main/res/drawable-xhdpi/icon_line_share_ruler.xml
0 → 100644
View file @
88186d5d
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<stroke
android:width=
"2dp"
android:color=
"#fffe6e2f"
/>
</shape>
\ No newline at end of file
plugin_share/src/main/res/drawable-xhdpi/icon_share_ruler_down.png
0 → 100644
View file @
88186d5d
267 Bytes
plugin_share/src/main/res/drawable-xxhdpi/bg_share_top.jpg
0 → 100644
View file @
88186d5d
28.1 KB
plugin_share/src/main/res/drawable/banner_share_ruler_top.png
0 → 100644
View file @
88186d5d
123 KB
plugin_share/src/main/res/drawable/icon_triangle_share_ruler.xml
0 → 100644
View file @
88186d5d
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<solid
android:color=
"#ffffffff"
/>
<stroke
android:width=
"2dp"
android:color=
"#fffe6e2f"
/>
</shape>
\ No newline at end of file
plugin_share/src/main/res/layout/activity_reative_bill.xml
View file @
88186d5d
...
@@ -10,8 +10,9 @@
...
@@ -10,8 +10,9 @@
tools:context=
".ReativeBillActivity"
>
tools:context=
".ReativeBillActivity"
>
<TextView
<TextView
android:id=
"@+id/tv_back_title"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/size_
48
"
android:layout_height=
"@dimen/size_
55
"
android:drawableLeft=
"@drawable/rv_common_icon_back_dark"
android:drawableLeft=
"@drawable/rv_common_icon_back_dark"
android:drawablePadding=
"5dp"
android:drawablePadding=
"5dp"
android:gravity=
"center"
android:gravity=
"center"
...
@@ -24,9 +25,9 @@
...
@@ -24,9 +25,9 @@
<include
layout=
"@layout/common_line"
/>
<include
layout=
"@layout/common_line"
/>
<FrameLayout
<FrameLayout
android:background=
"#55eeeeee"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:background=
"#55eeeeee"
>
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_content"
android:id=
"@+id/ll_content"
...
...
plugin_share/src/main/res/layout/activity_share.xml
View file @
88186d5d
...
@@ -4,28 +4,29 @@
...
@@ -4,28 +4,29 @@
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#F
EE4A9
"
android:background=
"#F
CE2A8
"
android:gravity=
"center_horizontal"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:orientation=
"vertical"
tools:context=
".ShareActivity"
>
tools:context=
".ShareActivity"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:orientation=
"vertical"
>
android:weightSum=
"19"
>
<FrameLayout
<FrameLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"wrap_content"
>
android:layout_weight=
"7"
>
<ImageView
<ImageView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"wrap_content"
android:scaleType=
"fitXY"
android:src=
"@drawable/bg_share_top"
/>
android:src=
"@drawable/bg_share_new1"
/>
<TextView
<TextView
android:id=
"@+id/tv_ruler"
android:id=
"@+id/tv_ruler"
...
@@ -43,15 +44,17 @@
...
@@ -43,15 +44,17 @@
<android.support.v7.widget.CardView
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"wrap_content"
android:layout_margin=
"@dimen/dp_10"
android:layout_marginLeft=
"@dimen/size_15"
android:layout_weight=
"5"
android:layout_marginTop=
"@dimen/size_10"
android:layout_marginRight=
"@dimen/size_15"
android:layout_marginBottom=
"@dimen/size_10"
android:background=
"@color/white"
android:background=
"@color/white"
app:cardCornerRadius=
"5dp"
>
app:cardCornerRadius=
"5dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<TextView
<TextView
...
@@ -66,9 +69,9 @@
...
@@ -66,9 +69,9 @@
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:layout_marginTop=
"@dimen/size_1
0"
android:layout_marginTop=
"@dimen/size_2
0"
android:layout_marginBottom=
"10dp
"
android:layout_marginBottom=
"@dimen/size_15
"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
...
@@ -79,6 +82,7 @@
...
@@ -79,6 +82,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:drawableTop=
"@drawable/icon_share_weixin"
android:drawableTop=
"@drawable/icon_share_weixin"
android:drawablePadding=
"@dimen/size_10"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"微信"
/>
android:text=
"微信"
/>
...
@@ -88,6 +92,7 @@
...
@@ -88,6 +92,7 @@
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:drawablePadding=
"@dimen/size_10"
android:drawableTop=
"@drawable/icon_share_wx_circle"
android:drawableTop=
"@drawable/icon_share_wx_circle"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"朋友圈"
/>
android:text=
"朋友圈"
/>
...
@@ -99,6 +104,7 @@
...
@@ -99,6 +104,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:drawableTop=
"@drawable/icon_share_code"
android:drawableTop=
"@drawable/icon_share_code"
android:drawablePadding=
"@dimen/size_10"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"邀请码"
/>
android:text=
"邀请码"
/>
...
@@ -107,7 +113,7 @@
...
@@ -107,7 +113,7 @@
android:id=
"@+id/tv_more"
android:id=
"@+id/tv_more"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawablePadding=
"@dimen/size_10"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:drawableTop=
"@drawable/icon_share_more"
android:drawableTop=
"@drawable/icon_share_more"
android:gravity=
"center"
android:gravity=
"center"
...
@@ -122,17 +128,16 @@
...
@@ -122,17 +128,16 @@
<android.support.v7.widget.CardView
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/dp_10"
android:layout_marginLeft=
"@dimen/size_15"
android:layout_marginRight=
"@dimen/dp_10"
android:layout_marginRight=
"@dimen/size_15"
android:layout_marginBottom=
"@dimen/dp_10"
android:layout_marginBottom=
"@dimen/size_10"
android:layout_weight=
"5"
android:background=
"@color/white"
android:background=
"@color/white"
app:cardCornerRadius=
"5dp"
>
app:cardCornerRadius=
"5dp"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
<RelativeLayout
...
@@ -159,13 +164,15 @@
...
@@ -159,13 +164,15 @@
android:layout_centerVertical=
"true"
android:layout_centerVertical=
"true"
android:drawableRight=
"@drawable/common_icon_rig_gray"
android:drawableRight=
"@drawable/common_icon_rig_gray"
android:drawablePadding=
"3dp"
android:drawablePadding=
"3dp"
android:text=
"查看详情"
/>
android:text=
"查看详情"
android:textSize=
"@dimen/sp_12"
/>
</RelativeLayout>
</RelativeLayout>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:layout_marginTop=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_20"
android:layout_marginBottom=
"@dimen/size_15"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
android:weightSum=
"3"
>
android:weightSum=
"3"
>
...
@@ -173,7 +180,7 @@
...
@@ -173,7 +180,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_comein"
android:id=
"@+id/ll_comein"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -201,7 +208,7 @@
...
@@ -201,7 +208,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_invite"
android:id=
"@+id/ll_invite"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -229,7 +236,7 @@
...
@@ -229,7 +236,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_activation"
android:id=
"@+id/ll_activation"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"match_par
ent"
android:layout_height=
"wrap_cont
ent"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
...
@@ -258,11 +265,10 @@
...
@@ -258,11 +265,10 @@
<android.support.v7.widget.CardView
<android.support.v7.widget.CardView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_height=
"48dp"
android:layout_marginLeft=
"@dimen/dp_10"
android:layout_marginLeft=
"@dimen/size_15"
android:layout_marginRight=
"@dimen/dp_10"
android:layout_marginRight=
"@dimen/size_15"
android:layout_marginBottom=
"@dimen/dp_10"
android:layout_marginBottom=
"@dimen/size_10"
android:layout_weight=
"2"
android:background=
"@color/white"
android:background=
"@color/white"
app:cardCornerRadius=
"5dp"
>
app:cardCornerRadius=
"5dp"
>
...
@@ -309,4 +315,6 @@
...
@@ -309,4 +315,6 @@
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
plugin_share/src/main/res/layout/activity_share_ruler.xml
0 → 100644
View file @
88186d5d
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
tools:context=
".ShareRulerActivity"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"650px"
android:src=
"@drawable/banner_share_ruler_top"
/>
<TextView
android:layout_width=
"@dimen/size_80"
android:layout_height=
"@dimen/size_30"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_10"
android:background=
"@drawable/bg_share_ruler_tab"
android:gravity=
"center"
android:text=
"活动时间"
android:textColor=
"@color/white"
android:textSize=
"@dimen/sp_16"
/>
<TextView
android:id=
"@+id/tv_ac_time"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_10"
android:text=
"2019-06-25 10:00~2019-06-25 10:00"
android:textColor=
"#666666"
android:textSize=
"@dimen/sp_14"
/>
<TextView
android:layout_width=
"@dimen/size_80"
android:layout_height=
"@dimen/size_30"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_10"
android:background=
"@drawable/bg_share_ruler_tab"
android:gravity=
"center"
android:text=
"活动简介"
android:textColor=
"@color/white"
android:textSize=
"@dimen/sp_16"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_10"
android:layout_marginRight=
"@dimen/size_10"
android:text=
" 分享你的推广码或专属链接给您的好友,邀请好友下载进入APP体验并注册。在好友注册的时间开始算2个月,每当您的1位好友完成1次租车或房车游行程或购买会员并支付订单,您便可获得好友支付订单金额(不包括租车押金)的10%提成作为邀请奖励。您邀请下单的好友越多,您获得的奖励越多,奖励现金可提现。"
android:textColor=
"#ff666666"
android:textSize=
"@dimen/sp_14"
/>
<TextView
android:layout_width=
"@dimen/size_80"
android:layout_height=
"@dimen/size_30"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_20"
android:background=
"@drawable/bg_share_ruler_tab"
android:gravity=
"center"
android:text=
"参与流程"
android:textColor=
"@color/white"
android:textSize=
"@dimen/sp_16"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/size_10"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"进入 “滴房车APP”-“我的”-“推广有奖”"
/>
<ImageView
android:layout_width=
"5dp"
android:layout_height=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_3"
android:layout_marginBottom=
"3dp"
android:src=
"@drawable/icon_share_ruler_down"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"根据页面提示获得您的专属推广链接/码"
/>
<ImageView
android:layout_width=
"5dp"
android:layout_height=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_3"
android:layout_marginBottom=
"3dp"
android:src=
"@drawable/icon_share_ruler_down"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"分享给您的好友"
/>
<ImageView
android:layout_width=
"5dp"
android:layout_height=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_3"
android:layout_marginBottom=
"3dp"
android:src=
"@drawable/icon_share_ruler_down"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"好友可领取新人专享活动券"
/>
<ImageView
android:layout_width=
"5dp"
android:layout_height=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_3"
android:layout_marginBottom=
"3dp"
android:src=
"@drawable/icon_share_ruler_down"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"该好友成功支付订单并完成行程(2个月内)"
/>
<ImageView
android:layout_width=
"5dp"
android:layout_height=
"@dimen/size_20"
android:layout_marginTop=
"@dimen/size_3"
android:layout_marginBottom=
"3dp"
android:src=
"@drawable/icon_share_ruler_down"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/dp_40"
android:layout_marginLeft=
"@dimen/size_50"
android:layout_marginRight=
"@dimen/size_50"
android:background=
"@drawable/bg_income_item"
android:gravity=
"center"
android:text=
"您获得邀请奖励:订单20%的提成"
/>
</LinearLayout>
<TextView
android:layout_width=
"@dimen/size_80"
android:layout_height=
"@dimen/size_30"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_20"
android:background=
"@drawable/bg_share_ruler_tab"
android:gravity=
"center"
android:text=
"活动说明"
android:textColor=
"@color/white"
android:textSize=
"@dimen/sp_16"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/size_10"
android:layout_marginTop=
"@dimen/size_10"
android:layout_marginRight=
"@dimen/size_10"
android:text=
"1、满足下列条件的好友,可通过您分享的推广链接/码,领取的房车新人专享优惠券(券有效期15~60天):\n
a、好友有下载APP;\n
b、好友为新用户并未进行过注册;\n
c、好友的当前账号中无的房车新手券。\n
\n
2、您的好友在注册后2个月内体验的房车,确认行程并完成支付,您可获得邀请奖励;奖励将在您的好友成功支付订单后24小时内到账。\n
\n
3、拥有相同设备(手机)、账号、手机号、微信号、IP、银行卡或其他同理将视为同一用户(适用于您与您的好友),本活动仅对成功邀请好友完成并支付订单的用户发放邀请奖励。\n
\n
4、您获得的现金奖励可以在我的钱包页面“我的—我的钱包—提现”中进行提现。\n
\n
5、针对违规骗取邀请奖励的行为,将不予发放邀请奖励、追回相关奖励或封停账号,并依法追究法律责任。\n
\n
6、活动详情咨询:400-0369-369 "
android:textColor=
"#ff666666"
android:textSize=
"@dimen/sp_14"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/size_15"
android:layout_marginBottom=
"@dimen/size_20"
android:gravity=
"center"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"@dimen/size_50"
android:layout_height=
"@dimen/size_50"
android:src=
"@drawable/logo"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"5dp"
android:gravity=
"center_vertical|left"
android:orientation=
"vertical"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"滴房车"
android:textColor=
"#ffffb74b"
android:textSize=
"@dimen/text_18"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/size_2"
android:text=
"滴个房车去旅行"
android:textColor=
"#ffffb74b"
android:textSize=
"10sp"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment