<?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"> <com.google.android.material.bottomnavigation.BottomNavigationView android:id="@+id/navPaint" android:layout_width="410dp" android:layout_height="54dp" android:background="#FFFFFF" app:labelVisibilityMode="labeled" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:menu="@menu/bottom_nav_paint" /> <org.ntlab.acanthus_client.views.paint.PaintCanvas android:id="@+id/myCanvas" android:layout_width="411dp" android:layout_height="674dp" android:layout_weight="1" app:layout_constraintBottom_toTopOf="@+id/navPaint" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" /> <org.ntlab.acanthus_client.views.paint.PaintOnionCanvas android:id="@+id/paintOnionCanvas" android:layout_width="411dp" android:layout_height="674dp" app:layout_constraintBottom_toBottomOf="@+id/myCanvas" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <TextView android:id="@+id/textViewCurAid" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="aid" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.147" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.213" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="0dp" android:gravity="center|center_vertical" app:layout_constraintTop_toTopOf="parent" tools:layout_editor_absoluteX="0dp"> <FrameLayout android:id="@+id/dummyFragment" android:layout_width="wrap_content" android:layout_height="wrap_content" app:layout_constraintEnd_toEndOf="@+id/myCanvas" app:layout_constraintHorizontal_bias="0.619" app:layout_constraintStart_toStartOf="@+id/myCanvas" tools:layout_editor_absoluteY="242dp"> </FrameLayout> </LinearLayout> <!-- <Button--> <!-- android:id="@+id/button_keep"--> <!-- android:layout_width="50dp"--> <!-- android:layout_height="50dp"--> <!-- android:layout_marginTop="600dp"--> <!-- android:background="@android:drawable/presence_online"--> <!-- android:backgroundTint="#00bcd4"--> <!-- android:text="✓"--> <!-- android:textColor="#FFFFFF"--> <!-- android:textSize="24sp"--> <!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintHorizontal_bias="1.0"--> <!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintTop_toTopOf="parent" />--> <!-- <Button--> <!-- android:id="@+id/capture"--> <!-- android:layout_width="136dp"--> <!-- android:layout_height="52dp"--> <!-- android:padding="@dimen/activity_vertical_margin"--> <!-- android:text="capture"--> <!-- android:background="@android:drawable/presence_online"--> <!-- app:layout_constraintBottom_toBottomOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintHorizontal_bias="0.498"--> <!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintTop_toBottomOf="@+id/image"--> <!-- app:layout_constraintVertical_bias="0.247" />--> <!-- <ImageView--> <!-- android:id="@+id/image"--> <!-- android:layout_width="269dp"--> <!-- android:layout_height="436dp"--> <!-- android:padding="@dimen/activity_vertical_margin"--> <!-- app:layout_constraintBottom_toBottomOf="parent"--> <!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintHorizontal_bias="0.711"--> <!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintTop_toTopOf="parent"--> <!-- app:layout_constraintVertical_bias="0.233" />--> <!-- <TextView--> <!-- android:id="@+id/textView3"--> <!-- android:layout_width="wrap_content"--> <!-- android:layout_height="wrap_content"--> <!-- android:text="心がスクショしたがってるんだ。"--> <!-- android:textColor="#03A9F4"--> <!-- android:textSize="20sp"--> <!-- app:layout_constraintBottom_toTopOf="@+id/capture"--> <!-- app:layout_constraintEnd_toEndOf="parent"--> <!-- app:layout_constraintStart_toStartOf="parent"--> <!-- app:layout_constraintTop_toBottomOf="@+id/image"--> <!-- app:layout_constraintVertical_bias="0.0" />--> </androidx.constraintlayout.widget.ConstraintLayout>