Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Administrator
AloqaIM-Android
Commits
f1065cd2
Commit
f1065cd2
authored
Mar 02, 2019
by
Arthur Diniz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add hint text for username, name and email
Signed-off-by:
Arthur Diniz
<
arthurbdiniz@gmail.com
>
parent
4ff269e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
fragment_profile.xml
app/src/main/res/layout/fragment_profile.xml
+3
-3
strings.xml
app/src/main/res/values/strings.xml
+3
-0
No files found.
app/src/main/res/layout/fragment_profile.xml
View file @
f1065cd2
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
android:layout_height=
"48dp"
android:layout_height=
"48dp"
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
android:drawableStart=
"@drawable/ic_person_black_20dp"
android:drawableStart=
"@drawable/ic_person_black_20dp"
android:hint=
"@string/msg_
name
"
android:hint=
"@string/msg_
profile_name_hint
"
android:inputType=
"textCapWords"
/>
android:inputType=
"textCapWords"
/>
<TextView
<TextView
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
android:layout_height=
"48dp"
android:layout_height=
"48dp"
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
android:drawableStart=
"@drawable/ic_at_black_20dp"
android:drawableStart=
"@drawable/ic_at_black_20dp"
android:hint=
"@string/msg_
username
"
android:hint=
"@string/msg_
profile_username_hint
"
android:inputType=
"text"
/>
android:inputType=
"text"
/>
<TextView
<TextView
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
android:layout_marginTop=
"8dp"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"16dp"
android:layout_marginBottom=
"16dp"
android:drawableStart=
"@drawable/ic_email_black_20dp"
android:drawableStart=
"@drawable/ic_email_black_20dp"
android:hint=
"@string/msg_
email
"
android:hint=
"@string/msg_
profile_email_hint
"
android:inputType=
"textEmailAddress"
/>
android:inputType=
"textEmailAddress"
/>
</LinearLayout>
</LinearLayout>
...
...
app/src/main/res/values/strings.xml
View file @
f1065cd2
...
@@ -91,10 +91,13 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
...
@@ -91,10 +91,13 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string
name=
"msg_share_using"
>
Share using
</string>
<string
name=
"msg_share_using"
>
Share using
</string>
<string
name=
"msg_profile_update_successfully"
>
Profile update successfully
</string>
<string
name=
"msg_profile_update_successfully"
>
Profile update successfully
</string>
<string
name=
"msg_username"
>
Username
</string>
<string
name=
"msg_username"
>
Username
</string>
<string
name=
"msg_profile_username_hint"
translatable=
"false"
>
Please enter your username…
</string>
<string
name=
"msg_username_or_email"
>
Username or email
</string>
<string
name=
"msg_username_or_email"
>
Username or email
</string>
<string
name=
"msg_password"
>
Password
</string>
<string
name=
"msg_password"
>
Password
</string>
<string
name=
"msg_name"
>
Name
</string>
<string
name=
"msg_name"
>
Name
</string>
<string
name=
"msg_profile_name_hint"
translatable=
"false"
>
Please enter your name…
</string>
<string
name=
"msg_email"
>
Email
</string>
<string
name=
"msg_email"
>
Email
</string>
<string
name=
"msg_profile_email_hint"
translatable=
"false"
>
Please enter your email address…
</string>
<string
name=
"msg_avatar_url"
>
avatar URL
</string>
<string
name=
"msg_avatar_url"
>
avatar URL
</string>
<string
name=
"msg_or_continue_using_social_accounts"
>
Or continue using social accounts
</string>
<string
name=
"msg_or_continue_using_social_accounts"
>
Or continue using social accounts
</string>
<string
name=
"msg_new_user"
>
New user? %1$s
</string>
<string
name=
"msg_new_user"
>
New user? %1$s
</string>
...
...
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