From 93a1d411e0494f98b14c133569e6042455a896ae Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 25 May 2021 16:52:18 +0200 Subject: [PATCH] set fallback avatar icon Signed-off-by: Andy Scherzinger --- .../talk/adapters/items/AdvancedUserItem.java | 20 +++++++++----- .../dialog/ChooseAccountDialogFragment.java | 5 +++- .../main/res/drawable/account_circle_48dp.xml | 27 +++++++++++++++++++ app/src/main/res/layout/account_item.xml | 5 +++- drawable_resources/other/account-circle.svg | 7 +++++ 5 files changed, 56 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/drawable/account_circle_48dp.xml create mode 100644 drawable_resources/other/account-circle.svg diff --git a/app/src/main/java/com/nextcloud/talk/adapters/items/AdvancedUserItem.java b/app/src/main/java/com/nextcloud/talk/adapters/items/AdvancedUserItem.java index ad4c75c6b..a49bcd6e3 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/items/AdvancedUserItem.java +++ b/app/src/main/java/com/nextcloud/talk/adapters/items/AdvancedUserItem.java @@ -112,26 +112,34 @@ public class AdvancedUserItem extends AbstractFlexibleItem + + + diff --git a/app/src/main/res/layout/account_item.xml b/app/src/main/res/layout/account_item.xml index 7c3858b76..a8858bfa6 100644 --- a/app/src/main/res/layout/account_item.xml +++ b/app/src/main/res/layout/account_item.xml @@ -22,6 +22,7 @@ + + + + + +