diff --git a/Source/Android/res/layout/gamelist_layout.xml b/Source/Android/res/layout/gamelist_layout.xml index 16596c3cec..f27b5968a6 100644 --- a/Source/Android/res/layout/gamelist_layout.xml +++ b/Source/Android/res/layout/gamelist_layout.xml @@ -1,43 +1,54 @@ - + android:layout_height="?android:attr/listPreferredItemHeight" + android:padding="3dp" > - + - + + + + + + - - - - - - - - - - - + diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java b/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java index d7170bb474..0571c9d213 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java @@ -36,7 +36,7 @@ public final class GameListAdapter extends ArrayAdapter if (v == null) { LayoutInflater vi = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); - v = vi.inflate(id, null); + v = vi.inflate(id, parent, false); } final GameListItem item = items.get(position); diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/GameListItem.java b/Source/Android/src/org/dolphinemu/dolphinemu/GameListItem.java index 92ad986e91..10f44f69e4 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/GameListItem.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/GameListItem.java @@ -31,8 +31,14 @@ public final class GameListItem implements Comparable { try { + // Open the no banner icon. InputStream noBannerPath = ctx.getAssets().open("NoBanner.png"); + + // Decode the bitmap. image = BitmapFactory.decodeStream(noBannerPath); + + // Scale the bitmap to match other banners. + image = Bitmap.createScaledBitmap(image, 96, 32, false); } catch (IOException e) {