I have an app with a very simple TV layout consisting of 2 web links (android:autoLink="web") and a text label. It renders like this:
non focusable label
When the screen is loaded for the 1st time, I click d-pad down button and and the focus goes to the 1st link (yahoo.com). I then click d-pad down again expecting it to focus on google.com. Instead, the screen doesn't change and no focus is shown. If I click d-pad down again the focus finally arrives on google.com. This happens only 1st time the screen is loaded, if I keep clicking d-pad up/down the focus moves between 2 web links as expected. I'm looking for help figuring out why the focus doesn't behave as expected the 1st time. Thanks.
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text = "http://yahoo.com"
android:autoLink="web"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="non focusable label"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text = "http://google.com"
android:autoLink="web"
/>
</LinearLayout>