From 803b7ae991507d3d1d96ea92130ea5c883d7de7f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 17 Aug 2013 22:51:35 -0400 Subject: [PATCH] [Android] Make the banners display a little larger. Now they don't look like tiny icons in the game list. --- .../src/org/dolphinemu/dolphinemu/GameListAdapter.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java b/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java index 0571c9d213..d683741c79 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java @@ -48,10 +48,16 @@ public final class GameListAdapter extends ArrayAdapter if(title != null) title.setText(item.getName()); + if(subtitle != null) subtitle.setText(item.getData()); + if(icon != null) + { icon.setImageBitmap(item.getImage()); + icon.getLayoutParams().width = (int) ((860 / c.getResources().getDisplayMetrics().density) + 0.5); + icon.getLayoutParams().height = (int)((340 / c.getResources().getDisplayMetrics().density) + 0.5); + } } return v;