From be7f39445f13dfbd218c3bf0e1d34a4fc6172bd6 Mon Sep 17 00:00:00 2001 From: Sean Date: Sun, 27 Apr 2014 17:13:09 -0400 Subject: Make the Android UI more like the desktop UI --- .../src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Android/src') diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java index d4dedd29aa..af1c95eabf 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java @@ -70,6 +70,9 @@ public final class GameListAdapter extends ArrayAdapter } } + if (position % 2 == 1) + convertView.setBackgroundColor(0xFFE3E3E3); + return convertView; } } -- cgit v1.2.3 From 5865ae2d6fcbfaef9a9e6799391777ee39e3802f Mon Sep 17 00:00:00 2001 From: Sean Maas Date: Sun, 27 Apr 2014 19:47:58 -0400 Subject: Add a comment about game list color --- .../Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Android/src') diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java index af1c95eabf..c9922e1adb 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListAdapter.java @@ -70,6 +70,7 @@ public final class GameListAdapter extends ArrayAdapter } } + // Make every other game in the list grey if (position % 2 == 1) convertView.setBackgroundColor(0xFFE3E3E3); -- cgit v1.2.3