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
5c196c3a
Commit
5c196c3a
authored
Sep 26, 2019
by
jianglx
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-video' of
http://113.105.137.151:22280/lify/rvapp
into dev_im
parents
167a1566
edad51b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
PersonalInformationActivity.java
...a/com/rv/rvmine/traveler/PersonalInformationActivity.java
+5
-3
activity_personal_information.xml
...ine/src/main/res/layout/activity_personal_information.xml
+1
-0
No files found.
module_mine/src/main/java/com/rv/rvmine/traveler/PersonalInformationActivity.java
View file @
5c196c3a
...
...
@@ -113,8 +113,6 @@ public class PersonalInformationActivity extends BaseStatusActivity<PickerPresen
protected
void
initView
(
Bundle
savedInstanceState
,
TitleView
titleView
,
Intent
intent
)
{
titleView
.
setTitle
(
"个人资料"
);
titleView
.
setText
(
R
.
id
.
tv_title_right
,
"保存"
);
etNickname
.
addTextChangedListener
(
new
MyTextWatcher
(
this
,
etNickname
,
32
));
titleView
.
setChildClickListener
(
R
.
id
.
tv_title_right
,
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
...
...
@@ -133,7 +131,11 @@ public class PersonalInformationActivity extends BaseStatusActivity<PickerPresen
if
(
info
.
getNickname
()
!=
null
)
{
etNickname
.
setText
(
info
.
getNickname
());
if
(!
TextUtils
.
isEmpty
(
info
.
getNickname
()))
{
if
(
info
.
getNickname
().
length
()
<=
32
)
{
etNickname
.
setSelection
(
info
.
getNickname
().
length
());
}
else
{
etNickname
.
setSelection
(
32
);
}
}
}
if
(
info
.
getRealname
()
!=
null
)
{
...
...
module_mine/src/main/res/layout/activity_personal_information.xml
View file @
5c196c3a
...
...
@@ -59,6 +59,7 @@
android:background=
"@null"
android:gravity=
"right|center_vertical"
android:hint=
"请输入昵称"
android:maxLength=
"32"
android:maxLines=
"1"
android:textColor=
"@color/colorMain"
android:textColorHint=
"@color/colorGray"
...
...
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