From af896e018d2188c290a41dae193c67702e66c3ec Mon Sep 17 00:00:00 2001 From: Dale Hawkins <107309+dkhawk@users.noreply.github.com> Date: Tue, 18 Aug 2026 15:45:27 -0600 Subject: [PATCH] feat(streetview): modernize SplitStreetView demo with My Location FAB and bidirectional sync - Add Material 3 My Location Floating Action Button with FusedLocationProviderClient (PRIORITY_HIGH_ACCURACY) - Add instruction banner with dismissible hint - Synchronize camera tracking and Pegman marker heading between Map and Panorama - Center initial camera on Sydney Harbour and add literate programming docstrings --- .../src/main/res/drawable/ic_my_location.xml | 25 ++ ...plit_street_view_panorama_and_map_demo.xml | 37 ++- ...tStreetViewPanoramaAndMapDemoActivity.java | 250 ++++++++++++++++-- ...litStreetViewPanoramaAndMapDemoActivity.kt | 224 ++++++++++++++-- 4 files changed, 495 insertions(+), 41 deletions(-) create mode 100644 ApiDemos/project/common-ui/src/main/res/drawable/ic_my_location.xml diff --git a/ApiDemos/project/common-ui/src/main/res/drawable/ic_my_location.xml b/ApiDemos/project/common-ui/src/main/res/drawable/ic_my_location.xml new file mode 100644 index 000000000..ec26c8b2b --- /dev/null +++ b/ApiDemos/project/common-ui/src/main/res/drawable/ic_my_location.xml @@ -0,0 +1,25 @@ + + + + diff --git a/ApiDemos/project/common-ui/src/main/res/layout/split_street_view_panorama_and_map_demo.xml b/ApiDemos/project/common-ui/src/main/res/layout/split_street_view_panorama_and_map_demo.xml index d9c0dfcd1..227132e87 100755 --- a/ApiDemos/project/common-ui/src/main/res/layout/split_street_view_panorama_and_map_demo.xml +++ b/ApiDemos/project/common-ui/src/main/res/layout/split_street_view_panorama_and_map_demo.xml @@ -1,6 +1,6 @@