heartbeatapp/app/src/main/res/layout/activity_main.xml

46 lines
1.6 KiB
XML
Raw Normal View History

2018-10-22 11:42:35 +02:00
<?xml version="1.0" encoding="utf-8"?>
2018-10-30 15:39:54 +01:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-10-22 11:42:35 +02:00
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"
2018-10-30 15:39:54 +01:00
android:orientation="vertical"
2018-10-22 11:42:35 +02:00
tools:context=".MainActivity">
<TextView
2018-10-23 22:08:11 +02:00
android:id="@+id/status_msg"
2018-10-30 15:39:54 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
2018-10-23 22:08:11 +02:00
android:text="..."
2018-10-22 11:42:35 +02:00
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2018-10-30 15:39:54 +01:00
<TextView
android:id="@+id/beat_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:text="..."
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<Button
android:id="@+id/service_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/service_start" />
</LinearLayout>
</LinearLayout>