mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
SeekBarPreference: don't make the value text selectable
The ADT lint warnings flagged the value text as "consider making the text selectable", however if you do TalkBack will cause the first character to be read every time the seekbar changes poisiton (due to the text being updated via the setText method). This is annoying and confusing, so textIsSelectable is set to false to supress the lint warning.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:textIsSelectable="true"
|
||||
android:textIsSelectable="false"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<SeekBar
|
||||
|
||||
Reference in New Issue
Block a user