I have a problem with
ScrollView – it is
focusable. I’m writing a simple app that controled from DPAD. Layout has only ScrollView (empty for now) and a button under it. I don’t know why, but
focusable and I can not turn it off.
focusableInTouchMode set to
false not work at all. Activity automatically gives it focus on start. I do not access ScrollView from any part of code, only button. What can it be? Thanks in advance.
I think there is a bug in android.
focusable by default and
focusable can not be set in
layout xml, but I called
findViewById and it works now. Mayby bug in latest support library (I’m using version 25.1.0).