From ca97c46120b3ce298bfd72bfeb208aa136076ea3 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Fri, 7 May 2021 00:10:39 +0530 Subject: Add mapview to pick location from map --- app/src/main/res/drawable/ic_map_marker_blue.xml | 11 +++++++++ app/src/main/res/drawable/ic_map_marker_red.xml | 28 ++++++++++++++++++++++ app/src/main/res/layout/fragment_fake_location.xml | 12 ++++++---- app/src/main/res/values/strings.xml | 2 ++ 4 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/ic_map_marker_blue.xml create mode 100644 app/src/main/res/drawable/ic_map_marker_red.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_map_marker_blue.xml b/app/src/main/res/drawable/ic_map_marker_blue.xml new file mode 100644 index 0000000..619dc47 --- /dev/null +++ b/app/src/main/res/drawable/ic_map_marker_blue.xml @@ -0,0 +1,11 @@ + + + diff --git a/app/src/main/res/drawable/ic_map_marker_red.xml b/app/src/main/res/drawable/ic_map_marker_red.xml new file mode 100644 index 0000000..48fae25 --- /dev/null +++ b/app/src/main/res/drawable/ic_map_marker_red.xml @@ -0,0 +1,28 @@ + + + + + diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml index 1ebe9ef..38faf67 100644 --- a/app/src/main/res/layout/fragment_fake_location.xml +++ b/app/src/main/res/layout/fragment_fake_location.xml @@ -1,6 +1,7 @@ - diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ff0cf0a..c0b8348 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -35,4 +35,6 @@ Real location mode Random location mode Fake location mode + This app needs location permissions in order to show its functionality. + You didn\'t grant location permission \ No newline at end of file -- cgit v1.2.1