[Android] Make the banners display a little larger. Now they don't look like tiny icons in the game list.

This commit is contained in:
Lioncash 2013-08-17 22:51:35 -04:00
parent ba76b016da
commit 803b7ae991

View File

@ -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;