summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2021-11-08 09:40:00 +0100
committerjacquarg <guillaume.jacquart@hoodbrains.com>2021-11-12 17:47:23 +0100
commit187f4fdece966798dbd017d64b8f865b34dc28ed (patch)
tree40786f1ac62dc40798ceca31cb369375d4fe2bcd /app/src/main/res/layout
parent5891ac8ea718dcb40014f5a90d2672f902eb6c55 (diff)
UI fixes on location
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_fake_location.xml38
1 files changed, 33 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml
index 558fde0..851a7c4 100644
--- a/app/src/main/res/layout/fragment_fake_location.xml
+++ b/app/src/main/res/layout/fragment_fake_location.xml
@@ -68,13 +68,41 @@
</RadioGroup>
- <foundation.e.privacycentralapp.features.location.FakeLocationMapView
- android:id="@+id/mapView"
- android:layout_height="220dp"
+ <FrameLayout
android:layout_marginTop="16dp"
+ android:layout_height="220dp"
android:layout_width="match_parent"
- mapbox:mapbox_cameraZoom="8"
- />
+ >
+ <foundation.e.privacycentralapp.features.location.FakeLocationMapView
+ android:id="@+id/mapView"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"
+ mapbox:mapbox_cameraZoom="8"
+ />
+ <ImageView
+ android:id="@+id/centered_marker"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/mapbox_marker_icon_default"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ />
+ <View
+ android:id="@+id/map_overlay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@color/grey_overlay"
+ android:visibility="visible"
+ />
+ <ProgressBar
+ android:id="@+id/map_loader"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:layout_margin="24dp"
+ android:layout_gravity="center"
+ android:visibility="visible"
+ />
+ </FrameLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"