mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 07:45:33 +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)
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user