session-android/app/src
ceokot a260717d42
Highlight @You mentions (#985)
* Highlight @You mentions

* fix: resolve merge conflicts

* Setting the proper design rules for mentions

* New RoundedBackgroundSpan, applied to "you"  mentions

The rounded background highlighter can take padding, so there is no need to add those extra spaces at the start and end.

* Better mention highlight logic

Some mention highlight should only format the text and not apply any styling.
Also making sure we cater for all cases properly

* Updated the text color logic based on design rules

* Fine tuning the color rules

* Removing usage of Resources.getSystem()

Only making the db call if there actually is a mention

* Moving color definition outside the loop to avoid repetitions

---------

Co-authored-by: charles <charles@oxen.io>
Co-authored-by: 0x330a <92654767+0x330a@users.noreply.github.com>
Co-authored-by: ThomasSession <thomas.r@getsession.org>
2024-07-01 14:52:18 +10:00
..
androidTest feat: add more testing functionality for the expected current / updated expiry configuration upon merging libsession updates 2023-10-16 10:48:06 +11:00
huawei Add huawei strings 2023-08-16 20:54:07 +09:30
main Highlight @You mentions (#985) 2024-07-01 14:52:18 +10:00
play Refactor to accept Huawei token from getToken() and/or onNewToken() 2023-08-09 10:08:42 +09:30
sharedTest/java/org/thoughtcrime/securesms Merge dev (#1468) 2024-05-01 12:59:33 +10:00
test Merge dev (#1468) 2024-05-01 12:59:33 +10:00
website/kotlin/org/thoughtcrime/securesms/notifications Fix website flavor TokenFetcher 2023-08-17 14:02:22 +09:30