<?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" android:orientation="vertical" tools:context=".views.Paint.PaintActivity"> <org.ntlab.acanthus_client.views.Paint.MyPaint android:id="@+id/myCanvas" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" /> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:onClick="onClear" android:text="clear" app:layout_constraintBottom_toBottomOf="@+id/myCanvas" /> </androidx.constraintlayout.widget.ConstraintLayout>