diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-08-17 22:51:35 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-08-17 22:51:35 -0400 |
| commit | 803b7ae991507d3d1d96ea92130ea5c883d7de7f (patch) | |
| tree | 2eeefa0af03b5cb8c96537c0c7e38f681d5457a8 /Source/Android/src/org | |
| parent | ba76b016daabaaebbab10a8de8cc8c99b74431d4 (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.java | 6 |
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; |
