mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
* not * Place Picker added * Pick location and API call linked * minor warnings resolved * Code conventions followed * issue fixed * Wikitext edited properly * minor modification * Location Picker added * Bottom sheet removed * Location picker fully implemented * credit added * credit added * issues fixed * issues fixed * minor issue fixed
49 lines
No EOL
2 KiB
XML
49 lines
No EOL
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<ImageView
|
|
android:id="@+id/location_picker_image_view_marker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="2dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:srcCompat="@drawable/map_default_map_marker"
|
|
android:contentDescription="@string/location_picker_image_view" />
|
|
|
|
<ImageView
|
|
android:id="@+id/location_picker_image_view_shadow"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:elevation="1dp"
|
|
app:layout_constraintBottom_toBottomOf="@+id/map_view"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/location_picker_image_view_marker"
|
|
app:layout_constraintVertical_bias="0.0"
|
|
app:srcCompat="@drawable/map_default_map_marker_shadow"
|
|
android:contentDescription="@string/location_picker_image_view_shadow" />
|
|
|
|
<com.mapbox.mapboxsdk.maps.MapView
|
|
android:id="@+id/map_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:mapbox_uiLogo="false"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
</com.mapbox.mapboxsdk.maps.MapView>
|
|
|
|
<include layout="@layout/bottom_container_location_picker"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |