Remove ReplacementSpan, display diffs using CharacterStyle (#3431)

Remove the use of ReplacementSpan. It turns out this span type is incompatible with spans that occupy more than one line, and the result is that a longer diff can run off the end of the screen. The alternative means that the diff'd text doesn't have additional padding and rounded corners, but it's better than not being visible.

Display the most recent version of the status with larger text. Again, consistent with the thread view.

Display the avatar, name, and username of the poster in a pinned header at the top of the screen, instead of duplicating the information on every edit. This reduces the amount of redundant information on the screen.
This commit is contained in:
Nik Clayton 2023-06-11 19:12:05 +02:00 committed by GitHub
commit 66a394245b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 266 additions and 223 deletions

View file

@ -626,8 +626,8 @@
<string name="pref_reading_order_newest_first">Les plus récents en premier</string>
<string name="action_unfollow_hashtag_format">Arrêter de suivre #%s \?</string>
<string name="failed_to_pin">Échec de l\'épinglage</string>
<string name="status_edit_info">Modification de %1$s le %2$s</string>
<string name="status_created_info">Création par %1$s le %2$s</string>
<string name="status_edit_info">Modification de %1$s</string>
<string name="status_created_info">Création par %1$s</string>
<string name="compose_save_draft_loses_media">Enregistrer comme brouillon \? (Les pièces jointes seront à nouveau téléchargées lorsque le brouillon sera réouvert.)</string>
<string name="no_lists">Vous n\'avez aucune liste.</string>
<string name="language_display_name_format">%s (%s)</string>
@ -684,4 +684,4 @@
<string name="filter_keyword_addition_title">Ajouter un mot-clé</string>
<string name="filter_edit_keyword_title">Modifier mot-clé</string>
<string name="filter_description_format">%s : %s</string>
</resources>
</resources>