[Android] Change the color of the sliding menu

XilasZ xilasz at gmail.com
Fri Aug 17 19:26:05 CEST 2012


I think it should be done only in the layout (sidebar.xml) instead of java
code.

On Fri, Aug 17, 2012 at 6:53 PM, Ludovic Fauvet <git at videolan.org> wrote:

> vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> |
> Fri Aug 17 15:50:15 2012 +0200| [08638b200dfe81be6df57e3c78fd0c9ebf333cb9]
> | committer: Ludovic Fauvet
>
> Change the color of the sliding menu
>
> >
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=08638b200dfe81be6df57e3c78fd0c9ebf333cb9
> ---
>
>  vlc-android/src/org/videolan/vlc/gui/MainActivity.java |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
> b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
> index 48476f4..d35b5c4 100644
> --- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
> +++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
> @@ -129,7 +129,7 @@ public class MainActivity extends
> SherlockFragmentActivity {
>          final ListView listView =
> (ListView)sidebar.findViewById(android.R.id.list);
>          mSidebarAdapter = new SidebarAdapter(getSupportFragmentManager());
>          listView.setAdapter(mSidebarAdapter);
> -        listView.setBackgroundColor(Color.parseColor("#1f3f61"));
> +        listView.setBackgroundColor(Color.parseColor("#424242"));
>          mMenu.setViewBehind(sidebar);
>
>          /* Get settings */
>
> _______________________________________________
> Android mailing list
> Android at videolan.org
> http://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20120817/ed4ddd40/attachment-0001.html>


More information about the Android mailing list