Yuito-app-android/app/src/main/res/layout
Ivan Kupalov 8770fbe986 ComposeActivity refactor (#1541)
* Convert ComposeActivity to Kotlin

* More ComposeActivity cleanups

* Move ComposeActivity to it's own package

* Remove ComposeActivity.IntentBuilder

* Re-do part of the media downsizing/uploading

* Add sending of status to ViewModel, draft media descriptions

* Allow uploading video, update description after uploading

* Enable camera, enable upload cancelling

* Cleanup of ComposeActivity

* Extract CaptionDialog, extract ComposeActivity methods

* Fix handling of redrafted media

* Add initial state and media uploading out of Activity

* Change ComposeOptions.mentionedUsernames to be Set rather than List

We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.

* Add combineOptionalLiveData. Add docs.

It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.

* Add poll support to Compose.

* cleanup code

* move more classes into compose package

* cleanup code

* fix button behavior

* add error handling for media upload

* add caching for instance data again

* merge develop

* fix scheduled toots

* delete unused string

* cleanup ComposeActivity

* fix restoring media from drafts

* make media upload code a little bit clearer

* cleanup autocomplete search code

* avoid duplicate object creation in SavedTootActivity

* perf: avoid unnecessary work when initializing ComposeActivity

* add license header to new files

* use small toot button on bigger displays

* fix ComposeActivityTest

* fix bad merge

* use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
..
activity_about.xml add build customization options (#1532) 2019-10-29 20:30:46 +01:00
activity_account.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
activity_account_list.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
activity_compose.xml ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
activity_edit_profile.xml Add support for instance property `max_bio_chars` (#1414) 2019-08-04 20:25:07 +02:00
activity_filters.xml error handling in FiltersActivity (#1180) 2019-04-07 16:33:08 +02:00
activity_license.xml fix filemojicompat link (#1274) 2019-05-25 16:44:51 +02:00
activity_lists.xml List editing (#1104) 2019-03-16 13:36:16 +01:00
activity_login.xml add build customization options (#1532) 2019-10-29 20:30:46 +01:00
activity_main.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
activity_modal_timeline.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
activity_preferences.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
activity_report.xml Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
activity_saved_toot.xml Tab customization & direct messages tab (#1012) 2019-02-12 19:22:37 +01:00
activity_scheduled_toot.xml Scheduled toot (#1004) 2019-10-02 21:28:12 +02:00
activity_search.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
activity_statuslist.xml Bookmarks (#1560) 2019-11-19 10:15:32 +01:00
activity_tab_preference.xml make max tabs reached message translateable 2019-02-15 21:35:14 +01:00
activity_view_media.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
activity_view_tag.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
activity_view_thread.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
card_license.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
dialog_add_poll.xml Create polls (#1452) 2019-08-22 20:30:08 +02:00
dialog_emojicompat.xml 2019 Emoji Update (#1261) 2019-06-06 21:51:56 +02:00
dialog_filter.xml Add the 'whole word' setting to the filter preferences UI (#1278) 2019-06-24 10:11:25 +02:00
fragment_account_list.xml Error artwork (#1000) 2019-01-28 19:02:31 +01:00
fragment_accounts_in_list.xml List editing (#1104) 2019-03-16 13:36:16 +01:00
fragment_instance_list.xml Implement instance mutes (#1311) 2019-06-11 15:56:27 +02:00
fragment_report_done.xml Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
fragment_report_note.xml Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
fragment_report_statuses.xml Redesign report activity (#1295) 2019-06-09 16:55:34 +02:00
fragment_search.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
fragment_timeline.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
fragment_timeline_notifications.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
fragment_view_image.xml Upgrade api level to Android 10, implement new sharing api (#1537) 2019-10-22 21:18:20 +02:00
fragment_view_thread.xml Migrate to ViewPager2 (#1544) 2019-11-06 20:17:53 +01:00
fragment_view_video.xml Upgrade api level to Android 10, implement new sharing api (#1537) 2019-10-22 21:18:20 +02:00
item_account.xml Improve search results (#1327) 2019-07-19 20:10:20 +02:00
item_account_field.xml upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
item_add_poll_option.xml Create polls (#1452) 2019-08-22 20:30:08 +02:00
item_autocomplete_account.xml Animate gif avatars (#1279) 2019-05-26 08:46:08 +02:00
item_autocomplete_divider.xml Add autocompletion for custom emoji (#1089) 2019-03-04 19:28:08 +01:00
item_autocomplete_emoji.xml Add autocompletion for custom emoji (#1089) 2019-03-04 19:28:08 +01:00
item_autocomplete_hashtag.xml Add autocompletion for custom emoji (#1089) 2019-03-04 19:28:08 +01:00
item_blocked_user.xml Animate gif avatars (#1279) 2019-05-26 08:46:08 +02:00
item_conversation.xml Bookmarks (#1560) 2019-11-19 10:15:32 +01:00
item_edit_field.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
item_emoji_button.xml ComposeActivity improvements (#548) 2018-04-13 22:37:21 +02:00
item_emoji_pref.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
item_follow.xml fix follow message being cut off with large font (#1519) 2019-10-03 21:11:19 +02:00
item_follow_request.xml Animate gif avatars (#1279) 2019-05-26 08:46:08 +02:00
item_footer.xml fix account list loading and clean up a lot of code (#823) 2018-08-31 21:52:09 +02:00
item_hashtag.xml Improve search results (#1327) 2019-07-19 20:10:20 +02:00
item_list.xml List editing (#1104) 2019-03-16 13:36:16 +01:00
item_muted_domain.xml Implement instance mutes (#1311) 2019-06-11 15:56:27 +02:00
item_muted_user.xml Animate gif avatars (#1279) 2019-05-26 08:46:08 +02:00
item_network_state.xml Tab customization & direct messages tab (#1012) 2019-02-12 19:22:37 +01:00
item_picker_list.xml List tabs (#1570) 2019-12-02 16:53:24 +01:00
item_poll.xml Unlimited number of poll options (#1340) 2019-06-22 21:55:03 +02:00
item_poll_preview_option.xml Create polls (#1452) 2019-08-22 20:30:08 +02:00
item_report_status.xml fix eye menu icon in thread view (#1372) 2019-07-07 17:57:41 +02:00
item_saved_toot.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
item_scheduled_toot.xml Scheduled toot (#1004) 2019-10-02 21:28:12 +02:00
item_status.xml Bookmarks (#1560) 2019-11-19 10:15:32 +01:00
item_status_bottom_sheet.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
item_status_detailed.xml Bookmarks (#1560) 2019-11-19 10:15:32 +01:00
item_status_notification.xml Upgrade api level to Android 10, implement new sharing api (#1537) 2019-10-22 21:18:20 +02:00
item_status_placeholder.xml Tab customization & direct messages tab (#1012) 2019-02-12 19:22:37 +01:00
item_tab_preference.xml Add close icon to tabs in Tabs account preferences page (#1588) 2019-12-19 18:35:55 +01:00
item_tab_preference_small.xml Tab customization & direct messages tab (#1012) 2019-02-12 19:22:37 +01:00
material_drawer_header.xml make avatar images in drawer rounded squares (#1388) 2019-07-16 19:26:41 +02:00
notifications_filter.xml Add CLEAR and FILTER buttons to notifications (#1168) 2019-04-09 19:13:54 +02:00
search_view.xml Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
toolbar_basic.xml Refactor theming (#1529) 2019-10-12 20:00:29 +02:00
view_account_moved.xml Animate gif avatars (#1279) 2019-05-26 08:46:08 +02:00
view_background_message.xml Error artwork (#1000) 2019-01-28 19:02:31 +01:00
view_compose_options.xml fix radiobutton size in compose options 2018-12-29 00:02:29 +01:00
view_compose_schedule.xml ComposeActivity refactor (#1541) 2019-12-19 19:09:40 +01:00
view_poll_preview.xml Create polls (#1452) 2019-08-22 20:30:08 +02:00