Newer
Older
IrisClient / app / src / main / res / layout / activity_member_room.xml
k-iwamoto on 27 Oct 2022 6 KB 設定の表示
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:backgroundTint="#804747"
  8. tools:context=".MemberRoomActivity">
  9.  
  10. <Button
  11. android:id="@+id/beBlueMaster"
  12. android:layout_width="95dp"
  13. android:layout_height="82dp"
  14. android:backgroundTint="#2020AC"
  15. android:text="スパイマスターとして参加"
  16. app:layout_constraintBottom_toTopOf="@+id/beBlueSpy"
  17. app:layout_constraintEnd_toEndOf="@+id/beBlueSpy"
  18. app:layout_constraintStart_toStartOf="@+id/beBlueSpy" />
  19.  
  20. <Button
  21. android:id="@+id/beRedMaster"
  22. android:layout_width="95dp"
  23. android:layout_height="82dp"
  24. android:layout_marginTop="16dp"
  25. android:backgroundTint="#AC2020"
  26. android:text="スパイマスターとして参加"
  27. app:layout_constraintEnd_toEndOf="parent"
  28. app:layout_constraintHorizontal_bias="0.624"
  29. app:layout_constraintStart_toStartOf="parent"
  30. app:layout_constraintTop_toTopOf="parent" />
  31.  
  32. <Button
  33. android:id="@+id/beRedSpy"
  34. android:layout_width="95dp"
  35. android:layout_height="82dp"
  36. android:backgroundTint="#AC2020"
  37. android:text="諜報員として参加"
  38. app:layout_constraintEnd_toEndOf="@+id/beRedMaster"
  39. app:layout_constraintStart_toStartOf="@+id/beRedMaster"
  40. app:layout_constraintTop_toBottomOf="@+id/beRedMaster" />
  41.  
  42. <Button
  43. android:id="@+id/beBlueSpy"
  44. android:layout_width="95dp"
  45. android:layout_height="82dp"
  46. android:layout_marginBottom="16dp"
  47. android:backgroundTint="#2020AC"
  48. android:text="諜報員として参加"
  49. app:layout_constraintBottom_toBottomOf="parent"
  50. app:layout_constraintEnd_toEndOf="parent"
  51. app:layout_constraintHorizontal_bias="0.624"
  52. app:layout_constraintStart_toStartOf="parent" />
  53.  
  54. <TextView
  55. android:id="@+id/roomID"
  56. android:layout_width="165dp"
  57. android:layout_height="38dp"
  58. android:layout_marginStart="16dp"
  59. android:layout_marginTop="16dp"
  60. android:text="部屋:"
  61. app:layout_constraintEnd_toStartOf="@+id/copyButton"
  62. app:layout_constraintStart_toEndOf="@+id/beRedMaster"
  63. app:layout_constraintTop_toTopOf="parent" />
  64.  
  65. <ImageButton
  66. android:id="@+id/copyButton"
  67. android:layout_width="39dp"
  68. android:layout_height="39dp"
  69. android:layout_marginTop="16dp"
  70. android:layout_marginEnd="8dp"
  71. android:background="#FFFFFF"
  72. app:layout_constraintEnd_toEndOf="parent"
  73. app:layout_constraintTop_toTopOf="parent"
  74. app:srcCompat="@drawable/copy_icon" />
  75.  
  76. <TextView
  77. android:id="@+id/settings"
  78. android:layout_width="198dp"
  79. android:layout_height="31dp"
  80. android:layout_marginTop="24dp"
  81. android:text="設定"
  82. app:layout_constraintBottom_toBottomOf="parent"
  83. app:layout_constraintEnd_toEndOf="parent"
  84. app:layout_constraintHorizontal_bias="0.964"
  85. app:layout_constraintStart_toStartOf="parent"
  86. app:layout_constraintTop_toBottomOf="@+id/roomID"
  87. app:layout_constraintVertical_bias="0.0" />
  88.  
  89. <ImageButton
  90. android:id="@+id/homeButton"
  91. android:layout_width="43dp"
  92. android:layout_height="39dp"
  93. android:layout_marginStart="4dp"
  94. android:background="#FFFFFF"
  95. android:padding="0dp"
  96. android:scaleType="fitCenter"
  97. app:layout_constraintBottom_toBottomOf="parent"
  98. app:layout_constraintStart_toStartOf="parent"
  99. app:layout_constraintTop_toTopOf="parent"
  100. app:layout_constraintVertical_bias="0.043"
  101. app:srcCompat="@drawable/home_icon" />
  102.  
  103. <ListView
  104. android:id="@+id/MembersList"
  105. android:layout_width="272dp"
  106. android:layout_height="369dp"
  107. app:layout_constraintBottom_toBottomOf="parent"
  108. app:layout_constraintEnd_toStartOf="@+id/beBlueMaster"
  109. app:layout_constraintHorizontal_bias="0.404"
  110. app:layout_constraintStart_toEndOf="@+id/homeButton"
  111. app:layout_constraintTop_toTopOf="parent"
  112. app:layout_constraintVertical_bias="0.619" />
  113.  
  114. <TextView
  115. android:id="@+id/drawTimer"
  116. android:layout_width="198dp"
  117. android:layout_height="31dp"
  118. android:text="お絵描きタイマー:OFF"
  119. app:layout_constraintBottom_toBottomOf="parent"
  120. app:layout_constraintEnd_toEndOf="parent"
  121. app:layout_constraintHorizontal_bias="0.964"
  122. app:layout_constraintStart_toStartOf="parent"
  123. app:layout_constraintTop_toBottomOf="@+id/settings"
  124. app:layout_constraintVertical_bias="0.0" />
  125.  
  126. <TextView
  127. android:id="@+id/dTimersec"
  128. android:layout_width="198dp"
  129. android:layout_height="31dp"
  130. android:text="30秒"
  131. app:layout_constraintBottom_toBottomOf="parent"
  132. app:layout_constraintEnd_toEndOf="parent"
  133. app:layout_constraintHorizontal_bias="0.964"
  134. app:layout_constraintStart_toStartOf="parent"
  135. app:layout_constraintTop_toBottomOf="@+id/drawTimer"
  136. app:layout_constraintVertical_bias="0.0" />
  137.  
  138. <TextView
  139. android:id="@+id/gameTimer"
  140. android:layout_width="198dp"
  141. android:layout_height="31dp"
  142. android:text="ゲームタイマー:OFF"
  143. app:layout_constraintBottom_toBottomOf="parent"
  144. app:layout_constraintEnd_toEndOf="parent"
  145. app:layout_constraintHorizontal_bias="0.964"
  146. app:layout_constraintStart_toStartOf="parent"
  147. app:layout_constraintTop_toBottomOf="@+id/dTimersec"
  148. app:layout_constraintVertical_bias="0.0" />
  149.  
  150. <TextView
  151. android:id="@+id/gTimersec"
  152. android:layout_width="198dp"
  153. android:layout_height="31dp"
  154. android:text="30秒"
  155. app:layout_constraintBottom_toBottomOf="parent"
  156. app:layout_constraintEnd_toEndOf="parent"
  157. app:layout_constraintHorizontal_bias="0.964"
  158. app:layout_constraintStart_toStartOf="parent"
  159. app:layout_constraintTop_toBottomOf="@+id/gameTimer"
  160. app:layout_constraintVertical_bias="0.0" />
  161.  
  162. </androidx.constraintlayout.widget.ConstraintLayout>