Commit 4ff269e7 authored by Arthur Diniz's avatar Arthur Diniz

Create header text of edittext and it style

Signed-off-by: 's avatarArthur Diniz <arthurbdiniz@gmail.com>
parent 345d5cf1
......@@ -29,37 +29,57 @@
android:layout_height="wrap_content"
android:layout_marginTop="32dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Profile.TextView"
android:text="@string/msg_name"/>
<EditText
android:id="@+id/text_name"
style="@style/Profile.EditText"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="32dp"
android:layout_marginTop="8dp"
android:drawableStart="@drawable/ic_person_black_20dp"
android:hint="@string/msg_name"
android:inputType="textCapWords" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Profile.TextView"
android:text="@string/msg_username"/>
<EditText
android:id="@+id/text_username"
style="@style/Profile.EditText"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="16dp"
android:layout_marginTop="8dp"
android:drawableStart="@drawable/ic_at_black_20dp"
android:hint="@string/msg_username"
android:inputType="text" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Profile.TextView"
android:text="@string/msg_email"/>
<EditText
android:id="@+id/text_email"
style="@style/Profile.EditText"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="16dp"
android:drawableStart="@drawable/ic_email_black_20dp"
android:hint="@string/msg_email"
android:inputType="textEmailAddress" />
</LinearLayout>
</ScrollView>
<com.wang.avi.AVLoadingIndicatorView
......
......@@ -90,7 +90,7 @@ https://github.com/RocketChat/java-code-styles/blob/master/CODING_STYLE.md#strin
<string name="msg_check_this_out">Check this out</string>
<string name="msg_share_using">Share using</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_username_or_email">Username or email</string>
<string name="msg_password">Password</string>
<string name="msg_name">Name</string>
......
......@@ -249,6 +249,16 @@
// REMARK: To be removed.
<style name="Profile.EditText" parent="Authentication.EditText.Border"/>
<style name="Profile.TextView" parent="TextAppearance.AppCompat.Title">
<item name="android:textSize">16sp</item>
<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>
<item name="android:textColor">@color/colorPrimary</item>
<item name="android:maxLines">1</item>
</style>
<style name="ActionModeStyle" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:actionModeCloseDrawable">@drawable/ic_close_white_24dp</item>
<item name="actionModeCloseDrawable">@drawable/ic_close_white_24dp</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment