<?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=".MyPageActivity"> <TextView android:id="@+id/name" android:layout_width="200dp" android:layout_height="30dp" android:text="Name" android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.468" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.067" /> <ImageView android:id="@+id/icon" android:layout_width="80dp" android:layout_height="80dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.05" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.069" app:srcCompat="@drawable/ic_launcher_foreground" /> <TextView android:id="@+id/id" android:layout_width="200dp" android:layout_height="30dp" android:text="あなたのID" android:textSize="20sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.468" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/name" app:layout_constraintVertical_bias="0.016" /> <Button android:id="@+id/cancel" android:layout_width="78dp" android:layout_height="65dp" android:text="閉じる" android:textSize="14sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.903" app:layout_constraintStart_toEndOf="@+id/icon" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.078" /> <Button android:id="@+id/friend" android:layout_width="150dp" android:layout_height="40dp" android:layout_marginStart="50dp" android:text="フレンド" android:textSize="16sp" app:layout_constraintBottom_toTopOf="@+id/postScroll" app:layout_constraintEnd_toStartOf="@+id/requested" app:layout_constraintHorizontal_bias="0.404" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/id" app:layout_constraintVertical_bias="0.159" /> <Button android:id="@+id/requested" android:layout_width="150dp" android:layout_height="40dp" android:layout_marginEnd="50dp" android:text="フレンド申請" android:textSize="14sp" app:layout_constraintBottom_toTopOf="@+id/postScroll" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="1.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/id" app:layout_constraintVertical_bias="0.155" /> <Button android:id="@+id/changeMyPage" android:layout_width="200dp" android:layout_height="40dp" android:text="マイページ編集" android:textSize="16sp" app:layout_constraintBottom_toTopOf="@+id/postScroll" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.536" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/id" app:layout_constraintVertical_bias="0.602" /> <ScrollView android:id="@+id/postScroll" android:layout_width="413dp" android:layout_height="382dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/id" app:layout_constraintVertical_bias="1.0"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" /> </ScrollView> </androidx.constraintlayout.widget.ConstraintLayout>