aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-11-11 12:37:28 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-11-11 12:37:28 +0000
commitd6d6ed5407bf8479957290d1e7cf79279dd4c427 (patch)
tree87590918151abffe3bce14f9cb1809cfef23fd67 /app/src/main/res/layout
parent4bd6ae0c4cdbca81282e51bb6b43460ef85093f6 (diff)
downloadinfinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar.gz
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar.bz2
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar.lz
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar.xz
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.tar.zst
infinity-for-reddit-d6d6ed5407bf8479957290d1e7cf79279dd4c427.zip
UI changes in EditProfileActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_edit_profile.xml44
1 files changed, 23 insertions, 21 deletions
diff --git a/app/src/main/res/layout/activity_edit_profile.xml b/app/src/main/res/layout/activity_edit_profile.xml
index 47d6aba3..4f3ad007 100644
--- a/app/src/main/res/layout/activity_edit_profile.xml
+++ b/app/src/main/res/layout/activity_edit_profile.xml
@@ -62,23 +62,22 @@
<ImageView
android:id="@+id/image_view_change_banner_edit_profile_activity"
- android:layout_width="32dp"
- android:layout_height="32dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
- android:layout_margin="4dp"
+ android:layout_margin="8dp"
+ android:padding="8dp"
android:background="@drawable/ic_dot_outline"
- android:contentDescription="@null"
- android:padding="4dp"
app:srcCompat="@drawable/ic_outline_add_a_photo_day_night_24dp" />
</FrameLayout>
<FrameLayout
android:id="@+id/frame_layout_view_avatar_edit_profile_activity"
- android:layout_width="72dp"
- android:layout_height="72dp"
- android:layout_marginStart="24dp"
- android:layout_marginTop="143dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginTop="144dp"
android:elevation="4dp">
<pl.droidsonroids.gif.GifImageView
@@ -89,13 +88,11 @@
<ImageView
android:id="@+id/image_view_change_avatar_edit_profile_activity"
- android:layout_width="32dp"
- android:layout_height="32dp"
- android:layout_gravity="end|bottom"
- android:layout_margin="4dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:padding="8dp"
android:background="@drawable/ic_dot_outline"
- android:contentDescription="@null"
- android:padding="4dp"
app:srcCompat="@drawable/ic_outline_add_a_photo_day_night_24dp" />
</FrameLayout>
@@ -113,17 +110,18 @@
android:paddingTop="48dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:fontFamily="?attr/font_family"
android:text="@string/display_name_text"
- android:textSize="?attr/font_18" />
+ android:textSize="?attr/font_18"
+ android:fontFamily="?attr/font_family" />
<EditText
android:id="@+id/edit_text_display_name_edit_profile_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
- android:gravity="top"
android:background="#00000000"
+ android:textSize="?attr/font_16"
+ android:fontFamily="?attr/font_family"
android:hint="@string/display_name_hint"
android:importantForAutofill="no"
android:inputType="textCapSentences"
@@ -134,7 +132,9 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:text="@string/display_name_description" />
+ android:text="@string/display_name_description"
+ android:textSize="?attr/font_12"
+ android:fontFamily="?attr/font_family" />
</LinearLayout>
@@ -149,9 +149,9 @@
android:paddingTop="48dp"
android:paddingStart="16dp"
android:paddingEnd="16dp"
- android:fontFamily="?attr/font_family"
android:text="@string/about_you_text"
- android:textSize="?attr/font_18" />
+ android:textSize="?attr/font_18"
+ android:fontFamily="?attr/font_family" />
<EditText
android:id="@+id/edit_text_about_you_edit_profile_activity"
@@ -160,6 +160,8 @@
android:padding="16dp"
android:gravity="top"
android:background="#00000000"
+ android:textSize="?attr/font_16"
+ android:fontFamily="?attr/font_family"
android:hint="@string/about_you_hint"
android:importantForAutofill="no"
android:inputType="textCapSentences|textMultiLine"