Introduce vector drawables support for pre 21

This commit is contained in:
max-klaus 2020-05-13 14:34:36 +03:00
parent f38a02e528
commit 2cc16653a1
205 changed files with 710 additions and 558 deletions

View file

@ -4,7 +4,7 @@
<shape android:shape="rectangle">
<solid android:color="@android:color/transparent" />
<corners android:radius="4dp" />
<stroke android:width="1dp" android:color="?attr/stroked_buttons_and_links_outline" />
<stroke android:width="1dp" android:color="@color/stroked_buttons_and_links_outline_dark" />
</shape>
</item>
</selector>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@android:color/transparent" />
<corners android:radius="4dp" />
<stroke android:width="1dp" android:color="@color/stroked_buttons_and_links_outline_light" />
</shape>
</item>
</selector>

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<size
android:width="360dp"
android:height="144dp"/>
<solid android:color="#ff8f00"/>
</shape>
</item>
<item>
<bitmap android:src="@drawable/ic_extension_dark" android:gravity="center" />
</item>
</layer-list>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/add_gpx_point_bottom_sheet"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
@ -16,7 +17,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/content_padding"
android:src="@drawable/ic_action_photo_dark"/>
osmand:srcCompat="@drawable/ic_action_photo_dark"/>
<LinearLayout
android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:id="@+id/package_delivered_layout"
android:layout_width="match_parent"
@ -23,7 +24,7 @@
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:layout_marginTop="@dimen/content_padding"
android:src="@drawable/ic_action_fav_dark"
osmand:srcCompat="@drawable/ic_action_fav_dark"
android:layout_marginStart="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding" />
@ -102,7 +103,7 @@
android:contentDescription="@string/shared_string_delete"
android:focusable="false"
android:scaleType="center"
android:src="@drawable/ic_action_remove_dark" />
osmand:srcCompat="@drawable/ic_action_remove_dark" />
</LinearLayout>
@ -113,4 +114,4 @@
android:layout_marginTop="@dimen/content_padding_half"
android:background="?attr/divider_color_basic" />
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -65,7 +66,7 @@
android:layout_gravity="center"
style="@style/Widget.AppCompat.Button.Borderless"
tools:background="@color/color_warning"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
</LinearLayout>

View file

@ -17,7 +17,7 @@
android:layout_marginRight="@dimen/content_padding"
android:tint="?attr/active_color_basic"
tools:visibility="visible"
android:src="@drawable/ic_action_plus"
osmand:srcCompat="@drawable/ic_action_plus"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottomShadowView"
android:orientation="vertical"
android:layout_width="match_parent"
@ -8,6 +9,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom"/>
osmand:srcCompat="@drawable/bg_shadow_list_bottom"/>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/topShadowView"
android:orientation="vertical"
android:layout_width="match_parent"
@ -12,6 +13,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top"/>
osmand:srcCompat="@drawable/bg_shadow_list_top"/>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/change_color_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -19,7 +20,7 @@
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/bottom_sheet_icon_margin"
android:layout_marginRight="@dimen/bottom_sheet_icon_margin"
android:src="@drawable/ic_action_appearance" />
osmand:srcCompat="@drawable/ic_action_appearance" />
<TextView
android:id="@+id/title"
@ -36,6 +37,6 @@
android:id="@+id/colorImage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_circle" />
osmand:srcCompat="@drawable/ic_action_circle" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/LinearLayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -13,7 +14,7 @@
android:layout_marginEnd="5dip">
<ImageButton
android:src="@drawable/ic_action_down_dark"
osmand:srcCompat="@drawable/ic_action_down_dark"
android:id="@+id/down"
android:contentDescription="@string/shared_string_move_down"
android:layout_width="wrap_content"
@ -31,7 +32,7 @@
android:layout_weight="1" />
<ImageButton
android:src="@drawable/ic_action_up_dark"
osmand:srcCompat="@drawable/ic_action_up_dark"
android:id="@+id/up"
android:contentDescription="@string/shared_string_move_up"
android:layout_width="wrap_content"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical"
android:layout_width="match_parent"
@ -24,7 +25,7 @@
android:layout_gravity="top"
android:contentDescription="@string/shared_string_close"
android:tint="@color/color_white"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
<LinearLayout
android:id="@+id/title_layout"
@ -70,7 +71,7 @@
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/shared_string_more"
android:src="@drawable/ic_overflow_menu_white"
osmand:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone"/>
</LinearLayout>
@ -89,4 +90,4 @@
android:foreground="@drawable/bg_contextmenu_shadow"
android:foregroundGravity="top|fill_horizontal"/>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/context_menu_top_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/contex_menu_top_shadow_height"
@ -10,6 +11,6 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_onmap" />
osmand:srcCompat="@drawable/bg_shadow_onmap" />
</FrameLayout>

View file

@ -37,6 +37,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/content_padding_small"
android:src="@drawable/img_crash" />
osmand:srcCompat="@drawable/img_crash" />
</LinearLayout>

View file

@ -37,7 +37,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginTop="@dimen/content_padding_small"
android:src="@drawable/monitoring_rec_big"
osmand:srcCompat="@drawable/monitoring_rec_big"
android:visibility="visible"
android:layout_marginStart="@dimen/list_content_padding" />
@ -98,7 +98,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_distance"
osmand:srcCompat="@drawable/ic_small_distance"
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
<TextView
@ -115,7 +115,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_point"
osmand:srcCompat="@drawable/ic_small_point"
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
<TextView
@ -205,4 +205,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -28,7 +29,7 @@
android:scaleType="center"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:layout_marginRight="@dimen/dashFavIconMargin"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:layout_marginEnd="@dimen/dashFavIconMargin"
android:layout_marginStart="@dimen/dashFavIconMargin" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -42,7 +43,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
android:src="@drawable/ic_action_polygom_dark"
osmand:srcCompat="@drawable/ic_action_polygom_dark"
android:visibility="visible"
android:layout_marginStart="@dimen/list_content_padding" />
@ -80,7 +81,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_distance"
osmand:srcCompat="@drawable/ic_small_distance"
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
<TextView
@ -98,7 +99,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_point"
osmand:srcCompat="@drawable/ic_small_point"
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
<TextView
@ -116,7 +117,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_time"
osmand:srcCompat="@drawable/ic_small_time"
android:layout_marginEnd="@dimen/gpx_small_icon_margin" />
<TextView
@ -163,7 +164,7 @@
android:layout_height="@dimen/list_item_height"
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_gsave_dark"
osmand:srcCompat="@drawable/ic_action_gsave_dark"
android:visibility="gone"
android:layout_marginStart="@dimen/favorites_icon_right_margin" />
@ -172,7 +173,7 @@
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_rec_stop"
osmand:srcCompat="@drawable/ic_action_rec_stop"
android:visibility="gone"/>
<ImageButton
@ -182,7 +183,7 @@
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white"
osmand:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone"/>
<LinearLayout
@ -220,4 +221,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -26,7 +27,7 @@
android:layout_gravity="center_vertical"
android:scaleType="center"
android:paddingLeft="@dimen/list_content_padding"
android:src="@drawable/ic_action_start_navigation"
osmand:srcCompat="@drawable/ic_action_start_navigation"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:paddingStart="@dimen/list_content_padding" />
@ -49,7 +50,7 @@
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_play_dark"
osmand:srcCompat="@drawable/ic_play_dark"
android:layout_marginStart="@dimen/dashFavIconMargin" />
<ImageButton
@ -60,7 +61,7 @@
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_action_remove_dark" />
osmand:srcCompat="@drawable/ic_action_remove_dark" />
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -26,7 +27,7 @@
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashboard_parking_left_margin"
android:layout_marginRight="@dimen/dashFavIconMargin"
android:src="@drawable/ic_action_start_navigation"
osmand:srcCompat="@drawable/ic_action_start_navigation"
android:scaleType="center"
android:background="@drawable/btn_inset_circle_no_shadow"
android:layout_marginStart="@dimen/dashboard_parking_left_margin"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -34,7 +35,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginTop="@dimen/favorites_icon_top_margin"
android:src="@drawable/ic_gpx_track"
osmand:srcCompat="@drawable/ic_gpx_track"
android:visibility="gone"
android:layout_marginStart="@dimen/list_content_padding" />
@ -58,7 +59,7 @@
android:layout_height="@dimen/list_item_height"
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_rec_stop"
osmand:srcCompat="@drawable/ic_action_rec_stop"
tools:visibility="visible" />
</LinearLayout>

View file

@ -69,7 +69,7 @@
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:scaleType="center"
android:src="@drawable/ic_action_edit_dark"/>
osmand:srcCompat="@drawable/ic_action_edit_dark"/>
</LinearLayout>
</LinearLayout>
@ -135,4 +135,4 @@
osmand:typeface="@string/font_roboto_medium"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -34,7 +34,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_arrow_back"
app:srcCompat="@drawable/ic_arrow_back"
tools:visibility="visible"/>
<ImageView
@ -46,7 +46,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_navigation_drawer"
app:srcCompat="@drawable/ic_navigation_drawer"
tools:visibility="gone"/>
<TextView
@ -77,7 +77,7 @@
android:layout_gravity="end"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_configure_screen_dark"/>
app:srcCompat="@drawable/ic_configure_screen_dark"/>
<ImageView
android:id="@+id/toolbar_ok"
@ -88,7 +88,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_action_done"/>
app:srcCompat="@drawable/ic_action_done"/>
<ImageView
android:id="@+id/toolbar_sort"
@ -99,7 +99,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_sort_waypoint_dark"/>
app:srcCompat="@drawable/ic_sort_waypoint_dark"/>
<ImageView
android:id="@+id/toolbar_flat"
@ -110,7 +110,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_flat_list_dark"
app:srcCompat="@drawable/ic_flat_list_dark"
android:visibility="gone"/>
<ImageView
@ -122,7 +122,7 @@
android:layout_height="match_parent"
android:background="@drawable/dashboard_button_light"
android:scaleType="fitCenter"
android:src="@drawable/ic_action_edit_dark"
app:srcCompat="@drawable/ic_action_edit_dark"
android:visibility="gone"/>
</LinearLayout>

View file

@ -26,7 +26,7 @@
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:layout_gravity="center"
android:src="@drawable/mm_storage_tank"
osmand:srcCompat="@drawable/mm_storage_tank"
tools:tint="?attr/default_icon_color"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />
@ -86,7 +86,7 @@
android:layout_marginRight="@dimen/content_padding"
android:layout_gravity="center"
android:visibility="invisible"
android:src="@drawable/mm_storage_tank"
osmand:srcCompat="@drawable/mm_storage_tank"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />

View file

@ -18,7 +18,7 @@
android:layout_gravity="center"
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:src="@drawable/mm_storage_tank"
osmand:srcCompat="@drawable/mm_storage_tank"
android:tint="?attr/default_icon_color"
tools:tint="?attr/default_icon_color"
android:layout_marginEnd="@dimen/content_padding"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@+id/share_fragment_layout"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -35,7 +36,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/list_destination"/>
osmand:srcCompat="@drawable/list_destination"/>
</LinearLayout>
@ -71,7 +72,7 @@
android:layout_height="48dp"
android:layout_gravity="top"
style="@style/Widget.AppCompat.Button.Borderless"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
</LinearLayout>

View file

@ -37,6 +37,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/content_padding_small"
android:src="@drawable/img_get_feedback" />
osmand:srcCompat="@drawable/img_get_feedback" />
</LinearLayout>

View file

@ -55,7 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/card_content_padding_large"
android:src="@drawable/img_download"
osmand:srcCompat="@drawable/img_download"
android:layout_marginStart="@dimen/card_content_padding_large" />
</LinearLayout>

View file

@ -64,7 +64,7 @@
android:background="?attr/dashboard_button"
android:focusable="false"
android:scaleType="center"
android:src="@drawable/ic_overflow_menu_white"
osmand:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone"
tools:visiblity="visible"
android:layout_marginEnd="4dp" />
@ -80,4 +80,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
@ -95,7 +96,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:contentDescription="@string/show_view_angle"
android:src="@drawable/ic_direction_arrow" />
osmand:srcCompat="@drawable/ic_direction_arrow" />
<TextView
android:id="@+id/distance"
@ -117,7 +118,7 @@
android:layout_marginStart="@dimen/list_item_button_padding"
android:layout_marginLeft="@dimen/list_item_button_padding"
android:contentDescription="@string/favorite_category_name"
android:src="@drawable/ic_small_group" />
osmand:srcCompat="@drawable/ic_small_group" />
<TextView
android:id="@+id/group_name"
@ -140,7 +141,7 @@
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:background="?attr/dashboard_button"
android:contentDescription="@string/context_menu_item_directions_to"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:visibility="gone" />
<ImageButton
@ -150,7 +151,7 @@
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:contentDescription="@string/shared_string_more"
android:src="@drawable/ic_overflow_menu_white"
osmand:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone" />
</LinearLayout>

View file

@ -1,4 +1,5 @@
<LinearLayout 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"
android:id="@+id/change_color_view"
android:layout_width="match_parent"
@ -19,7 +20,7 @@
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/route_info_icon_padding_right"
android:layout_marginRight="@dimen/route_info_icon_padding_right"
android:src="@drawable/map_favorite" />
osmand:srcCompat="@drawable/map_favorite" />
<LinearLayout
android:layout_width="0dp"

View file

@ -32,7 +32,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/osmand_logo"/>
osmand:srcCompat="@drawable/osmand_logo"/>
<View
android:layout_width="match_parent"

View file

@ -30,7 +30,7 @@
android:layout_width="54dp"
android:layout_height="44dp"
android:scaleType="center"
android:src="@drawable/ic_action_osmand_logo"
osmand:srcCompat="@drawable/ic_action_osmand_logo"
android:tint="@color/osmand_orange"/>
<LinearLayout
@ -107,7 +107,7 @@
android:layout_width="54dp"
android:layout_height="60dp"
android:scaleType="center"
android:src="@drawable/ic_action_location_off"
osmand:srcCompat="@drawable/ic_action_location_off"
android:tint="@color/icon_color_default_light"/>
<LinearLayout
@ -188,7 +188,7 @@
android:layout_width="54dp"
android:layout_height="60dp"
android:scaleType="center"
android:src="@drawable/ic_action_wifi_off"
osmand:srcCompat="@drawable/ic_action_wifi_off"
android:tint="@color/icon_color_default_light"/>
<LinearLayout
@ -446,7 +446,7 @@
android:layout_width="54dp"
android:layout_height="60dp"
android:scaleType="center"
android:src="@drawable/ic_map"
osmand:srcCompat="@drawable/ic_map"
android:tint="@color/icon_color_default_light"/>
<LinearLayout
@ -549,7 +549,7 @@
android:layout_width="54dp"
android:layout_height="60dp"
android:scaleType="center"
android:src="@drawable/ic_map"
osmand:srcCompat="@drawable/ic_map"
android:tint="@color/icon_color_default_light"/>
<LinearLayout
@ -596,7 +596,7 @@
android:layout_width="44dp"
android:layout_height="60dp"
android:contentDescription="@string/shared_string_cancel"
android:src="@drawable/ic_action_refresh_dark"
osmand:srcCompat="@drawable/ic_action_refresh_dark"
android:tint="@color/map_widget_blue"
android:visibility="gone"/>
@ -638,7 +638,7 @@
android:layout_width="44dp"
android:layout_height="44dp"
android:contentDescription="@string/shared_string_cancel"
android:src="@drawable/ic_action_close"
osmand:srcCompat="@drawable/ic_action_close"
android:tint="@color/icon_color_default_light"/>
</LinearLayout>

View file

@ -1,4 +1,5 @@
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -53,7 +54,7 @@
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="44dp"
android:layout_height="44dp"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
tools:background="@color/color_warning"/>
</LinearLayout>
@ -91,7 +92,7 @@
android:layout_height="56dp"
android:paddingRight="@dimen/content_padding"
android:scaleType="center"
android:src="@drawable/ic_action_phone"
osmand:srcCompat="@drawable/ic_action_phone"
tools:background="@color/color_warning"
android:paddingEnd="@dimen/content_padding" />
@ -143,7 +144,7 @@
android:layout_height="56dp"
android:paddingRight="@dimen/content_padding"
android:scaleType="center"
android:src="@drawable/ic_action_phone"
osmand:srcCompat="@drawable/ic_action_phone"
tools:background="@color/color_warning"
android:paddingEnd="@dimen/content_padding" />
@ -192,7 +193,7 @@
android:layout_height="56dp"
android:paddingRight="@dimen/content_padding"
android:scaleType="center"
android:src="@drawable/ic_sdcard"
osmand:srcCompat="@drawable/ic_sdcard"
tools:background="@color/color_warning"
android:paddingEnd="@dimen/content_padding" />
@ -228,4 +229,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -553,9 +553,9 @@
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom"
app:srcCompat="@drawable/bg_shadow_list_bottom"
android:visibility="gone"/>
</FrameLayout>
</LinearLayout>
</LinearLayout>

View file

@ -78,7 +78,7 @@
android:layout_height="@dimen/context_menu_buttons_bottom_height"
android:layout_gravity="bottom"
android:background="@null"
android:src="@drawable/ic_action_label"/>
app:srcCompat="@drawable/ic_action_label"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/poiTypeTextInputLayout"
@ -177,4 +177,4 @@
app:textAllCapsCompat="true"
tools:text="Save"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -127,9 +127,9 @@
android:id="@+id/shadowView"
android:layout_width="match_parent"
android:layout_height="@dimen/abp__shadow_height"
android:src="@drawable/preference_activity_action_bar_shadow"
osmand:srcCompat="@drawable/preference_activity_action_bar_shadow"
tools:ignore="ContentDescription" />
</com.google.android.material.appbar.AppBarLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View file

@ -20,7 +20,7 @@
android:layout_gravity="bottom|end"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_plus"
app:srcCompat="@drawable/ic_action_plus"
app:backgroundTint="?attr/active_color_basic"
app:fabSize="normal"
app:useCompatPadding="true"/>

View file

@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_onmap" />
osmand:srcCompat="@drawable/bg_shadow_onmap" />
<LinearLayout
android:id="@+id/mapillary_filters_linear_layout"
@ -476,4 +476,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -155,7 +155,7 @@
android:layout_gravity="bottom"
android:alpha="0.5"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_onmap"/>
osmand:srcCompat="@drawable/bg_shadow_onmap"/>
</FrameLayout>
<LinearLayout

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -18,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_onmap"/>
osmand:srcCompat="@drawable/bg_shadow_onmap"/>
<LinearLayout
android:layout_width="match_parent"
@ -46,4 +47,4 @@
</LinearLayout>
</FrameLayout>
</FrameLayout>

View file

@ -32,7 +32,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_action_data"/>
osmand:srcCompat="@drawable/ic_action_data"/>
<Spinner
android:id="@+id/monthReportsSpinner"
@ -51,7 +51,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp"
android:src="@drawable/ic_action_arrow_drop_down"
osmand:srcCompat="@drawable/ic_action_arrow_drop_down"
android:layout_marginEnd="16dp" />
</LinearLayout>
@ -78,7 +78,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_world_globe_dark"/>
osmand:srcCompat="@drawable/ic_world_globe_dark"/>
<LinearLayout
android:layout_width="0dp"
@ -110,7 +110,7 @@
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="16dp"
android:src="@drawable/ic_action_arrow_drop_down"
osmand:srcCompat="@drawable/ic_action_arrow_drop_down"
android:layout_marginEnd="16dp" />
</LinearLayout>
@ -152,7 +152,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_group"/>
osmand:srcCompat="@drawable/ic_group"/>
<LinearLayout
android:layout_width="match_parent"
@ -203,7 +203,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_map"/>
osmand:srcCompat="@drawable/ic_map"/>
<LinearLayout
android:layout_width="match_parent"
@ -250,7 +250,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_action_bitcoin"/>
osmand:srcCompat="@drawable/ic_action_bitcoin"/>
<LinearLayout
android:id="@+id/donationsLayout"
@ -306,7 +306,7 @@
android:layout_width="56dp"
android:layout_height="56dp"
android:scaleType="center"
android:src="@drawable/ic_action_bitcoin"/>
osmand:srcCompat="@drawable/ic_action_bitcoin"/>
<LinearLayout
android:layout_width="match_parent"
@ -358,7 +358,7 @@
android:layout_width="56dp"
android:layout_height="60dp"
android:scaleType="center"
android:src="@drawable/ic_group"/>
osmand:srcCompat="@drawable/ic_group"/>
<LinearLayout
android:layout_width="match_parent"

View file

@ -1,4 +1,5 @@
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -18,7 +19,7 @@
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="48dp"
android:layout_height="48dp"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
<EditText
android:id="@+id/searchEditText"
@ -46,4 +47,4 @@
</FrameLayout>
</LinearLayout>
</LinearLayout>

View file

@ -40,7 +40,7 @@
android:layout_marginStart="@dimen/content_padding_half"
android:background="@drawable/btn_circle_transparent_full"
android:contentDescription="@string/shared_string_back"
android:src="@drawable/ic_arrow_back"
osmand:srcCompat="@drawable/ic_arrow_back"
android:tint="?attr/text_color_tab_active_white" />
<LinearLayout
@ -75,7 +75,7 @@
android:background="@drawable/btn_circle_transparent_full"
android:contentDescription="@string/print_route"
android:scaleType="center"
android:src="@drawable/ic_action_gprint_dark"
osmand:srcCompat="@drawable/ic_action_gprint_dark"
android:tint="?attr/text_color_tab_active_white" />
<androidx.appcompat.widget.AppCompatImageButton
@ -85,7 +85,7 @@
android:background="@drawable/btn_circle_transparent_full"
android:contentDescription="@string/shared_string_save_as_gpx"
android:scaleType="center"
android:src="@drawable/ic_action_gsave_dark"
osmand:srcCompat="@drawable/ic_action_gsave_dark"
android:tint="?attr/text_color_tab_active_white" />
<androidx.appcompat.widget.AppCompatImageButton
@ -95,7 +95,7 @@
android:background="@drawable/btn_circle_transparent_full"
android:contentDescription="@string/share_route_as_gpx"
android:scaleType="center"
android:src="@drawable/ic_action_gshare_dark"
osmand:srcCompat="@drawable/ic_action_gshare_dark"
android:tint="?attr/text_color_tab_active_white" />
</LinearLayout>
@ -133,7 +133,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/shared_string_close"
android:scaleType="center"
android:src="@drawable/ic_arrow_back"
osmand:srcCompat="@drawable/ic_arrow_back"
android:tint="?attr/text_color_tab_active_white"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />
@ -183,7 +183,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/print_route"
android:scaleType="center"
android:src="@drawable/ic_action_gprint_dark"
osmand:srcCompat="@drawable/ic_action_gprint_dark"
android:tint="?attr/text_color_tab_active_white" />
<androidx.appcompat.widget.AppCompatImageView
@ -193,7 +193,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/shared_string_save_as_gpx"
android:scaleType="center"
android:src="@drawable/ic_action_gsave_dark"
osmand:srcCompat="@drawable/ic_action_gsave_dark"
android:tint="?attr/text_color_tab_active_white" />
<androidx.appcompat.widget.AppCompatImageView
@ -203,7 +203,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/share_route_as_gpx"
android:scaleType="center"
android:src="@drawable/ic_action_gshare_dark"
osmand:srcCompat="@drawable/ic_action_gshare_dark"
android:tint="?attr/text_color_tab_active_white" />
</LinearLayout>
@ -215,7 +215,7 @@
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
android:src="@drawable/bg_contextmenu_shadow" />
osmand:srcCompat="@drawable/bg_contextmenu_shadow" />
</LinearLayout>

View file

@ -18,7 +18,7 @@
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="52dp"
android:layout_height="52dp"
android:src="@drawable/ic_arrow_back"/>
app:srcCompat="@drawable/ic_arrow_back"/>
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/titleTextView"

View file

@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_onmap" />
app:srcCompat="@drawable/bg_shadow_onmap" />
<LinearLayout
android:background="?attr/activity_background_basic"
@ -98,7 +98,7 @@
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:background="?attr/btn_bg_border_inactive"
android:baselineAligned="false"
android:orientation="horizontal">
@ -345,7 +345,7 @@
android:layout_marginEnd="@dimen/content_padding"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/img_legend_slope" />
app:srcCompat="@drawable/img_legend_slope" />
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/slope_read_more_tv"
@ -429,7 +429,7 @@
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/img_empty_state_terrain" />
app:srcCompat="@drawable/img_empty_state_terrain" />
<LinearLayout
android:layout_width="match_parent"

View file

@ -25,7 +25,7 @@
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
android:paddingStart="@dimen/list_content_padding"
android:src="@drawable/img_help_wikivoyage_show_image"
osmand:srcCompat="@drawable/img_help_wikivoyage_show_image"
android:contentDescription="@string/wikivoyage_download_pics" />
<TextView
@ -121,4 +121,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -30,7 +30,7 @@
android:layout_marginEnd="@dimen/content_padding"
android:contentDescription="@string/access_shared_string_navigate_up"
android:scaleType="fitCenter"
android:src="@drawable/ic_arrow_back" />
app:srcCompat="@drawable/ic_arrow_back" />
<LinearLayout
android:layout_width="wrap_content"

View file

@ -35,7 +35,7 @@
android:layout_marginEnd="@dimen/content_padding"
android:contentDescription="@string/access_shared_string_navigate_up"
android:scaleType="fitCenter"
android:src="@drawable/ic_arrow_back" />
app:srcCompat="@drawable/ic_arrow_back" />
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/toolbar_title"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -65,7 +66,7 @@
android:layout_gravity="center"
style="@style/Widget.AppCompat.Button.Borderless"
tools:background="@color/color_warning"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
</LinearLayout>

View file

@ -77,7 +77,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_altitude_average"/>
osmand:srcCompat="@drawable/ic_action_altitude_average"/>
<LinearLayout
android:layout_width="wrap_content"
@ -123,7 +123,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_altitude_average"/>
osmand:srcCompat="@drawable/ic_action_altitude_average"/>
<LinearLayout
android:layout_width="wrap_content"
@ -221,7 +221,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_altitude_ascent"/>
osmand:srcCompat="@drawable/ic_action_altitude_ascent"/>
<LinearLayout
android:layout_width="wrap_content"
@ -267,7 +267,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_altitude_descent"/>
osmand:srcCompat="@drawable/ic_action_altitude_descent"/>
<LinearLayout
android:layout_width="wrap_content"
@ -365,4 +365,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -77,7 +77,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_polygom_dark"/>
osmand:srcCompat="@drawable/ic_action_polygom_dark"/>
<LinearLayout
android:layout_width="wrap_content"
@ -123,7 +123,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_time_start"/>
osmand:srcCompat="@drawable/ic_action_time_start"/>
<LinearLayout
android:layout_width="wrap_content"
@ -221,7 +221,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_time_start"/>
osmand:srcCompat="@drawable/ic_action_time_start"/>
<LinearLayout
android:layout_width="wrap_content"
@ -276,7 +276,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_time_start"/>
osmand:srcCompat="@drawable/ic_action_time_start"/>
<LinearLayout
android:layout_width="wrap_content"
@ -383,4 +383,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -39,7 +39,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top"/>
osmand:srcCompat="@drawable/bg_shadow_list_top"/>
</LinearLayout>
@ -154,7 +154,7 @@
android:id="@+id/split_interval_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_arrow_drop_down"/>
osmand:srcCompat="@drawable/ic_action_arrow_drop_down"/>
</LinearLayout>
@ -187,7 +187,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/content_padding"
android:src="@drawable/ic_action_circle"
osmand:srcCompat="@drawable/ic_action_circle"
android:paddingStart="@dimen/content_padding" />
</LinearLayout>

View file

@ -77,7 +77,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_speed"/>
osmand:srcCompat="@drawable/ic_action_speed"/>
<LinearLayout
android:layout_width="wrap_content"
@ -123,7 +123,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_max_speed"/>
osmand:srcCompat="@drawable/ic_action_max_speed"/>
<LinearLayout
android:layout_width="wrap_content"
@ -221,7 +221,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_time_span"/>
osmand:srcCompat="@drawable/ic_action_time_span"/>
<LinearLayout
android:layout_width="wrap_content"
@ -267,7 +267,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/ic_action_polygom_dark"/>
osmand:srcCompat="@drawable/ic_action_polygom_dark"/>
<LinearLayout
android:layout_width="wrap_content"
@ -365,4 +365,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -16,7 +16,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top" />
osmand:srcCompat="@drawable/bg_shadow_list_top" />
</LinearLayout>
@ -102,7 +102,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom" />
osmand:srcCompat="@drawable/bg_shadow_list_bottom" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -44,7 +45,7 @@
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_polygom_dark"
osmand:srcCompat="@drawable/ic_action_polygom_dark"
android:layout_marginRight="@dimen/list_content_padding"
android:visibility="visible"
android:layout_marginEnd="@dimen/list_content_padding" />
@ -84,7 +85,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_distance" />
osmand:srcCompat="@drawable/ic_small_distance" />
<TextView
android:id="@+id/distance"
@ -102,7 +103,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_point" />
osmand:srcCompat="@drawable/ic_small_point" />
<TextView
android:id="@+id/points_count"
@ -120,7 +121,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/gpx_small_icon_margin"
android:layout_marginEnd="@dimen/gpx_small_icon_margin"
android:src="@drawable/ic_small_time" />
osmand:srcCompat="@drawable/ic_small_time" />
<TextView
android:id="@+id/time"
@ -167,7 +168,7 @@
android:layout_marginLeft="@dimen/favorites_icon_right_margin"
android:layout_marginStart="@dimen/favorites_icon_right_margin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_gsave_dark"
osmand:srcCompat="@drawable/ic_action_gsave_dark"
android:visibility="gone" />
<ImageButton
@ -175,7 +176,7 @@
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_rec_stop"
osmand:srcCompat="@drawable/ic_action_rec_stop"
android:visibility="gone"/>
<ImageButton
@ -185,7 +186,7 @@
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white"
osmand:srcCompat="@drawable/ic_overflow_menu_white"
android:visibility="gone"/>
<LinearLayout
@ -225,4 +226,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -16,7 +17,7 @@
android:layout_marginEnd="@dimen/list_content_padding"
android:layout_marginRight="@dimen/list_content_padding"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_polygom_dark"
osmand:srcCompat="@drawable/ic_action_polygom_dark"
android:visibility="visible"
android:contentDescription="@string/shared_string_icon" />
@ -57,7 +58,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/content_padding_half"
android:layout_marginRight="@dimen/content_padding_half"
android:src="@drawable/ic_action_distance_16"
osmand:srcCompat="@drawable/ic_action_distance_16"
android:contentDescription="@string/distance" />
<TextView
@ -75,7 +76,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/content_padding_half"
android:layout_marginRight="@dimen/content_padding_half"
android:src="@drawable/ic_action_waypoint_16"
osmand:srcCompat="@drawable/ic_action_waypoint_16"
android:contentDescription="@string/track_points" />
<TextView
@ -94,7 +95,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/content_padding_half"
android:layout_marginRight="@dimen/content_padding_half"
android:src="@drawable/ic_action_time_16"
osmand:srcCompat="@drawable/ic_action_time_16"
android:contentDescription="@string/shared_string_time_moving" />
<TextView
@ -124,4 +125,4 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -66,7 +67,7 @@
android:layout_marginTop="1dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:src="@drawable/ic_small_group" />
osmand:srcCompat="@drawable/ic_small_group" />
<TextView
android:id="@+id/subtitle"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:id="@+id/home_work_card"
android:layout_width="match_parent"
@ -49,7 +50,7 @@
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:src="@drawable/ic_action_home_dark"
osmand:srcCompat="@drawable/ic_action_home_dark"
android:tint="@color/description_font_and_bottom_sheet_icons" />
<LinearLayout
@ -115,7 +116,7 @@
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:src="@drawable/ic_action_work"
osmand:srcCompat="@drawable/ic_action_work"
android:tint="@color/description_font_and_bottom_sheet_icons" />
<LinearLayout
@ -165,7 +166,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom" />
osmand:srcCompat="@drawable/bg_shadow_list_bottom" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
@ -19,7 +20,7 @@
android:layout_marginRight="@dimen/list_content_padding"
android:gravity="center_vertical"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_settings"
osmand:srcCompat="@drawable/ic_action_settings"
android:layout_marginEnd="@dimen/list_content_padding" />
<TextView

View file

@ -32,7 +32,7 @@
android:paddingBottom="@dimen/bottom_sheet_icon_margin"
android:visibility="gone"
tools:visibility="visible"
android:src="@drawable/ic_action_item_move"
osmand:srcCompat="@drawable/ic_action_item_move"
android:tint="?attr/secondary_icon_color" />
<LinearLayout
@ -85,7 +85,7 @@
tools:visibility="visible"
android:paddingRight="@dimen/content_padding"
android:paddingBottom="@dimen/bottom_sheet_icon_margin"
android:src="@drawable/ic_action_item_move"
osmand:srcCompat="@drawable/ic_action_item_move"
android:tint="?attr/secondary_icon_color" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/bottomShadowView"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -10,7 +11,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom"/>
osmand:srcCompat="@drawable/bg_shadow_list_bottom"/>
<View
android:id="@+id/bottomMarginView"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/topShadowView"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -14,6 +15,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top"/>
osmand:srcCompat="@drawable/bg_shadow_list_top"/>
</LinearLayout>

View file

@ -32,7 +32,7 @@
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_osm_live"/>
app:srcCompat="@drawable/ic_action_osm_live"/>
<net.osmand.plus.widgets.TextViewEx
android:layout_width="wrap_content"
@ -151,7 +151,7 @@
android:id="@+id/statusIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_action_done"/>
app:srcCompat="@drawable/ic_action_done"/>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -30,7 +31,7 @@
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:focusable="false"
android:src="@drawable/ic_gpx_track" />
osmand:srcCompat="@drawable/ic_gpx_track" />
<LinearLayout
android:layout_width="0dp"
@ -74,6 +75,6 @@
android:background="?attr/dashboard_button"
android:contentDescription="@string/shared_string_more"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white" />
osmand:srcCompat="@drawable/ic_overflow_menu_white" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -18,7 +19,7 @@
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:focusable="false"
android:layout_centerVertical="true"
android:src="@drawable/ic_map"
osmand:srcCompat="@drawable/ic_map"
android:contentDescription="@string/map_downloaded" />
<LinearLayout
@ -77,7 +78,7 @@
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white" />
osmand:srcCompat="@drawable/ic_overflow_menu_white" />
<View
android:id="@+id/divider"

View file

@ -79,7 +79,7 @@
android:layout_gravity="center"
android:layout_marginLeft="@dimen/content_padding_half"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:src="@drawable/ic_action_arrow_drop_down"
osmand:srcCompat="@drawable/ic_action_arrow_drop_down"
android:tint="?attr/default_icon_color"
android:layout_marginStart="@dimen/content_padding_half"
android:layout_marginEnd="@dimen/favorites_icon_right_margin" />

View file

@ -11,7 +11,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="26dp"
android:layout_marginBottom="26dp"
android:src="@drawable/img_feedback" />
osmand:srcCompat="@drawable/img_feedback" />
<net.osmand.plus.widgets.TextViewEx
android:layout_width="match_parent"

View file

@ -70,7 +70,7 @@
android:layout_width="@dimen/map_widget_icon"
android:layout_height="@dimen/map_widget_icon"
android:layout_marginTop="@dimen/context_menu_padding_margin_default"
android:src="@drawable/ic_action_building_number"/>
osmand:srcCompat="@drawable/ic_action_building_number"/>
</LinearLayout>
@ -528,7 +528,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/shared_string_collapse"
android:scaleType="center"
android:src="@drawable/ic_arrow_back"
osmand:srcCompat="@drawable/ic_arrow_back"
tools:visibility="visible"/>
</FrameLayout>
@ -565,7 +565,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/shared_string_collapse"
android:scaleType="center"
android:src="@drawable/ic_arrow_back"
osmand:srcCompat="@drawable/ic_arrow_back"
tools:visibility="visible"/>
<TextView

View file

@ -54,7 +54,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/warnings_limit"/>
osmand:srcCompat="@drawable/warnings_limit"/>
<TextView
android:id="@+id/map_alarm_warning_text"

View file

@ -47,7 +47,7 @@
android:layout_marginEnd="@dimen/content_padding_half"
android:layout_marginRight="@dimen/content_padding_half"
android:layout_marginBottom="@dimen/content_padding_half"
android:src="@drawable/widget_coordinates_latitude_day" />
osmand:srcCompat="@drawable/widget_coordinates_latitude_day" />
<TextView
android:id="@+id/lat_coordinates"
@ -90,7 +90,7 @@
android:layout_marginEnd="@dimen/content_padding_half"
android:layout_marginRight="@dimen/content_padding_half"
android:layout_marginBottom="@dimen/content_padding_half"
android:src="@drawable/widget_coordinates_longitude_day" />
osmand:srcCompat="@drawable/widget_coordinates_longitude_day" />
<TextView
android:id="@+id/lon_coordinates"
@ -327,7 +327,7 @@
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/back_to_search"
android:src="@drawable/ic_arrow_back"/>
osmand:srcCompat="@drawable/ic_arrow_back"/>
<LinearLayout
android:id="@+id/widget_top_bar_title_layout"
@ -388,7 +388,7 @@
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/shared_string_refresh"
android:src="@drawable/ic_action_refresh_dark"
osmand:srcCompat="@drawable/ic_action_refresh_dark"
android:visibility="gone"/>
<ImageButton
@ -398,7 +398,7 @@
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/shared_string_close"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/widget_top_bar_save"
@ -485,7 +485,7 @@
android:id="@+id/map_marker_arrow"
android:layout_width="66dp"
android:layout_height="36dp"
android:src="@drawable/ic_arrow_marker_diretion"/>
osmand:srcCompat="@drawable/ic_arrow_marker_diretion"/>
<LinearLayout
android:layout_width="0dp"
@ -529,7 +529,7 @@
android:layout_width="50dp"
android:layout_height="50dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_action_markers_list"/>
osmand:srcCompat="@drawable/ic_action_markers_list"/>
</LinearLayout>
@ -563,7 +563,7 @@
android:id="@+id/map_marker_arrow_2nd"
android:layout_width="66dp"
android:layout_height="24dp"
android:src="@drawable/ic_arrow_marker_diretion"/>
osmand:srcCompat="@drawable/ic_arrow_marker_diretion"/>
<RelativeLayout
android:layout_width="0dp"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/widget_bg"
@ -32,7 +33,7 @@
android:layout_gravity="center"
android:layout_marginTop="2dp"
android:gravity="center"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:visibility="gone"/>
</FrameLayout>
@ -51,7 +52,7 @@
android:layout_marginLeft="@dimen/map_widget_icon_margin"
android:layout_marginRight="@dimen/map_widget_icon_margin"
android:gravity="center"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:layout_marginEnd="@dimen/map_widget_icon_margin"
android:layout_marginStart="@dimen/map_widget_icon_margin" />

View file

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/package_delivered_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
@ -24,7 +25,7 @@
android:layout_width="56dp"
android:layout_height="25dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_fav_dark"/>
osmand:srcCompat="@drawable/ic_action_fav_dark"/>
<LinearLayout
android:layout_width="0dp"
@ -55,7 +56,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="4dp"
android:src="@drawable/ic_direction_arrow"
osmand:srcCompat="@drawable/ic_direction_arrow"
android:visibility="gone"
android:layout_marginEnd="4dp" />
@ -119,7 +120,7 @@
android:contentDescription="@string/shared_string_more"
android:focusable="false"
android:scaleType="center"
android:src="@drawable/map_overflow_menu_white"
osmand:srcCompat="@drawable/map_overflow_menu_white"
android:visibility="gone"
android:layout_marginEnd="2dp" />
@ -133,7 +134,7 @@
android:contentDescription="@string/shared_string_delete"
android:focusable="false"
android:scaleType="center"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:layout_marginEnd="2dp" />
<ImageView
@ -146,7 +147,7 @@
android:clickable="false"
android:focusable="false"
android:scaleType="center"
android:src="@drawable/ic_flat_list_dark"
osmand:srcCompat="@drawable/ic_flat_list_dark"
android:visibility="gone"
android:layout_marginEnd="2dp" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -12,7 +13,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top"
osmand:srcCompat="@drawable/bg_shadow_list_top"
android:visibility="gone"
tools:visibility="visible"/>
@ -196,4 +197,4 @@
android:visibility="gone"
tools:visibility="visible"/>
</LinearLayout>
</LinearLayout>

View file

@ -18,7 +18,7 @@
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="52dp"
android:layout_height="52dp"
android:src="@drawable/ic_arrow_back"/>
app:srcCompat="@drawable/ic_arrow_back"/>
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/titleTextView"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
@ -26,7 +27,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="16dp"
android:src="@drawable/ic_action_mapillary"
osmand:srcCompat="@drawable/ic_action_mapillary"
android:tint="@color/mapillary_color"
android:layout_marginStart="16dp" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
@ -18,7 +19,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:src="@drawable/ic_logo_mapillary"/>
osmand:srcCompat="@drawable/ic_logo_mapillary"/>
<TextView
android:layout_width="match_parent"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -33,7 +34,7 @@
android:layout_width="44dp"
android:layout_height="44dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_arrow_back"/>
osmand:srcCompat="@drawable/ic_arrow_back"/>
<View
android:layout_width="0dp"
@ -45,7 +46,7 @@
android:layout_width="44dp"
android:layout_height="44dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_arrow_forward"/>
osmand:srcCompat="@drawable/ic_arrow_forward"/>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
@ -55,7 +56,7 @@
android:id="@+id/context_menu_icon_view"
android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size"
android:src="@drawable/ic_action_building_number"/>
osmand:srcCompat="@drawable/ic_action_building_number"/>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:id="@+id/move_marker_bottom_sheet"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
@ -16,7 +17,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/content_padding"
android:src="@drawable/ic_action_photo_dark"/>
osmand:srcCompat="@drawable/ic_action_photo_dark"/>
<LinearLayout
android:layout_width="match_parent"

View file

@ -14,7 +14,7 @@
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:contentDescription="@string/quick_action_new_action"
android:src="@drawable/ic_action_plus"
app:srcCompat="@drawable/ic_action_plus"
app:backgroundTint="?attr/active_color_basic"
app:fabSize="normal"
app:useCompatPadding="true"/>
@ -30,7 +30,7 @@
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:contentDescription="@string/quick_action_new_action"
android:src="@drawable/ic_action_marker_dark"
app:srcCompat="@drawable/ic_action_marker_dark"
android:visibility="gone"
app:backgroundTint="@color/fab_green"
app:fabSize="mini"
@ -75,7 +75,7 @@
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:contentDescription="@string/quick_action_new_action"
android:src="@drawable/ic_action_markers_dark"
app:srcCompat="@drawable/ic_action_markers_dark"
android:visibility="gone"
app:backgroundTint="@color/fab_green"
app:fabSize="mini"
@ -120,7 +120,7 @@
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:contentDescription="@string/quick_action_new_action"
android:src="@drawable/ic_action_polygom_dark"
app:srcCompat="@drawable/ic_action_polygom_dark"
android:visibility="gone"
app:backgroundTint="@color/fab_green"
app:fabSize="mini"

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -40,7 +41,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:src="@drawable/ic_sdcard"
osmand:srcCompat="@drawable/ic_sdcard"
android:layout_marginEnd="@dimen/favorites_icon_right_margin" />
<LinearLayout
@ -80,7 +81,7 @@
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white"/>
osmand:srcCompat="@drawable/ic_overflow_menu_white"/>
<ImageButton
android:id="@+id/play"
@ -90,7 +91,7 @@
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_play_dark"
osmand:srcCompat="@drawable/ic_play_dark"
android:layout_marginStart="@dimen/dashFavIconMargin" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -33,7 +34,7 @@
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:src="@drawable/ic_type_audio"
osmand:srcCompat="@drawable/ic_type_audio"
android:layout_marginStart="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding" />
@ -79,7 +80,7 @@
android:contentDescription="@string/shared_string_more"
android:focusable="false"
android:padding="@dimen/content_padding"
android:src="@drawable/ic_overflow_menu_white"/>
osmand:srcCompat="@drawable/ic_overflow_menu_white"/>
</LinearLayout>
@ -94,4 +95,4 @@
android:visibility="gone"
tools:visibility="visible"/>
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:osmand="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@ -16,7 +17,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/content_padding"
android:src="@drawable/ic_action_time"/>
osmand:srcCompat="@drawable/ic_action_time"/>
<LinearLayout
android:layout_width="0dp"
@ -57,7 +58,7 @@
android:layout_width="@dimen/bottom_sheet_list_item_height"
android:layout_height="@dimen/bottom_sheet_list_item_height"
android:layout_gravity="top"
android:src="@drawable/ic_action_remove_dark"/>
osmand:srcCompat="@drawable/ic_action_remove_dark"/>
</LinearLayout>
<Button

View file

@ -65,7 +65,7 @@
android:layout_gravity="center"
android:paddingLeft="@dimen/content_padding"
android:paddingRight="@dimen/content_padding"
android:src="@drawable/ic_action_item_move"
osmand:srcCompat="@drawable/ic_action_item_move"
android:tint="?attr/secondary_icon_color"
android:paddingStart="@dimen/content_padding"
android:paddingEnd="@dimen/content_padding" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -29,9 +30,9 @@
android:layout_marginRight="@dimen/dialog_elements_vertical_margin"
android:gravity="center_vertical"
android:maxLines="2"
android:src="@drawable/ic_action_remove_dark"
osmand:srcCompat="@drawable/ic_action_remove_dark"
android:textSize="@dimen/default_desc_text_size"
android:layout_marginEnd="@dimen/dialog_elements_vertical_margin"
android:layout_marginStart="3dp" />
</LinearLayout>
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
@ -24,7 +25,7 @@
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:paddingTop="6dp"
android:tint="@color/map_widget_blue"
android:src="@drawable/ic_action_osm_live"
osmand:srcCompat="@drawable/ic_action_osm_live"
android:layout_marginEnd="@dimen/favorites_icon_right_margin" />
<LinearLayout

View file

@ -30,7 +30,7 @@
android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size"
android:background="?attr/circle_dialog_bg"
android:src="@drawable/ic_action_remove_small"
osmand:srcCompat="@drawable/ic_action_remove_small"
android:tint="@color/icon_color_default_light"/>
</FrameLayout>
@ -41,7 +41,7 @@
android:layout_gravity="center"
android:layout_marginBottom="@dimen/title_padding"
android:layout_marginTop="@dimen/list_header_padding"
android:src="@drawable/img_help_osmand_live"/>
osmand:srcCompat="@drawable/img_help_osmand_live"/>
</FrameLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -53,6 +54,6 @@
android:id="@+id/dropDownIcon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/ic_action_arrow_drop_down" />
osmand:srcCompat="@drawable/ic_action_arrow_drop_down" />
</LinearLayout>

View file

@ -62,7 +62,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:paddingLeft="@dimen/route_info_icon_padding_right"
android:paddingRight="@dimen/route_info_icon_padding_right"
android:src="@drawable/ic_action_arrow_down"
osmand:srcCompat="@drawable/ic_action_arrow_down"
android:tint="@color/description_font_and_bottom_sheet_icons"
android:paddingStart="@dimen/route_info_icon_padding_right"
android:paddingEnd="@dimen/route_info_icon_padding_right" />
@ -83,7 +83,7 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:paddingLeft="@dimen/route_info_icon_padding_right"
android:paddingRight="@dimen/route_info_icon_padding_right"
android:src="@drawable/ic_overflow_menu_dark"
osmand:srcCompat="@drawable/ic_overflow_menu_dark"
android:paddingStart="@dimen/route_info_icon_padding_right"
android:paddingEnd="@dimen/route_info_icon_padding_right" />
@ -116,7 +116,7 @@
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:layout_marginBottom="@dimen/list_header_text_left_margin"
android:src="@drawable/ic_action_location_color" />
osmand:srcCompat="@drawable/ic_action_location_color" />
<LinearLayout
android:layout_width="0dp"
@ -236,7 +236,7 @@
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:layout_marginBottom="@dimen/list_header_text_left_margin"
android:src="@drawable/ic_action_location_color" />
osmand:srcCompat="@drawable/ic_action_location_color" />
<LinearLayout
android:layout_width="0dp"
@ -356,7 +356,7 @@
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:layout_marginBottom="@dimen/list_header_text_left_margin"
android:src="@drawable/ic_action_location_color" />
osmand:srcCompat="@drawable/ic_action_location_color" />
<LinearLayout
android:layout_width="0dp"
@ -577,7 +577,7 @@
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
android:src="@drawable/bg_contextmenu_shadow" />
osmand:srcCompat="@drawable/bg_contextmenu_shadow" />
</LinearLayout>

View file

@ -13,16 +13,31 @@
android:orientation="vertical"
tools:context=".activities.PluginActivity">
<ImageView
android:id="@+id/plugin_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:maxHeight="200dp"
android:maxWidth="360dp"
android:scaleType="fitCenter"
android:src="@drawable/extension_stub"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/plugin_image_placeholder"
android:layout_width="360dp"
android:layout_height="144dp"
android:layout_gravity="center"
android:scaleType="center"
android:background="@color/osmand_orange"
osmand:srcCompat="@drawable/ic_extension_dark"
android:visibility="gone"/>
<ImageView
android:id="@+id/plugin_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:adjustViewBounds="true"
android:maxWidth="360dp"
android:maxHeight="200dp"
android:scaleType="fitCenter" />
</FrameLayout>
<FrameLayout
android:id="@+id/plugin_header"

View file

@ -65,6 +65,6 @@
android:layout_height="@dimen/list_item_height"
android:layout_gravity="center"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_overflow_menu_white"/>
osmand:srcCompat="@drawable/ic_overflow_menu_white"/>
</LinearLayout>

View file

@ -27,7 +27,7 @@
android:id="@+id/icon"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_action_search_dark"/>
osmand:srcCompat="@drawable/ic_action_search_dark"/>
</LinearLayout>
@ -96,7 +96,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_arrow_drop_up"
osmand:srcCompat="@drawable/ic_action_arrow_drop_up"
android:visibility="visible"/>
</LinearLayout>

View file

@ -76,7 +76,7 @@
android:layout_marginStart="@dimen/content_padding_small"
android:layout_marginTop="2dp"
android:scaleType="centerInside"
android:src="@drawable/ic_action_building_number"/>
app:srcCompat="@drawable/ic_action_building_number"/>
</LinearLayout>
@ -139,7 +139,7 @@
android:layout_marginStart="@dimen/content_padding_small"
android:layout_marginTop="2dp"
android:scaleType="centerInside"
android:src="@drawable/ic_action_building_number"/>
app:srcCompat="@drawable/ic_action_building_number"/>
</LinearLayout>
@ -207,7 +207,7 @@
android:layout_marginStart="@dimen/content_padding_small"
android:layout_marginTop="10dp"
android:scaleType="center"
android:src="@drawable/ic_action_note_dark"/>
app:srcCompat="@drawable/ic_action_note_dark"/>
</LinearLayout>

View file

@ -34,7 +34,7 @@
android:layout_height="match_parent"
android:layout_gravity="end"
android:contentDescription="@string/replace_all"
android:src="@drawable/ic_action_replace"
app:srcCompat="@drawable/ic_action_replace"
android:layout_marginRight="@dimen/content_padding_half"
android:layout_marginStart="@dimen/content_padding_half"
android:layout_marginLeft="@dimen/content_padding"
@ -108,7 +108,7 @@
android:layout_gravity="end"
android:layout_margin="@dimen/content_padding_small"
android:contentDescription="@string/icon"
android:src="@drawable/ic_action_home_dark" />
app:srcCompat="@drawable/ic_action_home_dark" />
</FrameLayout>
@ -227,7 +227,7 @@
android:layout_marginLeft="@dimen/content_padding_small"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
android:src="@drawable/ic_action_folder"
app:srcCompat="@drawable/ic_action_folder"
android:contentDescription="@string/shared_string_list" />
</LinearLayout>
@ -472,7 +472,7 @@
android:layout_marginRight="@dimen/content_padding"
android:layout_gravity="center_vertical"
android:contentDescription="@string/delete_point"
android:src="@drawable/ic_action_delete_dark" />
app:srcCompat="@drawable/ic_action_delete_dark" />
<TextView
android:id="@+id/delete_action_title"

View file

@ -26,7 +26,7 @@
android:layout_marginStart="@dimen/context_menu_padding_margin_tiny"
android:layout_marginEnd="@dimen/context_menu_padding_margin_tiny"
android:layout_marginTop="@dimen/context_menu_padding_margin_tiny"
android:src="@drawable/ic_action_folder" />
app:srcCompat="@drawable/ic_action_folder" />
<TextView
android:id="@+id/counter"

View file

@ -99,7 +99,7 @@
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_arrow_drop_down"/>
app:srcCompat="@drawable/ic_action_arrow_drop_down"/>
</LinearLayout>
@ -118,7 +118,7 @@
android:id="@+id/selector_shadow"
android:layout_width="match_parent"
android:layout_height="@dimen/abp__shadow_height"
android:src="@drawable/preference_activity_action_bar_shadow"
app:srcCompat="@drawable/preference_activity_action_bar_shadow"
android:visibility="gone"
tools:ignore="ContentDescription"/>
@ -126,7 +126,7 @@
android:id="@+id/shadowView"
android:layout_width="match_parent"
android:layout_height="@dimen/abp__shadow_height"
android:src="@drawable/preference_activity_action_bar_shadow"
app:srcCompat="@drawable/preference_activity_action_bar_shadow"
tools:ignore="ContentDescription" />
</FrameLayout>

View file

@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical|end"
android:paddingRight="@dimen/content_padding"
android:src="@drawable/ic_action_arrow_drop_down"
app:srcCompat="@drawable/ic_action_arrow_drop_down"
android:tint="@color/settings_divider"
android:paddingEnd="@dimen/content_padding" />

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:id="@+id/prev_route_card"
android:layout_width="match_parent"
@ -15,7 +16,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_top" />
osmand:srcCompat="@drawable/bg_shadow_list_top" />
</LinearLayout>
@ -68,7 +69,7 @@
android:layout_marginLeft="@dimen/list_content_padding"
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:src="@drawable/ic_action_previous_route"
osmand:srcCompat="@drawable/ic_action_previous_route"
android:tint="@color/description_font_and_bottom_sheet_icons" />
<LinearLayout
@ -118,7 +119,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/bg_shadow_list_bottom" />
osmand:srcCompat="@drawable/bg_shadow_list_bottom" />
</LinearLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -34,7 +35,7 @@
android:layout_marginEnd="@dimen/list_content_padding_large"
android:layout_marginRight="@dimen/list_content_padding_large"
android:layout_marginBottom="@dimen/content_padding"
android:src="@drawable/ic_action_arrow_down" />
osmand:srcCompat="@drawable/ic_action_arrow_down" />
<LinearLayout
android:layout_width="0dp"

View file

@ -98,7 +98,7 @@
android:id="@+id/move_icon"
android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size"
android:src="@drawable/ic_action_item_move"
osmand:srcCompat="@drawable/ic_action_item_move"
android:tint="?attr/secondary_icon_color" />
</FrameLayout>

Some files were not shown because too many files have changed in this diff Show more