Skip to content

Instantly share code, notes, and snippets.

@Mustufa786
Created January 20, 2021 07:34
Show Gist options
  • Save Mustufa786/8aab0173154265335a2b97c7d9be82d9 to your computer and use it in GitHub Desktop.
Save Mustufa786/8aab0173154265335a2b97c7d9be82d9 to your computer and use it in GitHub Desktop.
<?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:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.google.android.gms.maps.MapView
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_location"
app:tint="@color/purple_500" />
<EditText
android:id="@+id/addressEditText"
android:layout_width="match_parent"
android:layout_height="45dp"
android:layout_margin="32dp"
android:background="@drawable/rounded_box"
android:drawableStart="@drawable/ic_my_location"
android:drawablePadding="8dp"
android:focusableInTouchMode="false"
android:hint="Searching.."
android:lines="1"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:singleLine="true"
android:textSize="14sp" />
</FrameLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment