This commit is contained in:
Victor Shcherb 2014-07-31 01:41:05 +02:00
parent a8b37cd0ac
commit 5ea11283cd

View file

@ -1151,6 +1151,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
icon.setVisibility(View.INVISIBLE); icon.setVisibility(View.INVISIBLE);
label.setTypeface(Typeface.DEFAULT, Typeface.ITALIC); label.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
label.setText(model.getVisibleName()); label.setText(model.getVisibleName());
labelTime.setText("");
} else if (location == null || mapLocation == null) { } else if (location == null || mapLocation == null) {
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
icon.setVisibility(View.VISIBLE); icon.setVisibility(View.VISIBLE);
@ -1163,6 +1164,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
draw.setColor(model.isEnabled() ? activeColor : color); draw.setColor(model.isEnabled() ? activeColor : color);
icon.setImageDrawable(draw); icon.setImageDrawable(draw);
label.setText(model.getVisibleName()); label.setText(model.getVisibleName());
labelTime.setText("");
} else { } else {
label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); label.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
icon.setVisibility(View.VISIBLE); icon.setVisibility(View.VISIBLE);