[Android] Use orange instead of red

Sébastien Toque git at videolan.org
Tue Apr 3 21:57:01 CEST 2012


android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Apr  3 21:52:08 2012 +0200| [1df9704200227c2b4f58aeb78c9cb90b649796c5] | committer: Sébastien Toque

Use orange instead of red

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=1df9704200227c2b4f58aeb78c9cb90b649796c5
---

 .../vlc/gui/audio/AudioSongsListAdapter.java       |    2 +-
 .../videolan/vlc/gui/video/VideoListAdapter.java   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioSongsListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioSongsListAdapter.java
index 1f95669..98e0014 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioSongsListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioSongsListAdapter.java
@@ -77,7 +77,7 @@ public class AudioSongsListAdapter extends ArrayAdapter<Media> {
 
         Media media = getItem(position);
         holder.title.setText(media.getTitle());
-        holder.title.setTextColor(mCurrentIndex == position ? Color.RED : Color.WHITE);
+        holder.title.setTextColor(mCurrentIndex == position ? 0xFFF48B00 /* ORANGE */ : Color.WHITE);
         holder.artist.setText(media.getArtist() + " - " + media.getAlbum());
         return v;
     }
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
index 6b1c0dc..07f2b03 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -144,7 +144,7 @@ public class VideoListAdapter extends ArrayAdapter<Media>
             holder.thumbnail.setImageBitmap(thumbnail);
         }
 
-        holder.title.setTextColor(media.getLocation().equals(mLastMRL) ? Color.RED : Color.WHITE);
+        holder.title.setTextColor(media.getLocation().equals(mLastMRL) ? 0xFFF48B00 /* ORANGE */ : Color.WHITE);
         holder.more.setTag(media);
         holder.more.setOnClickListener(moreClickListener);
 



More information about the Android mailing list