|
|
|
|
|
|
|
|
<?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=".EarthquakeMapsActivity" |
|
|
|
|
|
android:paddingTop="?attr/actionBarSize"> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:text="@string/shake_your_smartphone_for_a_earthquake" |
|
|
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
|
|
android:id="@+id/txtEarthquake"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView xmlns:map="http://schemas.android.com/apk/res-auto" |
|
|
|
|
|
android:layout_below="@+id/txtEarthquake" |
|
|
|
|
|
android:id="@+id/map" |
|
|
|
|
|
android:name="com.google.android.gms.maps.SupportMapFragment" |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
|
android:layout_marginTop="50dp" |
|
|
|
|
|
|
|
|
|
|
|
tools:context=".EarthquakeMapsActivity" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?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=".EarthquakeMapsActivity"
|
|
|
|
|
|
android:paddingTop="?attr/actionBarSize">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
android:text="@string/shake_your_smartphone_for_a_earthquake"
|
|
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
|
|
android:id="@+id/txtEarthquake"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView xmlns:map="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
|
android:layout_below="@+id/txtEarthquake"
|
|
|
|
|
|
android:id="@+id/map"
|
|
|
|
|
|
android:name="com.google.android.gms.maps.SupportMapFragment"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:layout_marginTop="50dp"
|
|
|
|
|
|
|
|
|
|
|
|
tools:context=".EarthquakeMapsActivity" />
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
</RelativeLayout> |