Commit Graph

356 Commits

Author SHA1 Message Date
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
Hocuri 23e6475f59 Correct a small shift to the right of the lock target
I have no idea why the shift was there in the first place, though.
2021-03-14 15:28:23 +01:00
Hocuri 9974fb082a Fix bug where a quoted image was drawn over the recording fab 2021-03-14 15:28:23 +01:00
Hocuri 0740eab596 Wider recording button, better rtl support 2021-03-14 15:28:23 +01:00
adbenitez 7b6f1bd507 add lock recording feature 2021-03-14 15:28:23 +01:00
Asiel Díaz Benítez beee60d6a7 implement sticker visualization (#1823)
Sticker picker is not implemented, just receiving(from DC Desktop, bots or future DC versions) and forwarding stickers
(code adapted from Signal)
2021-03-10 10:55:50 +01:00
B. Petersen df7e0aaa2e make links work 2021-03-09 01:59:17 +01:00
B. Petersen dde3a49db3 add status field to profile 2021-03-09 01:59:17 +01:00
bjoern 8d9c02dd7a add option to view full (html) message (#1763)
* add get-mime-original apis

* remove unused control

* add 'Show full message' buttons

* split reusable WebViewActivity from LocalHelpActivity

* add FullMsgActivity

* load html via AsyncTask

* adapt to changed api

* handle mailto:-links in WebView

* block loading remote images by default, add user setting always/once/never

* do not hide 'Once' button in always-mode, playing around a day with hidden 'Once' that looks more like a bug :)

* wording: as 'Always' affects all messages, it is better to speak of multiple senders

* wording: use 'Load remote images'

this makes it easier for the user to find the option
if one sees, images are missing in the document.

* wording: shorten text.

* wording: change 'may' to 'can'. 'may' sounds a bit as if someone allows this.

* Don't use AsyncTask

* check 'once' if appropriate

* use lite-colored checkbox-emoji in dark-theme

* add comment about missing error logging

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-01-28 22:53:15 +01:00
Hocuri a96aa2ff48 Show controls on small screens
Using both `setMessage()` and `setView()` on the same AlertDialog,
on small screens the "OK" and "Cancel" buttons were not be show. So, put the
message into our custom view.
2021-01-03 12:25:53 +01:00
Hocuri 3abaabb38a Put a black circle behind the edit options when editing an image 2020-12-05 19:56:37 +01:00
bjoern 1cc0c9d0c1 Merge pull request #1688 from deltachat/fix-tall-images-message-width
Wider messages for tall images
2020-12-01 13:29:43 +01:00
bjoern 7f37d93916 Merge pull request #1744 from deltachat/quote-forwarded-msgs
display forwarded messages also in quotes as such
2020-11-27 13:05:19 +01:00
B. Petersen 12e4d6b30e introduce color 'unknown_sender' and use it for forwarded messages, forwarded quotes, quotes with unknown sender 2020-11-25 20:57:46 +01:00
B. Petersen e2c930c895 remove unused @string/contacts_empty_hint from xml and add a tools:text hint instead 2020-11-23 14:12:55 +01:00
B. Petersen ed9921f40e show hint when there are no blocked contacts 2020-11-22 23:06:00 +01:00
B. Petersen 68961fdcd7 remove unused SwipeRefreshLayout and use self-explaining default for contact-list-empty-hint 2020-11-22 22:16:13 +01:00
B. Petersen 21faaa5f9c fortify wording in delete-server dialog
this pr changes the wording,
not relativize things, underlining the worse impact.

i avoided adding "maybe" or "potentially" here,
even if that would be more accurate.

moreover, the pr adds some red color and emojicons.
2020-11-17 16:35:50 +01:00
Hocuri 1af62923d7 Fix #1727 wrong input line padding when using system-emoji 2020-11-12 13:13:47 +01:00
Hocuri b9c18bdbe3 Make the dissmiss button better clickable again
I somehow have a deja-vu effect, didn't I do this before? Anyway, now
it's fine
2020-11-08 12:59:07 +01:00
Hocuri 778718c7b2 Don't cut the document icon in quotes
I also deleted an unnecessary LinearLayout, so you should look at the
diff with --ignore-all-space

Firstly, I lifted quote_attachment_container out of the FrameLayout with
the thumbnail so that quote_attachment_container can be wrap_content
(and enlarge the quote if necessary) while the thumbnail still always
matches the size of the quote.

Then I made the document view itself a little smaller so it does not
enlarge the quote all the times.
2020-11-08 12:55:38 +01:00
bjoern 0f7059eafc Merge pull request #1709 from deltachat/always-show-done
In the editor, always show the "Done" button
2020-11-05 19:42:16 +01:00
bjoern adc0ea3ca0 Merge pull request #1707 from deltachat/fix-longname-title
Fix parts of group names missing
2020-11-05 19:41:54 +01:00
Hocuri a781bd0d36 Put color picker to the right 2020-11-05 13:16:40 +01:00
Hocuri ab77b61d35 Do not display milliseconds when recording a voice message fix #1711 2020-11-04 09:34:54 +01:00
Hocuri b99c003917 In the editor, always show the "Done" button 2020-11-03 19:20:25 +01:00