mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 06:39:14 +01:00
[Android] Fix the gamepad settings view inflation.
In some cases, it would fail to inflate correctly in the sense that it would only show the binding status and not the name of the actual control that was being binded.
This commit is contained in:
parent
0cd94b5bc7
commit
6f1612d99c
@ -36,7 +36,7 @@ public final class InputConfigAdapter extends ArrayAdapter<InputConfigItem> {
|
|||||||
View v = convertView;
|
View v = convertView;
|
||||||
if (v == null) {
|
if (v == null) {
|
||||||
LayoutInflater vi = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
LayoutInflater vi = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||||
v = vi.inflate(id, null);
|
v = vi.inflate(id, parent, false);
|
||||||
}
|
}
|
||||||
final InputConfigItem o = items.get(position);
|
final InputConfigItem o = items.get(position);
|
||||||
if (o != null) {
|
if (o != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user