|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
|
android:background="?attr/activity_background_basic"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
@ -13,458 +13,498 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/shadow_on_map"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingTop="@dimen/content_padding_half"
|
|
|
|
|
android:paddingBottom="@dimen/content_padding_half">
|
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
|
android:src="@drawable/bg_shadow_onmap" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/icon_iv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
tools:src="@drawable/ic_action_hillshade_dark" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:background="?attr/activity_background_basic"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/setting_list_item_large_height"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/title_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
tools:text="Terrain" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/state_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="Enabled" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/switch_compat"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/titleBottomDivider"
|
|
|
|
|
layout="@layout/card_bottom_divider"
|
|
|
|
|
tools:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/content_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/bottom_sheet_list_item_height"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:baselineAligned="false"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/hillshade_btn_container"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
tools:background="@drawable/btn_border_left_active">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/hillshade_btn"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/shared_string_hillshade"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/slope_btn_container"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/slope_btn"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/shared_string_slope"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:background="@drawable/btn_border_right_inactive" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/description"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="Hillshade map using dark shades to show slopes, peaks and lowlands." />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="@string/shared_string_transparency"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/transparency_value_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="25%" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
|
android:id="@+id/transparency_slider"
|
|
|
|
|
style="@style/Widget.MaterialComponents.Slider"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:stepSize="1"
|
|
|
|
|
android:theme="@style/Theme.MaterialComponents"
|
|
|
|
|
app:haloRadius="@dimen/slider_thumb_halo_size"
|
|
|
|
|
app:thumbRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:tickColor="@android:color/transparent"
|
|
|
|
|
app:trackHeight="@dimen/slider_track_height" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
|
|
|
android:layout_marginTop="@dimen/content_padding_half"
|
|
|
|
|
android:background="?attr/dashboard_divider"
|
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:text="@string/shared_string_zoom_levels"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingTop="@dimen/content_padding"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:paddingBottom="@dimen/content_padding_half">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:text="Min"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:text="Max"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/zoom_value_min"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="3" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
|
android:id="@+id/zoom_slider"
|
|
|
|
|
style="@style/Widget.MaterialComponents.Slider"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:stepSize="1"
|
|
|
|
|
app:tickColor="@color/color_black"
|
|
|
|
|
android:theme="@style/Theme.MaterialComponents"
|
|
|
|
|
app:haloRadius="@dimen/slider_thumb_halo_size"
|
|
|
|
|
app:thumbRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:trackHeight="@dimen/slider_track_height" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/zoom_value_max"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="19" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
android:text="@string/terrain_slider_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/legend_top_divider"
|
|
|
|
|
layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/legend_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingBottom="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:text="@string/shared_string_legend"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/icon_iv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:src="@drawable/img_legend_slope" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/slope_read_more_tv"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/slope_read_more" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/legend_bottom_divider"
|
|
|
|
|
layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/download_container_top_divider"
|
|
|
|
|
layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/download_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:text="@string/welmode_download_maps"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/download_description_tv"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/hillshade_download_description" />
|
|
|
|
|
|
|
|
|
|
<com.github.ksoichiro.android.observablescrollview.ObservableListView
|
|
|
|
|
android:id="@+id/list_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:divider="@null"
|
|
|
|
|
android:fadeScrollbars="true" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/download_container_bottom_divider"
|
|
|
|
|
layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/empty_state"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_small">
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:id="@+id/empty_state_image"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:src="@drawable/img_empty_state_terrain" />
|
|
|
|
|
tools:src="@drawable/ic_action_hillshade_dark" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/title_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
|
|
|
tools:text="Terrain" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="start|bottom"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_half"
|
|
|
|
|
android:background="@drawable/bg_dark_transp"
|
|
|
|
|
android:gravity="start|bottom"
|
|
|
|
|
android:padding="@dimen/map_button_margin"
|
|
|
|
|
android:text="@string/shared_string_hillshade"
|
|
|
|
|
android:textColor="@color/color_white" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="start|bottom"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_half"
|
|
|
|
|
android:background="@drawable/bg_dark_transp"
|
|
|
|
|
android:gravity="start|bottom"
|
|
|
|
|
android:padding="@dimen/map_button_margin"
|
|
|
|
|
android:text="@string/shared_string_slope"
|
|
|
|
|
android:textColor="@color/color_white" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/state_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="Enabled" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
|
android:id="@+id/switch_compat"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/empty_state_description"
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/titleBottomDivider"
|
|
|
|
|
layout="@layout/card_bottom_divider"
|
|
|
|
|
tools:visibility="gone" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/content_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:layout_marginBottom="@dimen/content_padding"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/terrain_empty_state_text" />
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="@dimen/dialog_button_height"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:background="@drawable/btn_bg_border_inactive"
|
|
|
|
|
android:baselineAligned="false"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/hillshade_btn_container"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/hillshade_btn"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/shared_string_hillshade"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:id="@+id/slope_btn_container"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/slope_btn"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/shared_string_slope"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/description"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginTop="@dimen/content_padding_small"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
|
|
|
tools:text="Hillshade map using dark shades to show slopes, peaks and lowlands." />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:text="@string/shared_string_transparency"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_regular" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/transparency_value_tv"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_regular"
|
|
|
|
|
tools:text="25%" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
|
android:id="@+id/transparency_slider"
|
|
|
|
|
style="@style/Widget.MaterialComponents.Slider"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingBottom="@dimen/dialog_content_margin"
|
|
|
|
|
android:stepSize="1"
|
|
|
|
|
android:theme="@style/Theme.MaterialComponents"
|
|
|
|
|
app:haloRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:thumbRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:tickColor="@android:color/transparent"
|
|
|
|
|
app:trackHeight="@dimen/slider_track_height" />
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
|
|
|
android:background="?attr/dashboard_divider"
|
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:letterSpacing="@dimen/description_letter_spacing"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:text="@string/shared_string_zoom_levels"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:text="@string/shared_string_min"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:text="@string/shared_string_max"
|
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/zoom_value_min"
|
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
tools:text="3" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
|
android:id="@+id/zoom_slider"
|
|
|
|
|
style="@style/Widget.MaterialComponents.Slider"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:stepSize="1"
|
|
|
|
|
android:theme="@style/Theme.MaterialComponents"
|
|
|
|
|
app:haloRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:thumbRadius="@dimen/slider_thumb_size"
|
|
|
|
|
app:tickColor="@color/color_black"
|
|
|
|
|
app:trackHeight="@dimen/slider_track_height" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/zoom_value_max"
|
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="end"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
tools:text="19" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:layout_marginBottom="@dimen/content_padding"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:text="@string/terrain_slider_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/legend_top_divider"
|
|
|
|
|
layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/legend_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:letterSpacing="@dimen/description_letter_spacing"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:paddingBottom="@dimen/content_padding"
|
|
|
|
|
android:text="@string/shared_string_legend"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:src="@drawable/img_legend_slope" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/slope_read_more_tv"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/slope_read_more" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/legend_bottom_divider"
|
|
|
|
|
layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/download_container_top_divider"
|
|
|
|
|
layout="@layout/card_top_divider" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/download_container"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:letterSpacing="@dimen/description_letter_spacing"
|
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
|
android:paddingTop="@dimen/list_header_settings_top_margin"
|
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
|
android:text="@string/welmode_download_maps"
|
|
|
|
|
android:textColor="@color/preference_category_title"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/download_description_tv"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginTop="@dimen/content_padding_half"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/hillshade_download_description" />
|
|
|
|
|
|
|
|
|
|
<com.github.ksoichiro.android.observablescrollview.ObservableListView
|
|
|
|
|
android:id="@+id/list_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:divider="@null"
|
|
|
|
|
android:fadeScrollbars="true" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/download_container_bottom_divider"
|
|
|
|
|
layout="@layout/card_bottom_divider" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/empty_state"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_small">
|
|
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
|
android:id="@+id/empty_state_image"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:src="@drawable/img_empty_state_terrain" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="start|bottom"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_half"
|
|
|
|
|
android:background="@drawable/bg_dark_transp"
|
|
|
|
|
android:gravity="start|bottom"
|
|
|
|
|
android:padding="@dimen/map_button_margin"
|
|
|
|
|
android:text="@string/shared_string_hillshade"
|
|
|
|
|
android:textColor="@color/color_white" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="start|bottom"
|
|
|
|
|
android:layout_margin="@dimen/content_padding_half"
|
|
|
|
|
android:background="@drawable/bg_dark_transp"
|
|
|
|
|
android:gravity="start|bottom"
|
|
|
|
|
android:padding="@dimen/map_button_margin"
|
|
|
|
|
android:text="@string/shared_string_slope"
|
|
|
|
|
android:textColor="@color/color_white" />
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/empty_state_description"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
|
|
android:layout_marginEnd="@dimen/content_padding"
|
|
|
|
|
android:layout_marginBottom="@dimen/content_padding"
|
|
|
|
|
android:gravity="start"
|
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
|
android:textSize="@dimen/default_desc_text_size"
|
|
|
|
|
tools:text="@string/terrain_empty_state_text" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/bottom_empty_space"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/bottom_empty_space"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</LinearLayout>
|