Merge pull request #4601 from osmandapp/marker_history_menu_fix
Marker history menu fix
This commit is contained in:
commit
aa2a763736
1 changed files with 135 additions and 137 deletions
|
@ -1,10 +1,10 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:background="?attr/bg_color"
|
android:background="?attr/bg_color"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/bottom_sheet_selected_item_title_height"
|
android:layout_height="@dimen/bottom_sheet_selected_item_title_height"
|
||||||
android:minHeight="@dimen/bottom_sheet_selected_item_title_height"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
android:minHeight="@dimen/bottom_sheet_selected_item_title_height"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingEnd="@dimen/bottom_sheet_content_padding"
|
android:paddingEnd="@dimen/bottom_sheet_content_padding"
|
||||||
android:paddingLeft="@dimen/bottom_sheet_content_padding"
|
android:paddingLeft="@dimen/bottom_sheet_content_padding"
|
||||||
|
@ -45,26 +45,24 @@
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<net.osmand.plus.widgets.TextViewEx
|
<android.support.v7.widget.AppCompatTextView
|
||||||
osmand:typeface="@string/font_roboto_regular"
|
|
||||||
android:id="@+id/map_marker_title"
|
android:id="@+id/map_marker_title"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:maxLines="1"
|
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textSize="@dimen/default_list_text_size"
|
android:maxLines="1"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
|
android:textSize="@dimen/default_list_text_size"
|
||||||
tools:text="Bloemstraat 179"/>
|
tools:text="Bloemstraat 179"/>
|
||||||
|
|
||||||
<net.osmand.plus.widgets.TextViewEx
|
<android.support.v7.widget.AppCompatTextView
|
||||||
osmand:typeface="@string/font_roboto_regular"
|
|
||||||
android:id="@+id/map_marker_passed_info"
|
android:id="@+id/map_marker_passed_info"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:maxLines="1"
|
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textSize="@dimen/default_list_text_size"
|
android:maxLines="1"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
|
android:textSize="@dimen/default_desc_text_size"
|
||||||
tools:text="Passed: July 28"/>
|
tools:text="Passed: July 28"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -80,10 +78,10 @@
|
||||||
android:id="@+id/make_active_row"
|
android:id="@+id/make_active_row"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
||||||
|
android:layout_marginTop="@dimen/bottom_sheet_content_margin_small"
|
||||||
android:background="?attr/selectableItemBackground"
|
android:background="?attr/selectableItemBackground"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:minHeight="@dimen/bottom_sheet_list_item_height"
|
android:minHeight="@dimen/bottom_sheet_list_item_height"
|
||||||
android:layout_marginTop="@dimen/bottom_sheet_content_margin_small"
|
|
||||||
android:paddingEnd="@dimen/bottom_sheet_content_padding"
|
android:paddingEnd="@dimen/bottom_sheet_content_padding"
|
||||||
android:paddingLeft="@dimen/bottom_sheet_content_padding"
|
android:paddingLeft="@dimen/bottom_sheet_content_padding"
|
||||||
android:paddingRight="@dimen/bottom_sheet_content_padding"
|
android:paddingRight="@dimen/bottom_sheet_content_padding"
|
||||||
|
|
Loading…
Reference in a new issue