-
Notifications
You must be signed in to change notification settings - Fork 552
[IMPROVEMENT][LAYOUT] Profile Layout according to a web interface #2080
Conversation
Signed-off-by: Arthur Diniz <[email protected]>
Signed-off-by: Arthur Diniz <[email protected]>
Signed-off-by: Arthur Diniz <[email protected]>
Signed-off-by: Arthur Diniz <[email protected]>
app/src/main/res/values/strings.xml
Outdated
| <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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't declare a translatable string as not translatable, please.
| <string name="msg_username_or_email">Username or email</string> | ||
| <string name="msg_password">Password</string> | ||
| <string name="msg_name">Name</string> | ||
| <string name="msg_profile_name_hint" translatable="false">Please enter your name…</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't declare a translatable string as not translatable, please.
app/src/main/res/values/strings.xml
Outdated
| <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_profile_email_hint" translatable="false">Please enter your email address…</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't declare a translatable string as not translatable, please.
app/src/main/res/values/strings.xml
Outdated
| ======= | ||
| <string name="msg_profile_updated_successfully">Profile updated successfully</string> | ||
| <string name="msg_username">username</string> | ||
| >>>>>>> dd938089e9ef495da5a5afd57651f611c1ad7bae |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
philipbrito
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've fixed the requested changes here.
Thanks for sending this PR.
| <item name="android:fontFamily">sans-serif-medium</item> | ||
| <item name="android:textStyle">normal</item> | ||
| <item name="android:layout_marginTop">24dp</item> | ||
| <item name="android:layout_gravity">left</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
layout_gravity should be start instead of left to support RTL languages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch @HusseinElFeky!
Changed!
280f1c1
@RocketChat/android
Closes #2079
Changes: Create new style for EditTex and TextView on Profile Fragment. Adds username, email and name hint according to a web interface.
Screenshots or GIF for the change: