Remove "Additional actions" title
This commit is contained in:
parent
1b2c81c7b6
commit
871adc8cc6
2 changed files with 3 additions and 19 deletions
|
@ -21,13 +21,6 @@
|
||||||
app:layout_behavior="net.osmand.plus.widgets.tools.ExtendedBottomSheetBehavior"
|
app:layout_behavior="net.osmand.plus.widgets.tools.ExtendedBottomSheetBehavior"
|
||||||
tools:background="?attr/bg_color">
|
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
|
<LinearLayout
|
||||||
android:id="@+id/context_menu_items_container"
|
android:id="@+id/context_menu_items_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -35,8 +28,6 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="@dimen/bottom_sheet_content_padding_small"/>
|
android:paddingBottom="@dimen/bottom_sheet_content_padding_small"/>
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</android.support.v4.widget.NestedScrollView>
|
</android.support.v4.widget.NestedScrollView>
|
||||||
|
|
||||||
</android.support.design.widget.CoordinatorLayout>
|
</android.support.design.widget.CoordinatorLayout>
|
||||||
|
|
|
@ -6,7 +6,6 @@ import android.os.Bundle;
|
||||||
import android.support.annotation.DrawableRes;
|
import android.support.annotation.DrawableRes;
|
||||||
import android.support.annotation.NonNull;
|
import android.support.annotation.NonNull;
|
||||||
import android.support.annotation.Nullable;
|
import android.support.annotation.Nullable;
|
||||||
import android.support.v4.content.ContextCompat;
|
|
||||||
import android.view.ContextThemeWrapper;
|
import android.view.ContextThemeWrapper;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
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.cancel_row).setOnClickListener(dismissOnClickListener);
|
||||||
mainView.findViewById(R.id.scroll_view_container).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() {
|
View.OnClickListener onClickListener = new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
|
Loading…
Reference in a new issue