diff --git a/OsmAnd-java/src/main/java/net/osmand/router/RouteExporter.java b/OsmAnd-java/src/main/java/net/osmand/router/RouteExporter.java index 1ae0568bcb..7ae47d4098 100644 --- a/OsmAnd-java/src/main/java/net/osmand/router/RouteExporter.java +++ b/OsmAnd-java/src/main/java/net/osmand/router/RouteExporter.java @@ -1,7 +1,5 @@ package net.osmand.router; -import net.osmand.GPXUtilities; -import net.osmand.GPXUtilities.GPXExtensionsWriter; import net.osmand.GPXUtilities.GPXFile; import net.osmand.GPXUtilities.RouteSegment; import net.osmand.GPXUtilities.RouteType; @@ -12,12 +10,8 @@ import net.osmand.Location; import net.osmand.binary.BinaryMapRouteReaderAdapter.RouteTypeRule; import net.osmand.binary.RouteDataBundle; import net.osmand.binary.StringBundle; -import net.osmand.binary.StringBundleWriter; -import net.osmand.binary.StringBundleXmlWriter; import net.osmand.util.Algorithms; -import org.xmlpull.v1.XmlSerializer; - import java.util.ArrayList; import java.util.List; import java.util.Map; diff --git a/OsmAnd/res/drawable-hdpi/image_text_osmand.png b/OsmAnd/res/drawable-hdpi/image_text_osmand.png deleted file mode 100644 index a26b0faa2e..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/image_text_osmand.png and /dev/null differ diff --git a/OsmAnd/res/drawable-hdpi/image_text_osmand_inapp.png b/OsmAnd/res/drawable-hdpi/image_text_osmand_inapp.png deleted file mode 100644 index 43866889c8..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/image_text_osmand_inapp.png and /dev/null differ diff --git a/OsmAnd/res/drawable-hdpi/image_text_osmand_osmlive.png b/OsmAnd/res/drawable-hdpi/image_text_osmand_osmlive.png deleted file mode 100644 index f48103258b..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/image_text_osmand_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-hdpi/image_text_osmand_plus.png b/OsmAnd/res/drawable-hdpi/image_text_osmand_plus.png deleted file mode 100644 index 4d8e665d1b..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/image_text_osmand_plus.png and /dev/null differ diff --git a/OsmAnd/res/drawable-hdpi/image_text_osmand_plus_osmlive.png b/OsmAnd/res/drawable-hdpi/image_text_osmand_plus_osmlive.png deleted file mode 100644 index 6adccd5a60..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/image_text_osmand_plus_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/image_text_osmand.png b/OsmAnd/res/drawable-mdpi/image_text_osmand.png deleted file mode 100644 index a841937deb..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/image_text_osmand.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/image_text_osmand_inapp.png b/OsmAnd/res/drawable-mdpi/image_text_osmand_inapp.png deleted file mode 100644 index 470f1cb49f..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/image_text_osmand_inapp.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/image_text_osmand_osmlive.png b/OsmAnd/res/drawable-mdpi/image_text_osmand_osmlive.png deleted file mode 100644 index fcd0191440..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/image_text_osmand_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/image_text_osmand_plus.png b/OsmAnd/res/drawable-mdpi/image_text_osmand_plus.png deleted file mode 100644 index 16b7a91f45..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/image_text_osmand_plus.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/image_text_osmand_plus_osmlive.png b/OsmAnd/res/drawable-mdpi/image_text_osmand_plus_osmlive.png deleted file mode 100644 index c4a80b7a2b..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/image_text_osmand_plus_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_dark.xml b/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_dark.xml new file mode 100644 index 0000000000..e0e60ea3ad --- /dev/null +++ b/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_dark.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_light.xml b/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_light.xml new file mode 100644 index 0000000000..a607fc4dce --- /dev/null +++ b/OsmAnd/res/drawable-v21/purchase_dialog_outline_btn_bg_light.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable-xhdpi/image_text_osmand.png b/OsmAnd/res/drawable-xhdpi/image_text_osmand.png deleted file mode 100644 index c03b0e1574..0000000000 Binary files a/OsmAnd/res/drawable-xhdpi/image_text_osmand.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xhdpi/image_text_osmand_inapp.png b/OsmAnd/res/drawable-xhdpi/image_text_osmand_inapp.png deleted file mode 100644 index 1ffb1674d8..0000000000 Binary files a/OsmAnd/res/drawable-xhdpi/image_text_osmand_inapp.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xhdpi/image_text_osmand_osmlive.png b/OsmAnd/res/drawable-xhdpi/image_text_osmand_osmlive.png deleted file mode 100644 index 350ca9c70f..0000000000 Binary files a/OsmAnd/res/drawable-xhdpi/image_text_osmand_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus.png b/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus.png deleted file mode 100644 index 41fb71a2d1..0000000000 Binary files a/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus_osmlive.png b/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus_osmlive.png deleted file mode 100644 index f1ed21bb04..0000000000 Binary files a/OsmAnd/res/drawable-xhdpi/image_text_osmand_plus_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxhdpi/image_text_osmand.png b/OsmAnd/res/drawable-xxhdpi/image_text_osmand.png deleted file mode 100644 index 69a0ce8383..0000000000 Binary files a/OsmAnd/res/drawable-xxhdpi/image_text_osmand.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_inapp.png b/OsmAnd/res/drawable-xxhdpi/image_text_osmand_inapp.png deleted file mode 100644 index 0439d756c0..0000000000 Binary files a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_inapp.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_osmlive.png b/OsmAnd/res/drawable-xxhdpi/image_text_osmand_osmlive.png deleted file mode 100644 index 0d5b99b738..0000000000 Binary files a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus.png b/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus.png deleted file mode 100644 index 724321f1ed..0000000000 Binary files a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus_osmlive.png b/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus_osmlive.png deleted file mode 100644 index 85e2130f7f..0000000000 Binary files a/OsmAnd/res/drawable-xxhdpi/image_text_osmand_plus_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand.png b/OsmAnd/res/drawable-xxxhdpi/image_text_osmand.png deleted file mode 100644 index 828bcf45e8..0000000000 Binary files a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_inapp.png b/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_inapp.png deleted file mode 100644 index 326fde6a1d..0000000000 Binary files a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_inapp.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_osmlive.png b/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_osmlive.png deleted file mode 100644 index c9f2bc7c75..0000000000 Binary files a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus.png b/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus.png deleted file mode 100644 index 1201d0ece8..0000000000 Binary files a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus.png and /dev/null differ diff --git a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus_osmlive.png b/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus_osmlive.png deleted file mode 100644 index f0300264bd..0000000000 Binary files a/OsmAnd/res/drawable-xxxhdpi/image_text_osmand_plus_osmlive.png and /dev/null differ diff --git a/OsmAnd/res/drawable/image_text_osmand.xml b/OsmAnd/res/drawable/image_text_osmand.xml new file mode 100644 index 0000000000..d284864074 --- /dev/null +++ b/OsmAnd/res/drawable/image_text_osmand.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + diff --git a/OsmAnd/res/drawable/image_text_osmand_inapp.xml b/OsmAnd/res/drawable/image_text_osmand_inapp.xml new file mode 100644 index 0000000000..b00ae968a7 --- /dev/null +++ b/OsmAnd/res/drawable/image_text_osmand_inapp.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + diff --git a/OsmAnd/res/drawable/image_text_osmand_osmlive.xml b/OsmAnd/res/drawable/image_text_osmand_osmlive.xml new file mode 100644 index 0000000000..348469f01f --- /dev/null +++ b/OsmAnd/res/drawable/image_text_osmand_osmlive.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + diff --git a/OsmAnd/res/drawable/image_text_osmand_plus.xml b/OsmAnd/res/drawable/image_text_osmand_plus.xml new file mode 100644 index 0000000000..a318016dab --- /dev/null +++ b/OsmAnd/res/drawable/image_text_osmand_plus.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + diff --git a/OsmAnd/res/drawable/image_text_osmand_plus_osmlive.xml b/OsmAnd/res/drawable/image_text_osmand_plus_osmlive.xml new file mode 100644 index 0000000000..2eb3f7e9e3 --- /dev/null +++ b/OsmAnd/res/drawable/image_text_osmand_plus_osmlive.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + diff --git a/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_dark.xml b/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_dark.xml index 3a35b91f36..90df5478f3 100644 --- a/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_dark.xml +++ b/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_dark.xml @@ -1,8 +1,16 @@ - - - - - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_light.xml b/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_light.xml index 8116459637..ee1573b3f1 100644 --- a/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_light.xml +++ b/OsmAnd/res/drawable/purchase_dialog_outline_btn_bg_light.xml @@ -1,8 +1,16 @@ - - - - - + + + + + + + + + + + + + + + diff --git a/OsmAnd/res/layout-land/fragment_measurement_tool.xml b/OsmAnd/res/layout-land/fragment_measurement_tool.xml index 710a81682c..3331d72dee 100644 --- a/OsmAnd/res/layout-land/fragment_measurement_tool.xml +++ b/OsmAnd/res/layout-land/fragment_measurement_tool.xml @@ -1,20 +1,21 @@ - + android:clickable="true" + android:focusable="true"> + tools:visibility="visible" /> + tools:text="724 m," /> + android:layout_alignRight="@id/up_down_button" + android:layout_marginTop="@dimen/bottom_sheet_title_padding_bottom" + android:textAppearance="@style/TextAppearance.ListItemCategoryTitle" + tools:text="points: 3" /> + android:layout_below="@id/measurement_points_text_view" + android:layout_alignStart="@+id/measurement_distance_text_view" + android:layout_alignLeft="@+id/measurement_distance_text_view" + android:maxLines="1" + android:textColor="?android:textColorSecondary" + android:textSize="@dimen/default_desc_text_size" + tools:text=" – 700 m" /> - + android:layout_weight="0.55" + android:padding="@dimen/content_padding_half"> - - - - - - + android:maxLines="1" + android:paddingLeft="@dimen/measurement_tool_text_button_padding_small" + android:paddingRight="@dimen/measurement_tool_text_button_padding_small" + android:text="@string/shared_string_options" + android:textColor="?attr/color_dialog_buttons" + osmand:typeface="@string/font_roboto_medium" /> - - - + android:layout_centerInParent="true"> -