From 6db032aa71bf7c9930b7619c77b35206d5303f53 Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Thu, 11 Jan 2018 17:05:57 +0200 Subject: [PATCH] Add shadows to additional options menu --- .../res/drawable/bg_additional_menu_dark.xml | 11 ++++ .../res/drawable/bg_additional_menu_light.xml | 11 ++++ .../bg_additional_menu_sides_dark.xml | 11 ++++ .../bg_additional_menu_sides_light.xml | 11 ++++ .../bg_additional_menu_topsides_dark.xml | 11 ++++ .../bg_additional_menu_topsides_light.xml | 11 ++++ ...ntext_menu_actions_bottom_sheet_dialog.xml | 1 + ...ionalActionsBottomSheetDialogFragment.java | 56 +++++++++++++++---- 8 files changed, 111 insertions(+), 12 deletions(-) create mode 100644 OsmAnd/res/drawable/bg_additional_menu_dark.xml create mode 100644 OsmAnd/res/drawable/bg_additional_menu_light.xml create mode 100644 OsmAnd/res/drawable/bg_additional_menu_sides_dark.xml create mode 100644 OsmAnd/res/drawable/bg_additional_menu_sides_light.xml create mode 100644 OsmAnd/res/drawable/bg_additional_menu_topsides_dark.xml create mode 100644 OsmAnd/res/drawable/bg_additional_menu_topsides_light.xml diff --git a/OsmAnd/res/drawable/bg_additional_menu_dark.xml b/OsmAnd/res/drawable/bg_additional_menu_dark.xml new file mode 100644 index 0000000000..66bd980889 --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_dark.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/bg_additional_menu_light.xml b/OsmAnd/res/drawable/bg_additional_menu_light.xml new file mode 100644 index 0000000000..3dbefb481c --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_light.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/bg_additional_menu_sides_dark.xml b/OsmAnd/res/drawable/bg_additional_menu_sides_dark.xml new file mode 100644 index 0000000000..c711c6f92c --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_sides_dark.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/bg_additional_menu_sides_light.xml b/OsmAnd/res/drawable/bg_additional_menu_sides_light.xml new file mode 100644 index 0000000000..328d6a9d0a --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_sides_light.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/bg_additional_menu_topsides_dark.xml b/OsmAnd/res/drawable/bg_additional_menu_topsides_dark.xml new file mode 100644 index 0000000000..82ce02c79b --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_topsides_dark.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/drawable/bg_additional_menu_topsides_light.xml b/OsmAnd/res/drawable/bg_additional_menu_topsides_light.xml new file mode 100644 index 0000000000..a3402d8835 --- /dev/null +++ b/OsmAnd/res/drawable/bg_additional_menu_topsides_light.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml b/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml index d4f1f35d9c..8010bc503b 100644 --- a/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml +++ b/OsmAnd/res/layout/fragment_context_menu_actions_bottom_sheet_dialog.xml @@ -33,6 +33,7 @@