Commit Graph

381 Commits

Author SHA1 Message Date
Asiel Díaz Benítez 420184bd5c Merge pull request #2075 from deltachat/adb-avatar-in-toolbar
add self avatar to conversation list's toolbar
2021-10-27 03:11:30 -04:00
adbenitez 6e5f8b3081 reduce avatar size 2021-10-27 03:02:07 -04:00
Hocuri 66d6e249e7 Improve RTL layout support 2021-10-26 14:21:49 +02:00
adbenitez d30da32582 improve selected recipients list 2021-10-20 23:42:59 -04:00
Asiel Díaz Benítez 94a144106c Merge branch 'master' into adb-avatar-in-toolbar 2021-10-13 21:27:30 -04:00
Asiel Díaz Benítez 242f47cae6 Merge pull request #2077 from deltachat/adb-switch-account-improvements
improve the account selector dialog
2021-10-13 15:33:44 -04:00
adbenitez 8cdac36dc5 fix recycleview top padding 2021-10-13 04:02:43 -04:00
adbenitez 07d61fe44a update left margin of name and address 2021-10-13 03:56:26 -04:00
adbenitez ba40209723 add checkbox to selected account 2021-10-13 03:22:55 -04:00
Hocuri 1810508ff0 Remove unused elements in account_selection_list_fragment.xml 2021-10-12 17:21:32 +02:00
adbenitez e20c178705 add missing contentDescription to delete button in res/layout/selected_recipient_list_item.xml 2021-10-12 12:16:07 +02:00
Asiel Díaz Benítez 90930ae1a7 Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:46:56 -04:00
Asiel Díaz Benítez 6578e008df Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:45:58 -04:00
adbenitez 502a9461fb make avatar smaller 2021-10-10 02:14:06 -04:00
adbenitez 811f8eaf0b add unread count badge to account selector 2021-10-10 00:39:56 -04:00
adbenitez 3880fd67a5 improve the account selector dialog 2021-10-09 23:05:07 -04:00
adbenitez 9338981626 add self avatar to conversation list's toolbar 2021-10-07 20:43:05 -04:00
bjoern e71f5d9bba broadcasts android ui (#2060)
* add broadcasts ffi

* add 'broadcast' options to menu, chat, profile etc.

* generate initial broadcast names

* reword broadcast hint

* make 'Broadcasts Lists' experimental; while on that, also add a confirmation dialog to the location streaming switch (wording taken from ios)

* Update res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* comment on strings.xml

* tweak 'experimental' appearing, avoid the 'test tube'-emoji that is not supported on many devices

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-09-30 15:44:17 +02:00
bjoern beb601bc06 do not download large messages automatically (#2045)
* add download-ffi methods

* add 'Download' button for incomplete messages

* show 'downloading' animation

* make download_limit configurable

* set button to 'disabled' and text to 'Downloading...' on downloading; color does not really reflect that yet, but that can probably be tweaked by xml

* make 'download message body' translatable
2021-09-13 23:07:49 +02:00
bjoern 0995930636 unify buttons (#2007)
* use standard button style for block/accept

* make existing buttons a little bit nicer

* make 'login' button more outstanding, esp. in dark-mode, where colors are tuned down for now
2021-08-02 10:38:14 +02:00
Asiel Díaz Benítez 72acc5fffc separate request and archive badges (#1997) 2021-07-30 12:43:10 +02:00
bjoern 2e9f7e58f2 tweak 'Archived Chats' and 'Requests' (#1991)
* add 'Archived Chats' menu entry

the menu entry is at the place where the 'Contact Requests' were before -
that way, ppl may find existing contact requests easier.

moreover, it is now possible to access 'Archived Chats'
without endless scrolling ;)

* for archived requests, show both tags

* show a hint when 'Archived Chats' is empty

* contact requests do not display unread count; do not retrieve it and do not show text in bold
2021-07-29 10:18:51 +02:00
Hocuri f941fd3c53 Remove Deaddrop chat (Android UI) (#1975)
See deltachat/deltachat-core-rust#2514

Fixes #1963
Fixes #1890

Before deleting a chat the user is asked for confirmation. Before blocking not, because blocking is not "destructive" (i.e. can be completely reverted by unblocking the contact). I'm wondering whether we should show a snackbar with an Undo button though, but we can probably wait for user feedback on this.

* Start removing deaddrop chat

* Generally works

* Fix the buttons

(it's not easy to not show one of the buttons in
ConstraintLayout; if problems turn up, we should probably
just not use ConstraintLayout)

* fix more things

* restartLoader() instead of notifyDataSetChanged() because the latter didn't do anything

* Archived badge

* Rename "Contact request" to "Request"

* oops

* Remove setStockTranslation(8, context.getString(R.string.chat_contact_request));

* Remove commented-out code, we probably won't need it

* Don't show "Delete" button for 1:1 chats

* Get rid of short flickering when declining a request

* Set the app's night mode to match the preference

This added 6ms to startup time, but I think that's OK, as
we will also be able to use more `-night` views in the future

* Make "Accept" text a bit brighter and easier to read in dark mode

* Check if the chattype is Group instead of members.length == 1
2021-07-26 13:01:59 +02:00
Asiel Díaz Benítez a74d124ee5 allow only one line of text in title bar (#1986) 2021-07-23 08:28:26 +02:00
adbenitez ebfc562345 use text color for links in signature 2021-06-18 16:01:33 +02:00
adbenitez 30b2111237 use current emoji theme in "no_messages_text_view" 2021-05-16 11:47:45 -04:00
B. Petersen 5eb1517f76 tweak rationale dialog 2021-05-07 14:29:55 +02:00
Asiel Díaz Benítez 0fefd21894 Merge pull request #1904 from deltachat/adb-issue-1901
improve app accesibility
2021-05-02 19:35:10 -04:00
adbenitez b197cb1a7e apply review suggestions 2021-05-01 17:41:06 -04:00
adbenitez 5e1066752a use current emoji set in message details and make text selectable 2021-04-30 19:20:05 -04:00
adbenitez f1ac11c9ae use the same emoji style everywhere across the app 2021-04-30 00:09:34 -04:00
adbenitez 0dde372e9c add labels to staged image and image editor 2021-04-29 17:44:51 -04:00
adbenitez 1fa9a43d0e add labels to quick camera buttons 2021-04-29 17:08:34 -04:00
adbenitez a1c2615064 improve accessibility in profile settings 2021-04-29 16:19:23 -04:00
adbenitez 285d914362 improve button labels in attachment and group/profile avatar selectors 2021-04-29 14:52:26 -04:00
adbenitez 65ee7713c3 add missing description to cancel quote button 2021-04-29 05:27:25 -04:00
adbenitez d434b534bb improve accessibility of some buttons 2021-04-29 05:00:15 -04:00
Asiel Díaz Benítez c849d8542b Merge branch 'master' into adb-sticker-improvements 2021-04-28 13:04:58 -04:00
adbenitez 64ef06d6da move padding to dimens 2021-04-28 12:53:32 -04:00
B. Petersen eeac39d16b tweak 'show more'-button-color 2021-04-27 16:14:53 +02:00
B. Petersen 2eed655a07 reindent files with 4 spaces 2021-04-27 16:02:12 +02:00
B. Petersen 43e23358cf tweak font size and add padding to make the button easier tappable 2021-04-27 15:54:21 +02:00
adbenitez cf12020595 improve footer for stickers and videochat invitations 2021-04-26 20:09:12 -04:00
adbenitez 104e273298 fix horizontal margin 2021-04-26 18:27:20 -04:00
adbenitez 87c0cc7ba2 tune down "Show full message" button 2021-04-26 18:08:14 -04:00
adbenitez 6d1418c86c show system message status while sending and on errors 2021-04-17 21:42:14 -04:00
adbenitez 471bff5e97 allow to add POI with text of any length 2021-04-17 01:26:14 -04:00
B. Petersen 04619ade89 update translations 2021-04-15 20:15:41 +02:00
adbenitez 39d9a083ad don't reference attribute in an XML drawable, to avoid crashes on old android versions 2021-03-23 18:43:07 -04:00
Hocuri 4c0d03772d Better profile and group picture selection by using attachment selector (#1837)
fix #1836

AvatarSelector is mostly copied from AttachmentTypeSelector. I first started to make it a subclass, but there were so many functions that had to be changed that I decided against it (esp. also the constructor, so I would have had to create another constructor to allow AvatarSelector to bypass the "normal" constructor). Could still be done though, of course.

I think (hope joy) that the commits are clear enough that this can be reviewed commit-by-commit. In the first commit, commenting out code means "Moved somewhere else"

I found it easier to look at the first commit using gitk than GitHub as GitHub doesn't show it as copied from AttachmentTypeSelector but as a new file. (of course you can also just review normally, going throug it file-by-file :)

* Don't show remove button if there is no image yet

* Remove unnecessary animation that just made things look worse

* Delete now-unused ClearProfileAvatarActivity

* For groups, also use the attachment-chooser-dialog

* Remove confirmation dialog for removing avatar (The user has to confirm anyway, and this was not correctly translated)
2021-03-16 11:58:44 +01:00