[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;
|
||||
if (v == null) {
|
||||
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);
|
||||
if (o != null) {
|
||||
|
|
Loading…
Reference in New Issue