Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Conversation

@arthurbdiniz
Copy link
Contributor

@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:

app

<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>
Copy link
Contributor

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>
Copy link
Contributor

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_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>
Copy link
Contributor

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_profile_updated_successfully">Profile updated successfully</string>
<string name="msg_username">username</string>
>>>>>>> dd938089e9ef495da5a5afd57651f611c1ad7bae
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

@philipbrito philipbrito changed the title Improve Profile Layout according to a web interface [IMPROVEMENT][LAYOUT] Profile Layout according to a web interface May 15, 2019
@philipbrito philipbrito added this to the 3.4.0 milestone May 15, 2019
Copy link
Contributor

@philipbrito philipbrito left a 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.

@philipbrito philipbrito merged commit 0c21f1d into RocketChat:develop May 15, 2019
<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>
Copy link
Contributor

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.

Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[IMPROVEMENT] Make Fragment Profile layout more like the default elements

3 participants