I am new to android development, and I am trying to develop an simple android application for google tv and would like to create a tabbed layout similar to the leftNavBar library provided in the googletv-android-sample or just using the original actionbar tabs layout. However, I am looking for a solution to attach the onFocus event to the tab so that i can switch the content fragment when a tab gains focus, instead of selected event. Thank you.
An approach is given here by implementing onfouschangelistener on leftnavbar library.
Change ImageView when Tab Focus changes
Any other thoughts would be appreciated thank you.