mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
[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:
parent
ba76b016da
commit
803b7ae991
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user