Commit e157450c authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Fix profile view not showing edit texts.

parent 975ed7b2
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
android:id="@+id/profile_container" android:id="@+id/profile_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/screen_edge_left_and_right_margins"
android:gravity="center" android:gravity="center"
android:orientation="vertical" android:orientation="vertical"
android:visibility="gone" android:visibility="gone"
...@@ -31,6 +32,8 @@ ...@@ -31,6 +32,8 @@
<EditText <EditText
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_height="48dp"
android:layout_marginTop="32dp" android:layout_marginTop="32dp"
android:drawableStart="@drawable/ic_person_black_20dp" android:drawableStart="@drawable/ic_person_black_20dp"
android:hint="@string/msg_name" android:hint="@string/msg_name"
...@@ -39,6 +42,8 @@ ...@@ -39,6 +42,8 @@
<EditText <EditText
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_height="48dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:drawableStart="@drawable/ic_at_black_20dp" android:drawableStart="@drawable/ic_at_black_20dp"
android:hint="@string/msg_username" android:hint="@string/msg_username"
...@@ -47,6 +52,8 @@ ...@@ -47,6 +52,8 @@
<EditText <EditText
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_height="48dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:drawableStart="@drawable/ic_email_black_20dp" android:drawableStart="@drawable/ic_email_black_20dp"
......
...@@ -161,6 +161,7 @@ ...@@ -161,6 +161,7 @@
<item name="android:textSize">10sp</item> <item name="android:textSize">10sp</item>
</style> </style>
// REMARK: To be removed.
<style name="Profile.EditText" parent="Authentication.EditText.Border"> <style name="Profile.EditText" parent="Authentication.EditText.Border">
<item name="android:background">@drawable/style_edit_text_profile</item> <item name="android:background">@drawable/style_edit_text_profile</item>
</style> </style>
......
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