This commit is contained in:
Alexey Kulish 2016-11-10 17:04:23 +03:00
parent ccaa339a4a
commit ea15865333

View file

@ -1066,8 +1066,13 @@ public class ConfigureMapMenu {
final Spinner spinner = (Spinner) spinnerView.findViewById(R.id.spinner);
TextView description = (TextView) spinnerView.findViewById(R.id.description);
title.setText(p.getName());
description.setText(p.getDescription());
String propertyName = SettingsActivity.getStringPropertyName(activity, p.getAttrName(),
p.getName());
String propertyDescr = SettingsActivity.getStringPropertyDescription(activity,
p.getAttrName(), p.getName());
title.setText(propertyName);
description.setText(propertyDescr);
int i = Arrays.asList(p.getPossibleValues()).indexOf(pref.get());
if (i >= 0) {