Commit graph

444 commits

Author SHA1 Message Date
Marcel Hibbe
d47deb42c8
move mediaPlayer and download-logic for voicemessages to ChatController
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-29 22:49:33 +02:00
Andy Scherzinger
73d4674bda
Add shimmer for chat content loading
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-28 23:54:40 +02:00
Andy Scherzinger
556a76ad2c
improve the ripple effect for the buttons 2021-06-22 11:18:09 +02:00
Andy Scherzinger
297ece8e7b
set seekbar default style
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:03 +02:00
Andy Scherzinger
db68b4e93d
improve voice message UI
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:02 +02:00
Joas Schilling
9fbf9ef492
add voice messages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-22 11:17:59 +02:00
Andy Scherzinger
df6b0980ac
improve contacts preview UI
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-21 17:35:05 +02:00
Andy Scherzinger
e51271d300
add linebreaks
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 16:30:38 +02:00
Andy Scherzinger
6ba541b6b1
Move message holders to native view bindings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:44 +02:00
Andy Scherzinger
73e0b4e719
polish location map and move to native view bindings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:34 +02:00
Andy Scherzinger
31d585e763
polish location search result items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:29 +02:00
Marcel Hibbe
94e466598e
add copyright headers
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:26 +02:00
Marcel Hibbe
e9ca9f5a93
use tools:text for geocoding_item
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:24 +02:00
Marcel Hibbe
751cd1268e
replace current-position icon
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:19 +02:00
Marcel Hibbe
2154b6cf94
improve design of share location button / location description
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:12 +02:00
Marcel Hibbe
d7a8935709
show geocoded location on map before sharing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:53 +02:00
Marcel Hibbe
2f0105abd3
add location search with nominatim
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:49 +02:00
Marcel Hibbe
d5face5941
improve design for locationpicker screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:47 +02:00
Marcel Hibbe
ae485d1d80
delete example activity for leaflet
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:43 +02:00
Marcel Hibbe
1aa15ebd95
differ between incoming and outcoming messages for location
logic was copied from:
- MagicIncomingTextMessageViewHolder.kt
- MagicOutcomingTextMessageViewHolder.kt

xml design was copied from:
- item_custom_incoming_text_message.xml
- item_custom_outcoming_text_message.xml

... and extended for location related things.

because of copying there is now quite a lot of redundant code! But ViewHolders should generally be refactored in the future.. (better inheritance(?) and analyze which of Marios changes to the Chatkit lib were really necessary or if this can be done in an other way..)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:42 +02:00
Marcel Hibbe
5da43d1760
wip. show leaflet inside webview in message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:37 +02:00
Marcel Hibbe
4d29a4b638
add LocationMessageViewHolder for ChatKit
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:35 +02:00
Marcel Hibbe
1e2960a72a
add example for leaflet in WebView
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:33 +02:00
Marcel Hibbe
965692ce7e
set location picker icon over map
show location when clicked on button

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:31 +02:00
Marcel Hibbe
0742afe58c
add map via osmdroid
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:30 +02:00
Marcel Hibbe
c6d3abf421
add entry to share location
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:25 +02:00
Andy Scherzinger
e2c6fd7c25
migrate chat controller to native view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:19 +02:00
Andy Scherzinger
ca8d6cb782
Move controller to new view binding utilizing logic
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:10 +02:00
Andy Scherzinger
cd5f083a49
make text preview dark/light aware, overall improvement of preview screens
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 15:29:00 +02:00
Andy Scherzinger
44533b889c
prevent text selection on messages
Resolves #1274

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 11:34:36 +02:00
Andy Scherzinger
a47bd5564e
add placeholder image to avatar for profile view
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-27 11:03:42 +02:00
Andy Scherzinger
c3e336b716
align avatar placeholders with dark/light theme and add placeholder to settings avatar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 11:04:31 +02:00
Andy Scherzinger
cd07acaa1b
Simplify settings
Resolves #1058

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 10:15:02 +02:00
Andy Scherzinger
93a1d411e0
set fallback avatar icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-25 17:41:30 +02:00
Andy Scherzinger
123ef3d0ce
set user icon to have a fallback for account switcher icon in search bar
Fixes #1139

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-21 00:03:12 +02:00
Andy Scherzinger
346c2cc60f
replace android_tint with app:tint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 13:05:35 +02:00
Andy Scherzinger
629293e65e
add missing content description
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 18:36:51 +02:00
Andy Scherzinger
833ebbc9e3
use native view bindings in activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 17:58:09 +02:00
Andy Scherzinger
e74aa09879
remove custom password animation and use default/component one
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 09:34:46 +02:00
Andy Scherzinger
443cf8b227
user proper activity context to grab themed color for item header for mention items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:11:44 +02:00
Joas Schilling
39a848afa4
Fix participant list call state
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:27:37 +02:00
Joas Schilling
bc2fadb4c5
Add (read-only for now) description to the conversation info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 14:35:50 +02:00
Andy Scherzinger
2b44a295a4
add account switcher in search bar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Andy Scherzinger
34041b0358
Code changes due to conductor update to 3.0.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-07 21:56:26 +02:00
Marcel Hibbe
b8e4c4da56
add grid view for calls. make own video movable
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-07 09:45:51 +02:00
Andy Scherzinger
39de278b7d
remove lock icon in conversations list
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-06 18:10:55 +02:00
Andy Scherzinger
202d98d478
wrap warning in cardview and add warning icon for extra visual
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-05 15:48:52 +02:00
Joas Schilling
01b760f97e
Add a warning when the server version is (almost) EOL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:11 +02:00
Andy Scherzinger
26574043bc
a11y message input
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 18:27:37 +02:00
Andy Scherzinger
188e33538e
a11y dynamic content descriptions for scope toggles on profile
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 18:16:17 +02:00
Andy Scherzinger
d54b3f3d0a
a11y dynamically set call state info on user items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 15:11:11 +02:00
Andy Scherzinger
3ba9afca80
a11y generic menu item
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 14:52:50 +02:00
Andy Scherzinger
ccf52a97fc
a11y call/advancedUser item
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 14:52:30 +02:00
Andy Scherzinger
61feac7a53
a11y - set content description to null since it is set dynamically
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 14:45:00 +02:00
Andy Scherzinger
8e9d735412
a11y call notification
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 14:42:46 +02:00
Andy Scherzinger
e8f9d034ef
a11y call items/states
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 14:40:06 +02:00
Andy Scherzinger
1e702f1d1d
a11y conversation-emojie and read/sent status of messages
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:07 +02:00
Andy Scherzinger
b83d64086d
a11y file browser items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:07 +02:00
Andy Scherzinger
3a456ceed5
a11y controller menu
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:06 +02:00
Andy Scherzinger
84fda43187
a11y lobby view
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:06 +02:00
Andy Scherzinger
6fc43fce5f
a11y lock-screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:05 +02:00
Andy Scherzinger
e1ac6c2f09
use plus icon/primary for new group conversation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 13:47:17 +02:00
Andy Scherzinger
79e5c3bcaf
change order/icon of public conversation creation item
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 10:55:13 +02:00
Andy Scherzinger
8766bf2eb1
add contacts shimmer and improve link-based conversation creation items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-02 21:40:33 +02:00
Andy Scherzinger
be3d44dd89
align contact category headlines
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-30 18:36:05 +02:00
Andy Scherzinger
5322df89dd
proper quote coloring in dark mode
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 09:47:53 +02:00
Andy Scherzinger
c2ac2705a3
use textColorOnPrimaryBackground
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 08:27:08 +02:00
Andy Scherzinger
f8319b663d
add contribution info
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 07:56:00 +02:00
Andy Scherzinger
1ab96016ac
optimize lock-screen layout/colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 07:55:54 +02:00
Andy Scherzinger
e0955a4106
use textColorOnPrimaryBackground
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 23:56:07 +02:00
Andy Scherzinger
d7686f4ae3
make sure "unread messages" bubble text is always white (also in dark mode)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 21:02:39 +02:00
Andy Scherzinger
5b6760e4b8
Merge pull request #1141 from nextcloud/shimmerAndUploadBottomSheet
Optimize Shimmer and upload bottom sheet
2021-04-26 20:59:46 +02:00
Marcel Hibbe
2a6957047d
don't keep screen enabled in chat
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-26 17:14:18 +02:00
Andy Scherzinger
8eafd0a163
unify text-colors for messages in chat
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:56 +02:00
Andy Scherzinger
5aa28e4477
Make sound choice icons simple radio buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:55 +02:00
Andy Scherzinger
6810bc98d4
use outlined text view style
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:54 +02:00
Andy Scherzinger
bb1eb2fc1c
iconify upload bottom sheet
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:53 +02:00
Andy Scherzinger
5ab44332c4
tone down placeholders in dark mode
Resolves #1140

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:52 +02:00
Marcel Hibbe
51b1f988ea
reduce lint errors
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Marcel Hibbe
1296b8854e
fix to show missing preview files.
solution: SimpleDraweeView does not support wrap_content for layout_width or layout_height attributes.
see https://frescolib.org/docs/using-simpledraweeview.html

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Marcel Hibbe
3f6f492143
open files inside app
Open files directly inside the app.
Download file into cache beforehand if not already done.

supported file types:
jpg, .png, .gif, .mp3, .mp4, .mov, .wav, .txt, .md

thanks to @tobiasKaminsky and @starypatyk

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Andy Scherzinger
5a58034a0b
add content description, align layouts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-18 23:41:04 +02:00
Andy Scherzinger
da5dad4e9b
improve quoted message design
Resolves  #945

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-18 13:45:00 +02:00
Andy Scherzinger
e3674cb8d2
optimize chat input separator for dark theme
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-18 13:45:00 +02:00
Andy Scherzinger
ead3dfb60c
use medium emphasis on url text on profile pages
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
f118cc7dd3
raise sizes to minimal hit-area of 48dp and tint icons at 60%/87% alpha (like active/inactive states)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
80905f6ed2
WCAG: prevent click-ability for unread-message counter, add description to image button
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
690d09eb60
optimize grey tones regarding WCAG guidelines and material design standard colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
33498579ea
drawable tinting is done via app namespace
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-13 11:12:57 +02:00
Andy Scherzinger
02483c134d
update empty conversations screen and added shimmer effect for loading conversations initially
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-13 11:12:57 +02:00
Marcel Hibbe
604dfd7a38
Merge branch 'master' into loginTextfieldDesign_master 2021-04-13 10:27:56 +02:00
Andy Scherzinger
5b214ccfec
make adding users easier to discover
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:52:10 +02:00
Andy Scherzinger
54c61a7b39
also make participants list headline colored with primary color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:52:09 +02:00
Andy Scherzinger
e858f897f8
set background dark/light theme aware for upload bottom sheet
Resolves #994

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:52:08 +02:00
Andy Scherzinger
fdb7e54827
unify remaining preference elements
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:52:04 +02:00
Andy Scherzinger
9771161a0f
improve settings screen for dark theme and use accent color for category titles
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:41:03 +02:00
Andy Scherzinger
dc8774f5c9
align single/dual-line list item layouts with avatar/icon according to material design
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:41:03 +02:00
Andy Scherzinger
9da278538d
use actual default spacings for toolbar backarrow/title
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:41:02 +02:00
Andy Scherzinger
c812372db5
backport/enhance login screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-09 17:40:44 +02:00
Andy Scherzinger
208e96e1c0
remove unused resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-08 11:16:23 +02:00