app/src/main/res/layout/activity_settings_location.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".main_screen.profile.settings.SettingsLocation">
<androidx.appcompat.widget.Toolbar
android:id="@+id/location_toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:minHeight="?attr/actionBarSize"
android:theme="?attr/actionBarTheme"
app:title="@string/settings_location" />
<Space
android:id="@+id/left_margin"
android:layout_width="10dp"
android:layout_height="wrap_content"
android:layout_below="@+id/location_toolbar"
android:gravity="center" />
<TextView
android:id="@+id/current_location_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/location_toolbar"
android:layout_marginStart="@dimen/margin_small"
android:layout_marginTop="@dimen/margin_small"
android:text="@string/current_location"
android:textColor="@color/blindly_purple_secondary"
android:textSize="16sp"
android:textStyle="bold" />
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@+id/current_location_text"
android:background="?android:attr/listDivider" />
<ImageView
android:contentDescription="@string/pointer"
android:id="@+id/google_location_img"
android:layout_width="25dp"
android:layout_height="49dp"
android:layout_below="@+id/divider"
android:layout_marginStart="@dimen/margin_small"
app:srcCompat="@drawable/google_location_img"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="278dp" />
<TextView
android:id="@+id/my_current_location_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/current_location_text"
android:layout_toEndOf="@+id/google_location_img"
android:layout_marginStart="@dimen/margin_small"
android:gravity="center"
android:text="@string/my_current_location"
android:textSize="17sp" />
<TextView
android:id="@+id/my_current"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/my_current_location_text"
android:layout_toEndOf="@+id/google_location_img"
android:layout_marginStart="@dimen/margin_small"
android:gravity="center"
android:textSize="16sp" />
<View
android:id="@+id/divider2"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@+id/google_location_img"
android:background="?android:attr/listDivider" />
<com.google.android.gms.maps.MapView
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/divider2"
android:layout_marginTop="@dimen/margin"
android:layout_marginBottom="@dimen/margin"/>
</RelativeLayout>