1234567891011121314151617181920212223242526 |
- <?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=".MainActivity">
-
-
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/btnEarthquake"
- android:text="Generate Earthquake"
- android:layout_centerVertical="true"
- android:layout_centerHorizontal="true" />
-
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/btnSensor"
- android:text="Be a Sensor"
- android:layout_centerHorizontal="true"
- android:layout_below="@id/btnEarthquake"/>
-
- </RelativeLayout>
|