Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Make the banners display a little larger. Now they don't lo…
…ok like tiny icons in the game list.
  • Loading branch information
lioncash committed Aug 18, 2013
1 parent ba76b01 commit 803b7ae
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -48,10 +48,16 @@ public View getView(int position, View convertView, ViewGroup parent)

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;
Expand Down

0 comments on commit 803b7ae

Please sign in to comment.