element-android/app/src/main/res/layout/activity_home.xml

40 lines
1.6 KiB
XML
Raw Normal View History

2018-10-03 18:56:33 +03:00
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout 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"
android:orientation="vertical"
tools:context=".features.login.LoginActivity">
2018-10-17 14:59:21 +03:00
<Button
android:id="@+id/startSyncButton"
android:layout_width="0dp"
android:layout_height="0dp"
2018-10-03 18:56:33 +03:00
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
2018-10-17 14:59:21 +03:00
android:text="Start sync"
app:layout_constraintBottom_toTopOf="@+id/stopSyncButton"
2018-10-03 18:56:33 +03:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
2018-10-17 14:59:21 +03:00
android:id="@+id/stopSyncButton"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
2018-10-17 14:59:21 +03:00
android:text="stop sync"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
2018-10-17 14:59:21 +03:00
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
2018-10-17 14:59:21 +03:00
app:layout_constraintTop_toBottomOf="@+id/startSyncButton" />
2018-10-03 18:56:33 +03:00
</android.support.constraint.ConstraintLayout>