Newer
Older
NemophilaClient / app / src / main / res / layout / activity_post.xml
  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. tools:context=".PostActivity">
  8.  
  9. <TextView
  10. android:id="@+id/shopNamePoatAc"
  11. android:layout_width="250dp"
  12. android:layout_height="75dp"
  13. android:breakStrategy="high_quality"
  14. android:gravity="center_horizontal"
  15. android:text="お店の名前"
  16. android:textSize="18sp"
  17. app:layout_constraintBottom_toBottomOf="parent"
  18. app:layout_constraintEnd_toEndOf="parent"
  19. app:layout_constraintHorizontal_bias="0.496"
  20. app:layout_constraintStart_toStartOf="parent"
  21. app:layout_constraintTop_toTopOf="parent"
  22. app:layout_constraintVertical_bias="0.047" />
  23.  
  24.  
  25. <Button
  26. android:id="@+id/postAcReturnButton"
  27. android:layout_width="50dp"
  28. android:layout_height="55dp"
  29. android:backgroundTint="#00BCD4"
  30. android:text="×"
  31. android:textSize="20sp"
  32. app:layout_constraintBottom_toBottomOf="parent"
  33. app:layout_constraintEnd_toEndOf="parent"
  34. app:layout_constraintHorizontal_bias="0.07"
  35. app:layout_constraintStart_toStartOf="parent"
  36. app:layout_constraintTop_toTopOf="parent"
  37. app:layout_constraintVertical_bias="0.025" />
  38.  
  39. <Spinner
  40. android:id="@+id/inputRate"
  41. android:layout_width="150dp"
  42. android:layout_height="50dp"
  43. app:layout_constraintBottom_toBottomOf="parent"
  44. app:layout_constraintEnd_toEndOf="parent"
  45. app:layout_constraintHorizontal_bias="0.892"
  46. app:layout_constraintStart_toStartOf="parent"
  47. app:layout_constraintTop_toTopOf="parent"
  48. app:layout_constraintVertical_bias="0.195"
  49. tools:ignore="SpeakableTextPresentCheck" />
  50.  
  51. <TextView
  52. android:id="@+id/ratePostAc"
  53. android:layout_width="205dp"
  54. android:layout_height="50dp"
  55. android:text="☆☆☆☆☆"
  56. android:textSize="40sp"
  57. app:layout_constraintBottom_toBottomOf="parent"
  58. app:layout_constraintEnd_toEndOf="parent"
  59. app:layout_constraintEnd_toStartOf="@+id/inputRate"
  60. app:layout_constraintHorizontal_bias="0.953"
  61. app:layout_constraintStart_toStartOf="parent"
  62. app:layout_constraintTop_toTopOf="parent"
  63. app:layout_constraintVertical_bias="0.183" />
  64.  
  65. <TextView
  66. android:id="@+id/annotationgenre"
  67. android:layout_width="wrap_content"
  68. android:layout_height="25dp"
  69. android:text="ジャンルを入力"
  70. app:layout_constraintBottom_toBottomOf="parent"
  71. app:layout_constraintEnd_toEndOf="parent"
  72. app:layout_constraintHorizontal_bias="0.086"
  73. app:layout_constraintStart_toStartOf="parent"
  74. app:layout_constraintTop_toTopOf="parent"
  75. app:layout_constraintVertical_bias="0.284" />
  76.  
  77.  
  78. <EditText
  79. android:id="@+id/inputGenre"
  80. android:layout_width="350dp"
  81. android:layout_height="50dp"
  82. android:ems="10"
  83. android:inputType="textPersonName"
  84. app:layout_constraintBottom_toBottomOf="parent"
  85. app:layout_constraintEnd_toEndOf="parent"
  86. app:layout_constraintHorizontal_bias="0.442"
  87. app:layout_constraintStart_toStartOf="parent"
  88. app:layout_constraintTop_toTopOf="parent"
  89. app:layout_constraintVertical_bias="0.358" />
  90.  
  91. <TextView
  92. android:id="@+id/annotationComment"
  93. android:layout_width="wrap_content"
  94. android:layout_height="25dp"
  95. android:text="コメントを入力"
  96. app:layout_constraintBottom_toBottomOf="parent"
  97. app:layout_constraintEnd_toEndOf="parent"
  98. app:layout_constraintHorizontal_bias="0.086"
  99. app:layout_constraintStart_toStartOf="parent"
  100. app:layout_constraintTop_toTopOf="parent"
  101. app:layout_constraintVertical_bias="0.495" />
  102.  
  103. <EditText
  104. android:id="@+id/inputComment"
  105. android:layout_width="350dp"
  106. android:layout_height="wrap_content"
  107. android:layout_marginTop="26dp"
  108. android:ems="10"
  109. android:inputType="textPersonName"
  110. app:layout_constraintBottom_toBottomOf="parent"
  111. app:layout_constraintEnd_toEndOf="parent"
  112. app:layout_constraintHorizontal_bias="0.488"
  113. app:layout_constraintStart_toStartOf="parent"
  114. app:layout_constraintTop_toBottomOf="@+id/annotationComment"
  115. app:layout_constraintVertical_bias="0.0" />
  116.  
  117. <Button
  118. android:id="@+id/postButton"
  119. android:layout_width="100dp"
  120. android:layout_height="60dp"
  121. android:backgroundTint="#00BCD4"
  122. android:text="投稿"
  123. android:textSize="20sp"
  124. app:layout_constraintBottom_toBottomOf="parent"
  125. app:layout_constraintEnd_toEndOf="parent"
  126. app:layout_constraintHorizontal_bias="0.9"
  127. app:layout_constraintStart_toStartOf="parent"
  128. app:layout_constraintTop_toTopOf="parent"
  129. app:layout_constraintVertical_bias="0.895" />
  130.  
  131. <Button
  132. android:id="@+id/selectpicturebutton"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:backgroundTint="#00BCD4"
  136. android:text="+"
  137. android:textSize="20sp"
  138. app:layout_constraintBottom_toBottomOf="parent"
  139. app:layout_constraintEnd_toEndOf="parent"
  140. app:layout_constraintHorizontal_bias="0.498"
  141. app:layout_constraintStart_toStartOf="parent"
  142. app:layout_constraintTop_toTopOf="parent"
  143. app:layout_constraintVertical_bias="0.88" />
  144.  
  145. <ImageView
  146. android:id="@+id/imageView1"
  147. android:layout_width="100dp"
  148. android:layout_height="100dp"
  149. app:layout_constraintBottom_toTopOf="@+id/selectpicturebutton"
  150. app:layout_constraintEnd_toEndOf="parent"
  151. app:layout_constraintHorizontal_bias="0.071"
  152. app:layout_constraintStart_toStartOf="parent"
  153. app:layout_constraintTop_toBottomOf="@+id/inputComment"
  154. tools:srcCompat="@tools:sample/avatars" />
  155.  
  156. <ImageView
  157. android:id="@+id/imageView2"
  158. android:layout_width="100dp"
  159. android:layout_height="100dp"
  160. app:layout_constraintBottom_toTopOf="@+id/selectpicturebutton"
  161. app:layout_constraintEnd_toEndOf="parent"
  162. app:layout_constraintHorizontal_bias="0.5"
  163. app:layout_constraintStart_toStartOf="parent"
  164. app:layout_constraintTop_toBottomOf="@+id/inputComment"
  165. tools:srcCompat="@tools:sample/avatars" />
  166.  
  167. <ImageView
  168. android:id="@+id/imageView3"
  169. android:layout_width="100dp"
  170. android:layout_height="100dp"
  171. app:layout_constraintBottom_toTopOf="@+id/postButton"
  172. app:layout_constraintEnd_toEndOf="parent"
  173. app:layout_constraintHorizontal_bias="0.924"
  174. app:layout_constraintStart_toStartOf="parent"
  175. app:layout_constraintTop_toBottomOf="@+id/inputComment"
  176. tools:srcCompat="@tools:sample/avatars" />
  177.  
  178. <androidx.constraintlayout.widget.Group
  179. android:id="@+id/group"
  180. android:layout_width="wrap_content"
  181. android:layout_height="wrap_content"
  182. app:constraint_referenced_ids="imageView1,imageView2,imageView3" />
  183.  
  184.  
  185. </androidx.constraintlayout.widget.ConstraintLayout>