<?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"> <Switch android:id="@+id/switch7" android:layout_width="73dp" android:layout_height="25dp" android:text="60s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.762" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.697" /> <Switch android:id="@+id/switch9" android:layout_width="71dp" android:layout_height="25dp" android:text="90s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.871" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.697" /> <Switch android:id="@+id/switch8" android:layout_width="81dp" android:layout_height="22dp" android:text="120s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.989" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.697" /> <ImageButton android:id="@+id/homeButton" android:layout_width="43dp" android:layout_height="39dp" android:layout_marginStart="4dp" android:background="#FFFFFF" android:padding="0dp" android:scaleType="fitCenter" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.043" app:srcCompat="@drawable/home_icon" /> <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="4dp" 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="4dp" 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="272dp" android:layout_height="369dp" android:layout_marginEnd="24dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/beBlueMaster" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.619" /> <TextView android:id="@+id/roomID" android:layout_width="165dp" android:layout_height="38dp" android:layout_marginStart="16dp" android:text="部屋:" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/copyButton" app:layout_constraintHorizontal_bias="0.227" app:layout_constraintStart_toEndOf="@+id/beRedMaster" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.042" /> <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" /> <Switch android:id="@+id/dTimer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:checked="true" android:text="タイマー" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.8" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.38" tools:ignore="UseSwitchCompatOrMaterialXml" /> <TextView android:id="@+id/textView5" android:layout_width="66dp" android:layout_height="21dp" android:layout_marginTop="8dp" android:text="・ゲーム" android:textSize="16sp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.754" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/switch4" /> <Switch android:id="@+id/gTimer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:checked="true" android:text="タイマー" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.8" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/textView5" app:layout_constraintVertical_bias="0.012" tools:ignore="UseSwitchCompatOrMaterialXml" /> <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" /> <TextView android:id="@+id/textView6" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="設定" android:textSize="20sp" app:layout_constraintBottom_toTopOf="@+id/textView8" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.727" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.876" /> <Switch android:id="@+id/switch4" android:layout_width="73dp" android:layout_height="25dp" android:text="20s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.759" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.45" /> <Switch android:id="@+id/switch5" android:layout_width="71dp" android:layout_height="25dp" android:text="40s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@+id/switch4" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.45" /> <Switch android:id="@+id/switch6" android:layout_width="70dp" android:layout_height="26dp" android:text="60s" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@+id/switch5" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.45" /> <TextView android:id="@+id/textView8" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="・お絵描き" android:textSize="16sp" app:layout_constraintBottom_toTopOf="@+id/dTimer" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.772" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" /> </androidx.constraintlayout.widget.ConstraintLayout>