From a0a45490458c9d67a54897a1dcec9b2b6e8ba159 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Tue, 22 Feb 2022 07:46:42 +0000 Subject: [PATCH] android: improve chat, chat info, console (#344) * bigger fonts, text entry layout * resize scroll area when keyboard appears; automatically scroll on new messages * fix message entry in dark mode * imporove console layout * fix chat info with dark mode * fix typo * clean up * remove unused time formatter --- apps/android/.idea/codeStyles/Project.xml | 12 +-- apps/android/app/build.gradle | 3 +- apps/android/app/src/main/AndroidManifest.xml | 1 + .../java/chat/simplex/app/MainActivity.kt | 3 + .../java/chat/simplex/app/model/SimpleXAPI.kt | 4 +- .../java/chat/simplex/app/ui/theme/Theme.kt | 8 +- .../java/chat/simplex/app/ui/theme/Type.kt | 10 +- .../chat/simplex/app/views/TerminalView.kt | 99 ++++++++++++++----- .../simplex/app/views/chat/ChatInfoView.kt | 6 ++ .../chat/simplex/app/views/chat/ChatView.kt | 59 ++++++----- .../simplex/app/views/chat/SendMsgView.kt | 88 +++++++++++------ .../app/views/chatlist/ChatPreviewView.kt | 49 ++++++--- .../app/views/helpers/ChatInfoImage.kt | 8 +- 13 files changed, 234 insertions(+), 116 deletions(-) diff --git a/apps/android/.idea/codeStyles/Project.xml b/apps/android/.idea/codeStyles/Project.xml index 5d7a0c0f3e..1901f77e30 100644 --- a/apps/android/.idea/codeStyles/Project.xml +++ b/apps/android/.idea/codeStyles/Project.xml @@ -3,13 +3,8 @@ +