mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
@ -48,10 +48,16 @@ public final class GameListAdapter extends ArrayAdapter<GameListItem>
|
|||||||
|
|
||||||
if(title != null)
|
if(title != null)
|
||||||
title.setText(item.getName());
|
title.setText(item.getName());
|
||||||
|
|
||||||
if(subtitle != null)
|
if(subtitle != null)
|
||||||
subtitle.setText(item.getData());
|
subtitle.setText(item.getData());
|
||||||
|
|
||||||
if(icon != null)
|
if(icon != null)
|
||||||
|
{
|
||||||
icon.setImageBitmap(item.getImage());
|
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;
|
return v;
|
||||||
|
Reference in New Issue
Block a user