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

Geoffrey Métais geoffrey.metais at gmail.com
Mon Oct 6 16:00:34 CEST 2014


These patches don't apply, they seem corrupted, but I don't see why. They
are well formed.

Do you have a special encoding?

I accepted your previous patches but beware, you set a 'gravity' param
twice in video_grid.xml

While you're at it, the history fragment would need such a treatment :)

On Mon, Oct 6, 2014 at 5:40 AM, Mik Amchislavsky <hailmikhail at gmail.com>
wrote:

> 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
>
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141006/6fa69c73/attachment.html>


More information about the Android mailing list