diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_fake_location.xml | 38 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 1 |
2 files changed, 34 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" diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 85f0c70..f0414b6 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -16,6 +16,7 @@ <color name="grey_text">#99000000</color> <color name="grey_text_2">#61000000</color> <color name="grey_divider">#14212121</color> + <color name="grey_overlay">#66FFFFFF</color> <color name="orange_off">#FC7222</color> <color name="green_on">#169659</color> |