Newer
Older
org.ntlab.acanthus_client / app / src / main / res / layout / activity_paint.xml
k-fujii on 18 Jun 2021 931 bytes [update]書いた線のPOSTを開通
<?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.PaintCanvas
        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>