Commit ea3e05f4 authored by Arthur Diniz's avatar Arthur Diniz

Simplify profile EditText xml with style

Signed-off-by: 's avatarArthur Diniz <arthurbdiniz@gmail.com>
parent f1065cd2
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
android:id="@+id/text_name" android:id="@+id/text_name"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="8dp"
android:drawableStart="@drawable/ic_person_black_20dp" android:drawableStart="@drawable/ic_person_black_20dp"
android:hint="@string/msg_profile_name_hint" android:hint="@string/msg_profile_name_hint"
android:inputType="textCapWords" /> android:inputType="textCapWords" />
...@@ -55,8 +53,6 @@ ...@@ -55,8 +53,6 @@
android:id="@+id/text_username" android:id="@+id/text_username"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="8dp"
android:drawableStart="@drawable/ic_at_black_20dp" android:drawableStart="@drawable/ic_at_black_20dp"
android:hint="@string/msg_profile_username_hint" android:hint="@string/msg_profile_username_hint"
android:inputType="text" /> android:inputType="text" />
...@@ -71,8 +67,6 @@ ...@@ -71,8 +67,6 @@
android:id="@+id/text_email" android:id="@+id/text_email"
style="@style/Profile.EditText" style="@style/Profile.EditText"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="48dp"
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_profile_email_hint" android:hint="@string/msg_profile_email_hint"
......
...@@ -247,7 +247,10 @@ ...@@ -247,7 +247,10 @@
</style> </style>
// REMARK: To be removed. // REMARK: To be removed.
<style name="Profile.EditText" parent="Authentication.EditText.Border"/> <style name="Profile.EditText" parent="Authentication.EditText.Border">
<item name="android:layout_height">48dp</item>
<item name="android:layout_marginTop">8dp</item>
</style>
<style name="Profile.TextView" parent="TextAppearance.AppCompat.Title"> <style name="Profile.TextView" parent="TextAppearance.AppCompat.Title">
<item name="android:textSize">16sp</item> <item name="android:textSize">16sp</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