From def6758aaab2ac643a29a67a8bb35a134e1d530d Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 20 Oct 2020 15:47:41 +0200 Subject: [PATCH] UI tweak --- .../features/form/FormEditableAvatarItem.kt | 4 +- ....xml => header_panel_round_background.xml} | 9 ++--- .../main/res/layout/item_editable_avatar.xml | 39 +++++++++++-------- 3 files changed, 29 insertions(+), 23 deletions(-) rename vector/src/main/res/drawable/{bg_accent.xml => header_panel_round_background.xml} (51%) diff --git a/vector/src/main/java/im/vector/app/features/form/FormEditableAvatarItem.kt b/vector/src/main/java/im/vector/app/features/form/FormEditableAvatarItem.kt index d1871bd354..9849f22f87 100644 --- a/vector/src/main/java/im/vector/app/features/form/FormEditableAvatarItem.kt +++ b/vector/src/main/java/im/vector/app/features/form/FormEditableAvatarItem.kt @@ -50,17 +50,17 @@ abstract class FormEditableAvatarItem : EpoxyModelWithHolder(R.id.itemEditableAvatarImageContainer) val image by bind(R.id.itemEditableAvatarImage) val delete by bind(R.id.itemEditableAvatarDelete) } diff --git a/vector/src/main/res/drawable/bg_accent.xml b/vector/src/main/res/drawable/header_panel_round_background.xml similarity index 51% rename from vector/src/main/res/drawable/bg_accent.xml rename to vector/src/main/res/drawable/header_panel_round_background.xml index 1b64246d14..b12b88cbd0 100644 --- a/vector/src/main/res/drawable/bg_accent.xml +++ b/vector/src/main/res/drawable/header_panel_round_background.xml @@ -1,6 +1,5 @@ - - - - - \ No newline at end of file + + + diff --git a/vector/src/main/res/layout/item_editable_avatar.xml b/vector/src/main/res/layout/item_editable_avatar.xml index 65da90b267..3b560dd65f 100644 --- a/vector/src/main/res/layout/item_editable_avatar.xml +++ b/vector/src/main/res/layout/item_editable_avatar.xml @@ -8,15 +8,32 @@ android:background="?riotx_background" android:padding="16dp"> - + + app:layout_constraintTop_toTopOf="parent"> + + + + + + - -