From 089d74776325c96a2e829c1b9f38df1e5def008e Mon Sep 17 00:00:00 2001 From: PavelRatushny Date: Fri, 22 Sep 2017 17:31:28 +0300 Subject: [PATCH] Replace option button with text --- .../layout/fragment_map_markers_dialog.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/OsmAnd/res/layout/fragment_map_markers_dialog.xml b/OsmAnd/res/layout/fragment_map_markers_dialog.xml index 725f5e8c94..fd4e0de885 100644 --- a/OsmAnd/res/layout/fragment_map_markers_dialog.xml +++ b/OsmAnd/res/layout/fragment_map_markers_dialog.xml @@ -37,12 +37,21 @@ osmand:typeface="@string/font_roboto_medium" android:textSize="@dimen/dialog_header_text_size"/> - + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:gravity="center_vertical" + android:ellipsize="end" + android:maxLines="1" + android:paddingRight="16dp" + android:paddingLeft="16dp" + android:text="@string/shared_string_options" + osmand:typeface="@string/font_roboto_regular" + android:textAllCaps="true" + android:textSize="@dimen/default_list_text_size" + android:textColor="@color/color_white" + android:background="?attr/selectableItemBackground"/>