From 871adc8cc6fa99f5e15527e2ba4b9851565ff478 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 5 Jan 2018 20:17:07 +0200 Subject: [PATCH] Remove "Additional actions" title --- ...t_context_menu_actions_bottom_sheet_dialog.xml | 15 +++------------ ...dditionalActionsBottomSheetDialogFragment.java | 7 ------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml b/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml index 5aeecc6553..d4f1f35d9c 100644 --- a/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml +++ b/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml @@ -22,20 +22,11 @@ tools:background="?attr/bg_color"> - - - - - - + android:orientation="vertical" + android:paddingBottom="@dimen/bottom_sheet_content_padding_small"/> diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/AdditionalActionsBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/AdditionalActionsBottomSheetDialogFragment.java index 22eda3c868..2ae057f831 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/AdditionalActionsBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/AdditionalActionsBottomSheetDialogFragment.java @@ -6,7 +6,6 @@ import android.os.Bundle; import android.support.annotation.DrawableRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable; -import android.support.v4.content.ContextCompat; import android.view.ContextThemeWrapper; import android.view.LayoutInflater; import android.view.View; @@ -72,12 +71,6 @@ public class AdditionalActionsBottomSheetDialogFragment extends net.osmand.plus. mainView.findViewById(R.id.cancel_row).setOnClickListener(dismissOnClickListener); mainView.findViewById(R.id.scroll_view_container).setOnClickListener(dismissOnClickListener); - TextView headerTitle = (TextView) mainView.findViewById(R.id.header_title); - if (nightMode) { - headerTitle.setTextColor(ContextCompat.getColor(activity, R.color.ctx_menu_info_text_dark)); - } - headerTitle.setText(R.string.additional_actions); - View.OnClickListener onClickListener = new View.OnClickListener() { @Override public void onClick(View view) {