From eeb87183a00aa4c25a311c0fe0757fdf77f2f348 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 22 Nov 2018 23:03:56 +0100 Subject: [PATCH] Clean up Signed-off-by: Mario Danic --- app/src/gplay/AndroidManifest.xml | 5 +- app/src/main/AndroidManifest.xml | 3 +- .../talk/adapters/items/UserItem.java | 6 +- .../layout/controller_conversation_info.xml | 131 +++++++++--------- 4 files changed, 74 insertions(+), 71 deletions(-) diff --git a/app/src/gplay/AndroidManifest.xml b/app/src/gplay/AndroidManifest.xml index 1474521d4..2f388c5f5 100644 --- a/app/src/gplay/AndroidManifest.xml +++ b/app/src/gplay/AndroidManifest.xml @@ -11,11 +11,12 @@ android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" - tools:replace="label, icon, theme, name, allowBackup"> + tools:replace="label, icon, theme, name, allowBackup" + tools:ignore="UnusedAttribute, ExportedService"> - + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 06906a3c3..196a9b162 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -43,7 +43,8 @@ android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:theme="@style/AppTheme" - tools:replace="label, icon, theme, name, allowBackup"> + tools:replace="label, icon, theme, name, allowBackup" + tools:ignore="UnusedAttribute"> } holder.contactMentionId.setText(userType); - holder.contactMentionId.setTextColor(NextcloudTalkApplication.getSharedApplication().getColor(R.color.colorPrimary)); + holder.contactMentionId.setTextColor(NextcloudTalkApplication.getSharedApplication().getResources().getColor(R.color.colorPrimary)); } } diff --git a/app/src/main/res/layout/controller_conversation_info.xml b/app/src/main/res/layout/controller_conversation_info.xml index 69f6d5ab5..8b8218cd0 100644 --- a/app/src/main/res/layout/controller_conversation_info.xml +++ b/app/src/main/res/layout/controller_conversation_info.xml @@ -18,7 +18,7 @@ ~ along with this program. If not, see . --> - - + + - - - + android:layout_height="wrap_content"> - - - - - - - - - - - - - - + android:animateLayoutChanges="true" + android:visibility="gone"> - + - - + + + + + + + + + + + + + + + + +