Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
555a0d3ac2
1 changed files with 1 additions and 3 deletions
|
@ -869,9 +869,7 @@ public class ConfigureMapMenu {
|
|||
final OsmandSettings.CommonPreference<String> pref = activity.getMyApplication().getSettings()
|
||||
.getCustomRenderProperty(p.getAttrName());
|
||||
|
||||
OsmandApplication app = activity.getMyApplication();
|
||||
|
||||
LayoutInflater inflater = (LayoutInflater) app.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
LayoutInflater inflater = activity.getLayoutInflater();
|
||||
View spinnerView = inflater.inflate(R.layout.spinner_rule_layout, null);
|
||||
TextView title = (TextView) spinnerView.findViewById(R.id.title);
|
||||
final Spinner spinner = (Spinner) spinnerView.findViewById(R.id.spinner);
|
||||
|
|
Loading…
Reference in a new issue