Skip to content

Commit

Permalink
Merge pull request #21803 from osmandapp/legend_route_wip
Browse files Browse the repository at this point in the history
Legend route wip
  • Loading branch information
Chumva authored Jan 27, 2025
2 parents e4a2a1b + 4ec56e6 commit 43cfbfd
Show file tree
Hide file tree
Showing 69 changed files with 1,087 additions and 1,250 deletions.
24 changes: 24 additions & 0 deletions OsmAnd/res/layout/alpine_hiking_scale_card.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/list_background_color"
android:orientation="vertical">

<net.osmand.plus.widgets.TextViewEx
style="@style/DescStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/content_padding"
android:layout_marginTop="@dimen/content_padding_small"
android:text="@string/rendering_attr_alpineHiking_description"
android:textColor="?android:textColorSecondary" />

<LinearLayout
android:id="@+id/classification_properties"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />

</LinearLayout>
29 changes: 29 additions & 0 deletions OsmAnd/res/layout/cycle_route_types_card.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/list_background_color"
android:orientation="vertical">

<include
android:id="@+id/header_container"
layout="@layout/bottom_sheet_item_with_two_text" />

<include layout="@layout/custom_radio_buttons" />

<net.osmand.plus.widgets.TextViewEx
android:id="@+id/description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:letterSpacing="@dimen/text_button_letter_spacing"
android:paddingLeft="@dimen/content_padding"
android:paddingTop="@dimen/content_padding_small"
android:paddingRight="@dimen/content_padding"
android:paddingBottom="@dimen/content_padding_small"
android:text="@string/rendering_attr_showCycleNodeNetworkRoutes_name"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_desc_text_size"
android:textStyle="normal" />

</LinearLayout>
82 changes: 0 additions & 82 deletions OsmAnd/res/layout/fragment_alpine_difficult_classification.xml

This file was deleted.

7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_configure_map.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:id="@+id/list"
Expand Down
13 changes: 4 additions & 9 deletions OsmAnd/res/layout/fragment_mapillary_filters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:id="@+id/mapillary_filters_linear_layout"
<LinearLayout
android:id="@+id/mapillary_filters_linear_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
Expand Down
83 changes: 0 additions & 83 deletions OsmAnd/res/layout/fragment_mtb_routes.xml

This file was deleted.

7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_nautical_depth_contours.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_relief_3d.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
11 changes: 3 additions & 8 deletions OsmAnd/res/layout/fragment_terrain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -89,8 +84,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/content_padding"
app:tint="?attr/secondary_icon_color"
app:srcCompat="@drawable/ic_action_arrow_down" />
app:srcCompat="@drawable/ic_action_arrow_down"
app:tint="?attr/secondary_icon_color" />

</LinearLayout>

Expand Down
7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_transport_lines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_weather_contours.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_weather_layer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
7 changes: 1 addition & 6 deletions OsmAnd/res/layout/fragment_weather_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
android:layout_height="match_parent"
android:orientation="vertical">

<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/shadow_on_map"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
app:srcCompat="@drawable/bg_shadow_onmap" />
<include layout="@layout/shadow_on_map" />

<LinearLayout
android:layout_width="match_parent"
Expand Down
1 change: 0 additions & 1 deletion OsmAnd/res/layout/list_item_icon_and_menu.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
Expand Down
Loading

0 comments on commit 43cfbfd

Please sign in to comment.