Newer
Older
IrisClientWebSocket / app / src / main / res / layout / activity_member_room.xml
Kota on 8 Dec 2022 6 KB first commit
<?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=".MemberRoomActivity">

    <Button
        android:id="@+id/beBlueMaster"
        android:layout_width="95dp"
        android:layout_height="82dp"
        android:backgroundTint="#2020AC"
        android:text="スパイマスターとして参加"
        app:layout_constraintBottom_toTopOf="@+id/beBlueSpy"
        app:layout_constraintEnd_toEndOf="@+id/beBlueSpy"
        app:layout_constraintStart_toStartOf="@+id/beBlueSpy" />

    <Button
        android:id="@+id/beRedMaster"
        android:layout_width="95dp"
        android:layout_height="82dp"
        android:layout_marginTop="16dp"
        android:backgroundTint="#AC2020"
        android:text="スパイマスターとして参加"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.624"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <Button
        android:id="@+id/beRedSpy"
        android:layout_width="95dp"
        android:layout_height="82dp"
        android:backgroundTint="#AC2020"
        android:text="諜報員として参加"
        app:layout_constraintEnd_toEndOf="@+id/beRedMaster"
        app:layout_constraintStart_toStartOf="@+id/beRedMaster"
        app:layout_constraintTop_toBottomOf="@+id/beRedMaster" />

    <Button
        android:id="@+id/beBlueSpy"
        android:layout_width="95dp"
        android:layout_height="82dp"
        android:layout_marginBottom="16dp"
        android:backgroundTint="#2020AC"
        android:text="諜報員として参加"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.624"
        app:layout_constraintStart_toStartOf="parent" />

    <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"
        android:background="#FFFFFF"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/copy_icon" />

    <TextView
        android:id="@+id/settings"
        android:layout_width="198dp"
        android:layout_height="31dp"
        android:layout_marginTop="24dp"
        android:text="設定"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.964"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/roomID"
        app:layout_constraintVertical_bias="0.0" />

    <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" />

    <ListView
        android:id="@+id/MembersList"
        android:layout_width="272dp"
        android:layout_height="369dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@+id/beBlueMaster"
        app:layout_constraintHorizontal_bias="0.404"
        app:layout_constraintStart_toEndOf="@+id/homeButton"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_bias="0.619" />

    <TextView
        android:id="@+id/drawTimer"
        android:layout_width="198dp"
        android:layout_height="31dp"
        android:text="お絵描きタイマー:OFF"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.964"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/settings"
        app:layout_constraintVertical_bias="0.0" />

    <TextView
        android:id="@+id/dTimersec"
        android:layout_width="198dp"
        android:layout_height="31dp"
        android:text="30秒"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.964"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/drawTimer"
        app:layout_constraintVertical_bias="0.0" />

    <TextView
        android:id="@+id/gameTimer"
        android:layout_width="198dp"
        android:layout_height="31dp"
        android:text="ゲームタイマー:OFF"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.964"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/dTimersec"
        app:layout_constraintVertical_bias="0.0" />

    <TextView
        android:id="@+id/gTimersec"
        android:layout_width="198dp"
        android:layout_height="31dp"
        android:text="30秒"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.964"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/gameTimer"
        app:layout_constraintVertical_bias="0.0" />

</androidx.constraintlayout.widget.ConstraintLayout>