diff options
author | Amit Kumar <amitkma@e.email> | 2021-05-07 00:10:39 +0530 |
---|---|---|
committer | Amit Kumar <amitkma@e.email> | 2021-05-07 00:10:39 +0530 |
commit | ca97c46120b3ce298bfd72bfeb208aa136076ea3 (patch) | |
tree | 75818679866e14510d6b0dcca838be595fd27bb7 /app/src/main/res/layout | |
parent | b90ec32e36644fba6eedefd361b1386f21e89bc8 (diff) |
Add mapview to pick location from map
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_fake_location.xml | 12 |
1 files changed, 7 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 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 @@ <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:mapbox="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" @@ -98,13 +99,14 @@ /> </RadioGroup> - <ImageView - android:id="@+id/dummy_img_map" + + <foundation.e.privacycentralapp.features.location.FakeLocationMapView + android:id="@+id/mapView" android:layout_width="match_parent" - android:layout_height="254dp" + android:layout_height="240dp" + mapbox:mapbox_cameraZoom="15" android:layout_marginTop="32dp" android:layout_marginBottom="32dp" - android:src="@drawable/dummy_img_map_picker" /> <com.google.android.material.textfield.TextInputLayout @@ -143,9 +145,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" + android:layout_marginTop="32dp" android:text="@string/add_location" app:backgroundTint="#007fff" - android:layout_marginTop="32dp" /> </LinearLayout> </androidx.core.widget.NestedScrollView> |