chinwag-android/app
Nik Clayton 61720c3472
Meet accessibility guidelines for clickable spans (#3382)
Clickable spans in textviews do not normally meet the Android accessibility
guidelines of a minimum 48dp square touch target.

This can't be fixed with a `TouchDelegate`, as the span is not a separate
view to which the delegate can be attached.

Add `ClickableSpanTextView`. If used instead of a `TextView`, any spans
from `ClickableSpan` will have their touchable area extended to meet the
48dp minimum.

The touchable area is still bounded by the size of the view.

If two spans are closer together than 48dp then the closest span to the
touch wins.

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2023-03-18 08:57:39 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
src Meet accessibility guidelines for clickable spans (#3382) 2023-03-18 08:57:39 +01:00
build.gradle Enforce lint cleanliness when building (#3363) 2023-03-13 10:23:42 +01:00
getGitSha.gradle Previous attempt to fix git sha on non-git build broke git build. (#3322) 2023-02-16 20:20:52 +01:00
lint-baseline.xml Enforce lint cleanliness when building (#3363) 2023-03-13 10:23:42 +01:00
lint.xml Enforce lint cleanliness when building (#3363) 2023-03-13 10:23:42 +01:00
proguard-rules.pro Add extra proguard rules for OkHttp (#3350) 2023-02-25 21:40:13 +01:00