formatting
This commit is contained in:
parent
f018c7ec1d
commit
373f1fd83c
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ public class TrackPointFragment extends OsmandExpandableListFragment implements
|
|||
if (TextUtils.isEmpty(categoryName)) {
|
||||
categoryName = getString(R.string.shared_string_waypoints);
|
||||
}
|
||||
SpannableStringBuilder text = new SpannableStringBuilder(categoryName).append(" — ").append(String.valueOf(getChildrenCount(groupPosition)));
|
||||
SpannableStringBuilder text = new SpannableStringBuilder(categoryName).append(" (").append(String.valueOf(getChildrenCount(groupPosition))).append(")");
|
||||
text.setSpan(new ForegroundColorSpan(AndroidUtils.getColorFromAttr(app, R.attr.wikivoyage_primary_text_color)),
|
||||
0, categoryName.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
text.setSpan(new ForegroundColorSpan(ContextCompat.getColor(app, R.color.wikivoyage_secondary_text)),
|
||||
|
|
Loading…
Reference in a new issue