I have a custom Range Seek Bar
which has 2 custom thumbs (Max and Min) for setting the range of a seekbar. Everything's working fine as expected but as I go in accessibility mode, the focus comes in the range seekbar which is the device default behavior.
What I have tried so far :
- Tried to get the Thumb view from the SeekBar class and forcing accessibility when the focus is supposed to come to the seekbar.
- Used
thumb.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED);
to force focus on the thumb of a seekbar
and also
thumb.setFocusable(true);
thumb.setFocusableInTouchMode(true);
but no positive results so far.
What I want is to focus on the Thumb instead of the Seekbar itself.
Any Suggestions will be really helpful.