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:
Reece H. Dunn
2013-05-04 12:38:12 +01:00
parent c8d0484e38
commit 3169ffbc04
+1 -1
View File
@@ -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