Remove unnecessary changes
This commit is contained in:
parent
24a035dfb4
commit
c87bd1f60a
1 changed files with 1 additions and 2 deletions
|
@ -1344,7 +1344,7 @@ public class ShowRouteInfoDialogFragment extends BaseOsmAndFragment {
|
||||||
container.addView(titleView);
|
container.addView(titleView);
|
||||||
}
|
}
|
||||||
|
|
||||||
private View buildDescriptionView(Spannable description, LinearLayout container, int paddingTop, int paddingBottom) {
|
private void buildDescriptionView(Spannable description, LinearLayout container, int paddingTop, int paddingBottom) {
|
||||||
TextViewEx textViewDescription = new TextViewEx(view.getContext());
|
TextViewEx textViewDescription = new TextViewEx(view.getContext());
|
||||||
LinearLayout.LayoutParams descriptionParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
LinearLayout.LayoutParams descriptionParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
descriptionParams.setMargins(0, dpToPx(paddingTop), 0, dpToPx(paddingBottom));
|
descriptionParams.setMargins(0, dpToPx(paddingTop), 0, dpToPx(paddingBottom));
|
||||||
|
@ -1354,7 +1354,6 @@ public class ShowRouteInfoDialogFragment extends BaseOsmAndFragment {
|
||||||
AndroidUtils.setTextSecondaryColor(app, textViewDescription, nightMode);
|
AndroidUtils.setTextSecondaryColor(app, textViewDescription, nightMode);
|
||||||
textViewDescription.setText(description);
|
textViewDescription.setText(description);
|
||||||
container.addView(textViewDescription);
|
container.addView(textViewDescription);
|
||||||
return textViewDescription;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private LinearLayout buildTextContainerView() {
|
private LinearLayout buildTextContainerView() {
|
||||||
|
|
Loading…
Reference in a new issue