Androidでカレンダーのレイアウトを全力で自作する

## 概要
前回は曜日の部分だけ作ったので、今回は日付の部分を作っていきたいと思います。

## 全力で自作

```activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<layout 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">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity">

        <TextView
            android:id="@+id/sunday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Sun"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <TextView
            android:id="@+id/monday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Mon"
            app:layout_constraintEnd_toEndOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/sunday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/tuesday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Tue"
            app:layout_constraintEnd_toEndOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/monday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/wednesday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Wed"
            app:layout_constraintEnd_toEndOf="@id/thursday"
            app:layout_constraintStart_toEndOf="@+id/tuesday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/thursday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Thu"
            app:layout_constraintEnd_toEndOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/wednesday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/friday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Fri"
            app:layout_constraintEnd_toEndOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/thursday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/saturday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Sat"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/friday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/cell_1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="1"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="2"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="3"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_4"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="4"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/thursday"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_5"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="5"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_6"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="6"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_7"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="7"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_11"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="8"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/cell_1" />


        <TextView
            android:id="@+id/cell_12"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="9"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_2" />

        <TextView
            android:id="@+id/cell_13"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="10"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_3" />

        <TextView
            android:id="@+id/cell_14"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="11"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_4" />

        <TextView
            android:id="@+id/cell_15"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="12"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@id/cell_1" />

        <TextView
            android:id="@+id/cell_16"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="13"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_6" />

        <TextView
            android:id="@+id/cell_17"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="14"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@id/cell_1" />


        <TextView
            android:id="@+id/cell_21"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="15"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/cell_11" />


        <TextView
            android:id="@+id/cell_22"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="16"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_12" />

        <TextView
            android:id="@+id/cell_23"
            android:layout_width="27dp"
            android:layout_height="34dp"
            android:text="17"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_13" />

        <TextView
            android:id="@+id/cell_24"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="18"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_14" />

        <TextView
            android:id="@+id/cell_25"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="19"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@+id/cell_15" />

        <TextView
            android:id="@+id/cell_26"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="20"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_16" />

        <TextView
            android:id="@+id/cell_27"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="21"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@+id/cell_17" />

        <TextView
            android:id="@+id/cell_31"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="22"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/cell_21" />


        <TextView
            android:id="@+id/cell_32"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="23"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_22" />

        <TextView
            android:id="@+id/cell_33"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="24"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_23" />

        <TextView
            android:id="@+id/cell_34"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="25"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_24" />

        <TextView
            android:id="@+id/cell_35"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="26"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@+id/cell_25" />

        <TextView
            android:id="@+id/cell_36"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="27"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_26" />

        <TextView
            android:id="@+id/cell_37"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="28"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@+id/cell_27" />


    </androidx.constraintlayout.widget.ConstraintLayout>
</layout>
```

とりあえず書いてみたが....
実行してみると、、、、

<img width="338" alt="スクリーンショット 2020-06-21 0.04.35.png" src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/83409/04f0893a-b961-56da-becf-f20a2ebf2b56.png">


## 微調節
なんかおかしい....真ん中の2つだけおかしいがそこだけ見ても違いがわからなかった...が下記のように修正したところ

```activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<layout 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">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context=".MainActivity">

        <TextView
            android:id="@+id/sunday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Sun"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <TextView
            android:id="@+id/monday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Mon"
            app:layout_constraintEnd_toEndOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/sunday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/tuesday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Tue"
            app:layout_constraintEnd_toEndOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/monday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/wednesday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Wed"
            app:layout_constraintEnd_toEndOf="@id/thursday"
            app:layout_constraintStart_toEndOf="@+id/tuesday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/thursday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Thu"
            app:layout_constraintEnd_toEndOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/wednesday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/friday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Fri"
            app:layout_constraintEnd_toEndOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/thursday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/saturday"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="Sat"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/friday"
            app:layout_constraintTop_toTopOf="@+id/sunday" />

        <TextView
            android:id="@+id/cell_1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="1"
            app:layout_constraintBottom_toTopOf="@id/cell_11"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="2"
            app:layout_constraintBottom_toTopOf="@id/cell_12"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_3"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="3"
            app:layout_constraintBottom_toTopOf="@id/cell_13"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_4"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="4"
            app:layout_constraintBottom_toTopOf="@id/cell_14"
            app:layout_constraintEnd_toStartOf="@id/thursday"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_5"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="5"
            app:layout_constraintBottom_toTopOf="@id/cell_15"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_6"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="6"
            app:layout_constraintBottom_toTopOf="@id/cell_16"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_7"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="7"
            app:layout_constraintBottom_toTopOf="@id/cell_17"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@id/sunday" />

        <TextView
            android:id="@+id/cell_11"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="8"
            app:layout_constraintBottom_toBottomOf="@id/cell_21"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@id/cell_1" />


        <TextView
            android:id="@+id/cell_12"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="9"
            app:layout_constraintBottom_toBottomOf="@id/cell_22"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_2" />

        <TextView
            android:id="@+id/cell_13"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="10"
            app:layout_constraintBottom_toBottomOf="@id/cell_23"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_3" />

        <TextView
            android:id="@+id/cell_14"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="11"
            app:layout_constraintBottom_toBottomOf="@id/cell_24"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_4" />

        <TextView
            android:id="@+id/cell_15"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="12"
            app:layout_constraintBottom_toBottomOf="@id/cell_25"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@id/cell_5" />

        <TextView
            android:id="@+id/cell_16"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="13"
            app:layout_constraintBottom_toBottomOf="@id/cell_26"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_6" />

        <TextView
            android:id="@+id/cell_17"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="14"
            app:layout_constraintBottom_toBottomOf="@id/cell_27"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@id/cell_7" />


        <TextView
            android:id="@+id/cell_21"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="15"
            app:layout_constraintBottom_toBottomOf="@id/cell_31"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/cell_11" />


        <TextView
            android:id="@+id/cell_22"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="16"
            app:layout_constraintBottom_toBottomOf="@id/cell_32"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_12" />

        <TextView
            android:id="@+id/cell_23"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="17"
            app:layout_constraintBottom_toBottomOf="@id/cell_33"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_13" />

        <TextView
            android:id="@+id/cell_24"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="18"
            app:layout_constraintBottom_toBottomOf="@id/cell_34"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_14" />

        <TextView
            android:id="@+id/cell_25"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="19"
            app:layout_constraintBottom_toBottomOf="@id/cell_35"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@+id/cell_15" />

        <TextView
            android:id="@+id/cell_26"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="20"
            app:layout_constraintBottom_toBottomOf="@id/cell_36"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_16" />

        <TextView
            android:id="@+id/cell_27"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="21"
            app:layout_constraintBottom_toBottomOf="@id/cell_37"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@+id/cell_17" />

        <TextView
            android:id="@+id/cell_31"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="22"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/monday"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/cell_21" />


        <TextView
            android:id="@+id/cell_32"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="23"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/tuesday"
            app:layout_constraintStart_toEndOf="@+id/cell_1"
            app:layout_constraintTop_toBottomOf="@+id/cell_22" />

        <TextView
            android:id="@+id/cell_33"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="24"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/wednesday"
            app:layout_constraintStart_toEndOf="@+id/cell_2"
            app:layout_constraintTop_toBottomOf="@+id/cell_23" />

        <TextView
            android:id="@+id/cell_34"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="25"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@+id/cell_15"
            app:layout_constraintStart_toEndOf="@+id/cell_3"
            app:layout_constraintTop_toBottomOf="@+id/cell_24" />

        <TextView
            android:id="@+id/cell_35"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="26"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/friday"
            app:layout_constraintStart_toEndOf="@+id/cell_4"
            app:layout_constraintTop_toBottomOf="@+id/cell_25" />

        <TextView
            android:id="@+id/cell_36"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="27"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toStartOf="@id/saturday"
            app:layout_constraintStart_toEndOf="@+id/cell_5"
            app:layout_constraintTop_toBottomOf="@+id/cell_26" />

        <TextView
            android:id="@+id/cell_37"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="28"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toEndOf="@+id/cell_6"
            app:layout_constraintTop_toBottomOf="@+id/cell_27" />


    </androidx.constraintlayout.widget.ConstraintLayout>
</layout>
```

<img width="357" alt="スクリーンショット 2020-06-21 0.10.13.png" src="https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/83409/2bf4a373-a1c7-7790-b40c-c7c8e7ee622b.png">

いい感じになりました！
TopやBottomをちゃんとした上下の要素ではなく１列目のを指定した場所があったことが問題だった模様🤔
ConstraintLayout便利なようで便利じゃないような...わかったようなわからないような.....



### 次回
ほんとは枠線とかを入れてみたいが全然やり方が分からなかったので明日からはそこを少し調べていきたいと思います..!!!