Yuito-app-android/app/src/main/res
Nik Clayton c36b243745
Show reblog/favourite confirmations as menus not dialogs (#3418)
* Show reblog/favourite confirmations as menus not dialogs

The previous code used dialogs and displayed the text of the status when
reblogging or favouriting.

This didn't work when the post just contained images, and other material
from the status (content warning, polls) was not shown either.

Fix this by displaying a popup menu instead. The status remains visible so
the user can clearly see what they're acting on.

In addition, this lays the groundwork for supporting a long-press menu
in the future to allow the user to reblog/favourite from a different
account.

Fixes https://github.com/tuskyapp/Tusky/issues/3308

* Revert the change that puts the menu immediately over the icon

Although this behavious is consistent with how the option menu works, I
decided that the risk of someone inadvertently double-tapping in the same
location, and the first tap opens the menu and the second tap confirms the
action was too great.

So now the menu appears either above or below the icon depending on space,
and the user has to tap in two slightly different spaces.

This is also consistent with the previous behaviour, where it's highly
unlikely that the confirm button on the dialog would have been directly
under the user's finger if they double-tapped.
2023-03-18 09:37:55 +01:00
..
anim fix some lint warnings 2019-04-21 08:24:29 +02:00
color Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
color-v24 Fix crash on startup on Api levels 25 and lower (#2422) 2022-04-07 20:04:39 +02:00
drawable Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
drawable-v24 new app icon (#2695) 2022-09-13 19:48:09 +02:00
layout Meet accessibility guidelines for clickable spans (#3382) 2023-03-18 08:57:39 +01:00
layout-land Add trending tags (#3149) 2023-02-14 19:52:11 +01:00
layout-sw640dp Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
menu Show reblog/favourite confirmations as menus not dialogs (#3418) 2023-03-18 09:37:55 +01:00
mipmap-anydpi-v26 new app icon (#2695) 2022-09-13 19:48:09 +02:00
raw Update gradle, kotlin and other dependencies (#2291) 2022-01-20 21:10:32 +01:00
values Show reblog/favourite confirmations as menus not dialogs (#3418) 2023-03-18 09:37:55 +01:00
values-ar Translated using Weblate (Arabic) 2023-03-13 09:15:23 +00:00
values-be Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ber Replace “status” by “post” in strings name and source values (#2405) 2022-03-27 12:23:25 +02:00
values-bg Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-bn-rBD Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-bn-rIN Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ca Translated using Weblate (Catalan) 2023-03-13 09:15:23 +00:00
values-ckb Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-cs Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-cy Translated using Weblate (Welsh) 2023-03-13 09:15:23 +00:00
values-de Translated using Weblate (German) 2023-03-13 09:15:23 +00:00
values-el Update translation files 2022-08-05 16:55:17 +00:00
values-en-rGB revert en-gb string update 2023-02-11 13:07:14 +01:00
values-eo Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-es Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-eu Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fa Translated using Weblate (Persian) 2023-03-13 09:15:23 +00:00
values-fi Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fr Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-fy Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ga Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-gd Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-gl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-hi Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-hu Translated using Weblate (Hungarian) 2023-03-13 09:15:23 +00:00
values-in Update translation files 2023-01-02 16:01:35 +00:00
values-is Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-it Translated using Weblate (Italian) 2023-03-13 09:15:23 +00:00
values-ja Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-kab Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ko Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-large Theme refactoring (#1656) 2020-01-30 21:37:28 +01:00
values-large-land fix compose field on landscape tablets (#2747) 2022-11-07 19:56:28 +01:00
values-lv Translated using Weblate (Latvian) 2023-03-13 09:15:23 +00:00
values-ml Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-nb-rNO Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-night Show the difference between edited statuses (#3314) 2023-03-10 20:30:55 +01:00
values-nl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-oc Translated using Weblate (Occitan) 2023-03-13 09:15:23 +00:00
values-pl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-pt-rBR Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-pt-rPT Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-ru Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sa Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-si Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sk Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-sl Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-small Implement media tab (#430) 2017-11-05 22:32:36 +01:00
values-sv Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-sw380dp ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
values-ta Spelling (#2771) 2022-11-09 19:32:39 +01:00
values-th Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-tr Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-uk Translated using Weblate (Ukrainian) 2023-03-13 09:15:23 +00:00
values-v27 Android 12 support, update AndroidX libraries (#2367) 2022-03-09 20:50:23 +01:00
values-vi Translated using Weblate (Vietnamese) 2023-03-13 09:15:23 +00:00
values-w640dp Add trending tags (#3149) 2023-02-14 19:52:11 +01:00
values-zh-rCN Translated using Weblate (Chinese (Simplified)) 2023-03-13 09:15:23 +00:00
values-zh-rHK Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rMO Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rSG Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
values-zh-rTW Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
xml Add Belarusian language to the in-app language picker (#3170) 2023-01-15 15:03:46 +01:00