Remove "Additional actions" title

This commit is contained in:
alex 2018-01-05 20:17:07 +02:00
parent 1b2c81c7b6
commit 871adc8cc6
2 changed files with 3 additions and 19 deletions

View file

@ -21,13 +21,6 @@
app:layout_behavior="net.osmand.plus.widgets.tools.ExtendedBottomSheetBehavior"
tools:background="?attr/bg_color">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<include layout="@layout/bottom_sheet_dialog_fragment_title"/>
<LinearLayout
android:id="@+id/context_menu_items_container"
android:layout_width="match_parent"
@ -35,8 +28,6 @@
android:orientation="vertical"
android:paddingBottom="@dimen/bottom_sheet_content_padding_small"/>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>
</android.support.design.widget.CoordinatorLayout>

View file

@ -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) {