Newer
Older
NemophilaClient / app / src / main / res / layout / activity_post.xml
<?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"
    tools:context=".PostActivity">

  <Button
      android:id="@+id/postAcReturnButton"
      android:layout_width="50dp"
      android:layout_height="55dp"
      android:backgroundTint="#00BCD4"
      android:text="×"
      android:textSize="20sp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.07"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.025" />


  <TextView
      android:id="@+id/shopNamePoatAc"
      android:layout_width="250dp"
      android:layout_height="75dp"
      android:breakStrategy="high_quality"
      android:gravity="center_horizontal"
      android:text="お店の名前"
      android:textSize="18sp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.496"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.047" />


  <RatingBar
      android:id="@+id/ratingBar"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:numStars="5"
      android:progressTint="#FFC800"
      android:secondaryProgressTint="#FFC800"
      android:stepSize="1"
      app:layout_constraintBottom_toTopOf="@+id/annotationgenre"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.146"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/shopNamePoatAc"
      app:layout_constraintVertical_bias="0.342" />

  <TextView
      android:id="@+id/annotationgenre"
      android:layout_width="wrap_content"
      android:layout_height="25dp"
      android:text="ジャンルを入力"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.086"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.284" />

  <Spinner
      android:id="@+id/inputGenre"
      android:layout_width="150dp"
      android:layout_height="50dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.103"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.368"
      tools:ignore="SpeakableTextPresentCheck" />



  <TextView
      android:id="@+id/annotationComment"
      android:layout_width="wrap_content"
      android:layout_height="25dp"
      android:text="コメントを入力"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.086"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.495" />

  <EditText
      android:id="@+id/inputComment"
      android:layout_width="350dp"
      android:layout_height="wrap_content"
      android:layout_marginTop="26dp"
      android:ems="10"
      android:inputType="textPersonName"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.488"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/annotationComment"
      app:layout_constraintVertical_bias="0.0" />

  <Button
      android:id="@+id/postButton"
      android:layout_width="100dp"
      android:layout_height="60dp"
      android:backgroundTint="#00BCD4"
      android:text="投稿"
      android:textSize="20sp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.625"
      app:layout_constraintStart_toEndOf="@+id/selectpicturebutton"
      app:layout_constraintTop_toBottomOf="@+id/imageView3"
      app:layout_constraintVertical_bias="0.266" />

  <ImageButton
      android:id="@+id/selectpicturebutton"
      android:layout_width="83dp"
      android:layout_height="56dp"
      android:backgroundTint="#00BCD4"
      android:src="@drawable/ic_baseline_camera_alt_24"
      android:textSize="20sp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintVertical_bias="0.896" />

  <ImageView
      android:id="@+id/imageView2"
      android:layout_width="100dp"
      android:layout_height="100dp"
      app:layout_constraintBottom_toTopOf="@+id/selectpicturebutton"
      app:layout_constraintEnd_toStartOf="@+id/imageView3"
      app:layout_constraintHorizontal_bias="0.515"
      app:layout_constraintStart_toEndOf="@+id/imageView1"
      app:layout_constraintTop_toBottomOf="@+id/inputComment"
      app:layout_constraintVertical_bias="0.593"
      tools:srcCompat="@tools:sample/avatars" />

  <ImageView
      android:id="@+id/imageView1"
      android:layout_width="100dp"
      android:layout_height="100dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.067"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/inputComment"
      app:layout_constraintVertical_bias="0.189"
      tools:srcCompat="@tools:sample/avatars" />

  <ImageView
      android:id="@+id/imageView3"
      android:layout_width="100dp"
      android:layout_height="100dp"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      app:layout_constraintHorizontal_bias="0.922"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toBottomOf="@+id/inputComment"
      app:layout_constraintVertical_bias="0.189"
      tools:srcCompat="@tools:sample/avatars" />

  <androidx.constraintlayout.widget.Group
      android:id="@+id/group"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      app:constraint_referenced_ids="imageView1,imageView2,imageView3" />

  <ImageButton
      android:id="@+id/deleteButton1"
      android:layout_width="30dp"
      android:layout_height="30dp"
      android:layout_marginStart="84dp"
      android:layout_marginBottom="84dp"
      android:layout_weight="0"
      android:background="@drawable/blue_circle_button"
      android:padding="5dp"
      android:scaleType="fitCenter"
      android:src="@drawable/ic_baseline_clear_24"
      app:layout_constraintBottom_toBottomOf="@+id/imageView1"
      app:layout_constraintStart_toStartOf="@+id/imageView1" />

  <ImageButton
      android:id="@+id/deleteButton2"
      android:layout_width="30dp"
      android:layout_height="30dp"
      android:layout_marginStart="84dp"
      android:layout_marginBottom="84dp"
      android:layout_weight="0"
      android:background="@drawable/blue_circle_button"
      android:padding="5dp"
      android:scaleType="fitCenter"
      android:src="@drawable/ic_baseline_clear_24"
      app:layout_constraintBottom_toBottomOf="@+id/imageView2"
      app:layout_constraintStart_toStartOf="@+id/imageView2" />


  <ImageButton
      android:id="@+id/deleteButton3"
      android:layout_width="30dp"
      android:layout_height="30dp"
      android:layout_marginStart="84dp"
      android:layout_marginBottom="84dp"
      android:layout_weight="0"
      android:background="@drawable/blue_circle_button"
      android:padding="5dp"
      android:scaleType="fitCenter"
      android:src="@drawable/ic_baseline_clear_24"
      app:layout_constraintBottom_toBottomOf="@+id/imageView3"
      app:layout_constraintStart_toStartOf="@+id/imageView3" />


</androidx.constraintlayout.widget.ConstraintLayout>