From 6f1612d99cb7acd79434eac24916a9d0b0c52ff5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 14 Aug 2013 14:33:47 -0400 Subject: [PATCH] [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. --- .../src/org/dolphinemu/dolphinemu/InputConfigAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/InputConfigAdapter.java b/Source/Android/src/org/dolphinemu/dolphinemu/InputConfigAdapter.java index c7e23f3cfa..ad3a5211c8 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/InputConfigAdapter.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/InputConfigAdapter.java @@ -36,7 +36,7 @@ public final class InputConfigAdapter extends ArrayAdapter { 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) {