summaryrefslogtreecommitdiff
path: root/Source/Android/src/org
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-08-17 22:51:35 -0400
committerLioncash <mathew1800@gmail.com>2013-08-17 22:51:35 -0400
commit803b7ae991507d3d1d96ea92130ea5c883d7de7f (patch)
tree2eeefa0af03b5cb8c96537c0c7e38f681d5457a8 /Source/Android/src/org
parentba76b016daabaaebbab10a8de8cc8c99b74431d4 (diff)
[Android] Make the banners display a little larger. Now they don't look like tiny icons in the game list.
Diffstat (limited to 'Source/Android/src/org')
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/GameListAdapter.java6
1 files changed, 6 insertions, 0 deletions
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<GameListItem>
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;