diff options
Diffstat (limited to 'app/src/main/res/layout/activity_main.xml')
-rwxr-xr-x | app/src/main/res/layout/activity_main.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100755 index 0000000..2fb1ba1 --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.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=".MainActivity"> + + <LinearLayout + android:layout_width="300dp" + android:layout_height="wrap_content" + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <Button + android:id="@+id/play_golden" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="onClick" + android:text="Golden ratio" /> + + <Button + android:id="@+id/play_e" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="onClick" + android:text="Euler" /> + + <Button + android:id="@+id/play_pi" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:onClick="onClick" + android:text="Pi" /> + </LinearLayout> + +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |