<?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:backgroundTint="#804747" tools:context=".OwnerRoomActivity"> <Button android:id="@+id/beBlueSpy" android:layout_width="100dp" android:layout_height="80dp" android:layout_marginBottom="16dp" android:backgroundTint="#2020AC" android:text="諜報員として参加" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.605" app:layout_constraintStart_toStartOf="parent" /> <Button android:id="@+id/beRedMaster" android:layout_width="100dp" android:layout_height="80dp" android:layout_marginTop="28dp" android:backgroundTint="#AC2020" android:text="スパイマスターとして参加" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.605" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <Button android:id="@+id/beRedSpy" android:layout_width="100dp" android:layout_height="80dp" android:layout_marginTop="20dp" android:backgroundTint="#AC2020" android:text="諜報員として参加" app:layout_constraintEnd_toEndOf="@+id/beRedMaster" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="@+id/beRedMaster" app:layout_constraintTop_toBottomOf="@+id/beRedMaster" /> <Button android:id="@+id/beBlueMaster" android:layout_width="100dp" android:layout_height="80dp" android:layout_marginBottom="12dp" android:backgroundTint="#2020AC" android:text="スパイマスターとして参加" app:layout_constraintBottom_toTopOf="@+id/beBlueSpy" app:layout_constraintEnd_toEndOf="@+id/beBlueSpy" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="@+id/beBlueSpy" /> <ListView android:id="@+id/MembersList" android:layout_width="295dp" android:layout_height="370dp" android:layout_marginEnd="24dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/beBlueMaster" app:layout_constraintHorizontal_bias="0.961" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.609" /> <TextView android:id="@+id/roomID" android:layout_width="165dp" android:layout_height="38dp" android:layout_marginStart="16dp" android:layout_marginTop="16dp" android:text="部屋:" app:layout_constraintEnd_toStartOf="@+id/copyButton" app:layout_constraintStart_toEndOf="@+id/beRedMaster" app:layout_constraintTop_toTopOf="parent" /> <ImageButton android:id="@+id/copyButton" android:layout_width="39dp" android:layout_height="39dp" android:layout_marginTop="16dp" android:layout_marginEnd="8dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/copy_icon" /> <TextView android:id="@+id/settings" android:layout_width="201dp" android:layout_height="44dp" android:layout_marginTop="24dp" android:layout_marginEnd="16dp" android:text="設定\nお絵描き" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/roomID" app:layout_constraintVertical_bias="0.0" /> <Button android:id="@+id/random" android:layout_width="100dp" android:layout_height="80dp" android:text="ランダム" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/start" app:layout_constraintHorizontal_bias="0.978" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.939" /> <Button android:id="@+id/start" android:layout_width="100dp" android:layout_height="80dp" android:text="スタート" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.974" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.939" /> <Switch android:id="@+id/switch1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="タイマー" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.818" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/settings" app:layout_constraintVertical_bias="0.038" /> </androidx.constraintlayout.widget.ConstraintLayout>