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
220e7061
Commit
220e7061
authored
Aug 28, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导航页第二个页面文字的修改
parent
428925b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
GuideSecondFragment.java
...c/main/java/com/xxfc/rv/fragment/GuideSecondFragment.java
+3
-3
No files found.
RvClient/src/main/java/com/xxfc/rv/fragment/GuideSecondFragment.java
View file @
220e7061
...
...
@@ -34,9 +34,9 @@ public class GuideSecondFragment extends BaseFragment<CommonPresenter> {
textView1
=
getView
().
findViewById
(
R
.
id
.
textview1
);
textView2
=
getView
().
findViewById
(
R
.
id
.
textview2
);
textView1
.
setText
(
"全国租车 异地取还"
);
SpannableStringBuilder
style
=
new
SpannableStringBuilder
(
"
覆盖200多个城市\n600多家门店\n说走就走
"
);
style
.
setSpan
(
new
ForegroundColorSpan
(
Color
.
RED
),
2
,
5
,
Spannable
.
SPAN_EXCLUSIVE_INCLUSIVE
);
style
.
setSpan
(
new
ForegroundColorSpan
(
Color
.
RED
),
10
,
13
,
Spannable
.
SPAN_EXCLUSIVE_INCLUSIVE
);
SpannableStringBuilder
style
=
new
SpannableStringBuilder
(
"
数百个城市自由来回\n门店遍布全国
"
);
//
style.setSpan(new ForegroundColorSpan(Color.RED),2,5,Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
//
style.setSpan(new ForegroundColorSpan(Color.RED),10,13,Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
textView2
.
setText
(
style
);
Glide
.
with
(
getActivity
())
.
asBitmap
()
...
...
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