[Android] [PATCH 0/2] AudioBrowserFragment: focus improvements

Mik Amchislavsky hailmikhail at gmail.com
Mon Oct 6 05:40:16 CEST 2014


Mik Amchislavsky (2):

1/2 - AudioBrowserFragment: focus related resource improvements
    1) prevent focus loss
    2) use drawable background for header
    3) add focus support for tab header

2/2 - AudioBrowserFragment: focus related functional improvement        
    1) after focus change, synchronize mHeader with mFlingViewGroup
    2) update mHeader focusDownId dynamically with support for empty lists

 .../res/drawable/background_header_item.xml        |   23 +++++++
 vlc-android/res/drawable/tab_focused.xml           |   27 ++++++++
 vlc-android/res/drawable/tab_indicator.xml         |    3 +
 vlc-android/res/layout/audio_albums_songs.xml      |   12 +++-
 vlc-android/res/layout/audio_browser.xml           |   34 ++++++++--
 .../vlc/gui/audio/AudioBrowserFragment.java        |   68 +++++++++++++++++++-
 6 files changed, 158 insertions(+), 9 deletions(-)
 create mode 100644 vlc-android/res/drawable/background_header_item.xml
 create mode 100644 vlc-android/res/drawable/tab_focused.xml

-- 
1.7.9.5



More information about the Android mailing list