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

@ -589,8 +589,8 @@
<string name="pref_summary_http_proxy_missing">&lt;ekki stillt&gt;</string>
<string name="pref_summary_http_proxy_invalid">&lt;ógilt&gt;</string>
<string name="title_edits">Breytingar</string>
<string name="status_created_info">%1$s bjó til %2$s</string>
<string name="status_edit_info">%1$s breytti %2$s</string>
<string name="status_created_info">%1$s bjó til</string>
<string name="status_edit_info">%1$s breytti</string>
<string name="post_media_alt">AUKA</string>
<string name="action_discard">Henda breytingum</string>
<string name="action_continue_edit">Halda breytingum áfram</string>