From b1d8ad5c760746b604b5ee69cebf5b1214986f9b Mon Sep 17 00:00:00 2001 From: ratabb Date: Sat, 30 Oct 2021 14:19:35 +0700 Subject: feat: add Edit Profile --- app/src/main/res/drawable/ic_dot_outline.xml | 9 ++ app/src/main/res/layout/activity_edit_profile.xml | 169 +++++++++++++++++++++ app/src/main/res/menu/edit_profile_activity.xml | 11 ++ .../main/res/menu/view_user_detail_activity.xml | 5 + app/src/main/res/values/strings.xml | 25 +++ 5 files changed, 219 insertions(+) create mode 100644 app/src/main/res/drawable/ic_dot_outline.xml create mode 100644 app/src/main/res/layout/activity_edit_profile.xml create mode 100644 app/src/main/res/menu/edit_profile_activity.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_dot_outline.xml b/app/src/main/res/drawable/ic_dot_outline.xml new file mode 100644 index 00000000..dd9c5588 --- /dev/null +++ b/app/src/main/res/drawable/ic_dot_outline.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/app/src/main/res/layout/activity_edit_profile.xml b/app/src/main/res/layout/activity_edit_profile.xml new file mode 100644 index 00000000..6f472c9b --- /dev/null +++ b/app/src/main/res/layout/activity_edit_profile.xml @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/edit_profile_activity.xml b/app/src/main/res/menu/edit_profile_activity.xml new file mode 100644 index 00000000..fe96ba20 --- /dev/null +++ b/app/src/main/res/menu/edit_profile_activity.xml @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/menu/view_user_detail_activity.xml b/app/src/main/res/menu/view_user_detail_activity.xml index 437c6e23..ec9128e4 100644 --- a/app/src/main/res/menu/view_user_detail_activity.xml +++ b/app/src/main/res/menu/view_user_detail_activity.xml @@ -59,4 +59,9 @@ android:id="@+id/action_block_user_view_user_detail_activity" android:orderInCategory="10" android:title="@string/action_block_user" /> + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6a5890c7..3b8753e8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1215,4 +1215,29 @@ 12 hours 24 hours + + Submit Change Avatar + Submit Change Banner + Submit Save Profile + + + Edit Profile + Remove Avatar + Remove Banner + Display Name + Show on your profile page + This will be displayed to viewer of your profile page and does not change your username + About You + A little description of your self + Success remove Avatar + Failed remove Avatar %s + Success remove Banner + Failed remove Banner %s + Success changing Avatar + Failed changing Avatar %s + Success changing Banner + Failed changing Banner %s + Success save profile + Failed save profile %s + -- cgit v1.2.3