Merge "Input settings: Show keyboard layout collection." into nyc-dev
am: f103d10
* commit 'f103d10861e6a702f8f29d42e48214c94b1ddb91':
Input settings: Show keyboard layout collection.
Change-Id: I813b902c6638befc9dcd7ebd166e8fe9c33731a5
This commit is contained in:
@@ -146,6 +146,7 @@ public final class KeyboardLayoutPickerFragment2 extends SettingsPreferenceFragm
|
|||||||
for (KeyboardLayout layout : mKeyboardLayouts) {
|
for (KeyboardLayout layout : mKeyboardLayouts) {
|
||||||
Preference pref = new Preference(getPrefContext());
|
Preference pref = new Preference(getPrefContext());
|
||||||
pref.setTitle(layout.getLabel());
|
pref.setTitle(layout.getLabel());
|
||||||
|
pref.setSummary(layout.getCollection());
|
||||||
root.addPreference(pref);
|
root.addPreference(pref);
|
||||||
mPreferenceMap.put(pref, layout);
|
mPreferenceMap.put(pref, layout);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user