diff options
author | Javier <dev.git@javispedro.com> | 2018-11-01 13:01:39 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2018-11-03 23:30:02 +0100 |
commit | 3f42c61ead715884ac6b1f85c0b6054ff437646d (patch) | |
tree | 88c9138b8a12d1f2bc60a85ad953a74b4c5c7ed0 /app/src/main/res/layout | |
download | vndroid-3f42c61ead715884ac6b1f85c0b6054ff437646d.tar.gz vndroid-3f42c61ead715884ac6b1f85c0b6054ff437646d.zip |
Initial import
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_setup.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_setup.xml b/app/src/main/res/layout/activity_setup.xml new file mode 100644 index 0000000..9512149 --- /dev/null +++ b/app/src/main/res/layout/activity_setup.xml @@ -0,0 +1,45 @@ +<?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" + tools:context=".SetupActivity"> + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:layout_marginTop="8dp" + android:layout_marginEnd="8dp" + android:layout_marginBottom="8dp" + android:gravity="center" + android:orientation="horizontal" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.19"> + + <Button + android:id="@+id/btnStart" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:onClick="onStartClick" + android:text="@string/action_start" /> + + <Space + android:layout_width="75dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + <Button + android:id="@+id/btnStop" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:onClick="onStopClick" + android:text="@string/action_stop" /> + + </LinearLayout> + +</android.support.constraint.ConstraintLayout>
\ No newline at end of file |