ComposeActivity improvements (#548)

* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
This commit is contained in:
Konrad Pozniak 2018-04-13 22:37:21 +02:00 committed by GitHub
commit 27eefbf65a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 1815 additions and 1234 deletions

View file

@ -9,7 +9,7 @@
<string name="error_authorization_denied">L\'autorització s\'ha denegat.</string>
<string name="error_retrieving_oauth_token">L\'obtenció del testimoni d\'inici de sessió ha fallat.</string>
<string name="error_compose_character_limit">L\'estat és massa llarg!</string>
<string name="error_media_upload_size">El fitxer ha de ser inferior a 4MB.</string>
<string name="error_media_upload_size">El fitxer ha de ser inferior a 8MB.</string>
<string name="error_media_upload_type">Aquest tipus de fitxer no es pot pujar.</string>
<string name="error_media_upload_opening">Aquest tipus de fitxer no es pot obrir.</string>
<string name="error_media_upload_permission">Cal permís de lectura del mitjà.</string>
@ -69,7 +69,6 @@
<string name="action_send">TOOT</string>
<string name="action_send_public">TOOT!</string>
<string name="action_retry">Torna a intentar-ho</string>
<string name="action_hide_text">Amaga el text amb un avís</string>
<string name="action_close">Tanca</string>
<string name="action_view_profile">Perfil</string>
<string name="action_view_preferences">Preferències</string>
@ -79,14 +78,13 @@
<string name="action_view_follow_requests">Peticions de seguiment</string>
<string name="action_view_media">Multimèdia</string>
<string name="action_open_in_web">Obre al navegador</string>
<string name="action_photo_pick">Afegeix multimètida</string>
<string name="action_add_media">Afegeix multimètida</string>
<string name="action_photo_take">Fes una foto</string>
<string name="action_share">Comparteix</string>
<string name="action_mute">Silencia</string>
<string name="action_unmute">Deixa de silenciar</string>
<string name="action_mention">Menciona</string>
<string name="action_hide_media">Amaga el multimèdia</string>
<string name="action_compose_options">Opcions</string>
<string name="action_open_drawer">Open drawer</string>
<string name="action_save">Desa</string>
<string name="action_edit_profile">Edita el perfil</string>
@ -103,7 +101,6 @@
<string name="send_status_link_to">Comparteix l\'URL del toot a...</string>
<string name="send_status_content_to">Comparteix el toot a...</string>
<string name="confirmation_send">Toot!</string>
<string name="confirmation_reported">Enviat!</string>
<string name="confirmation_unblocked">Usuari desblocat</string>
<string name="confirmation_unmuted">Usuari sense silenciar</string>
@ -137,7 +134,6 @@
<string name="dialog_download_image">Baixa</string>
<string name="dialog_message_follow_request">Follow request pending: awaiting their response</string>
<string name="dialog_unfollow_warning">Vols deixar de seguir aquest compte?</string>
<string name="dialog_reply_not_found">Couldn\'t post this status. The status you\'re replying to might not be available. Remove reply info?</string>
<string name="visibility_public">Pública: és visible a la cronologia pública</string>
<string name="visibility_unlisted">Sense llistar: no és visible a les cronologies públiques</string>
@ -236,7 +232,6 @@
<string name="state_follow_requested">Follow requested</string>
<string name="no_content">no hi ha cap contingut</string>
<string name="action_save_one_toot">S\'ha desat el toot!</string>
<!--These are for timestamps on statuses. For example: "16s" or "2d"-->
<string name="abbreviated_in_years">en %d anys</string>