<?xml version="1.0" encoding="utf-8"?> <LinearLayout 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" android:orientation="vertical" tools:context=".ShopActivity"> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.02"/> <LinearLayout android:id="@+id/shopAcTitles" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.1" android:orientation="horizontal" android:visibility="visible"> <Space android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.05"/> <Button android:id="@+id/shopAcReturnButton" android:layout_width="0dp" android:layout_height="60dp" android:layout_weight="0.1" android:backgroundTint="#00BCD4" android:text="←" android:textSize="20sp" /> <TextView android:id="@+id/shopName" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.6" android:breakStrategy="high_quality" android:gravity="center_horizontal" android:text="お店の名前" android:textSize="18sp" /> <Button android:id="@+id/toPostAcButton" android:layout_width="0dp" android:layout_height="60dp" android:layout_weight="0.1" android:backgroundTint="#00BCD4" android:text="+" android:textSize="20sp"/> <Space android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.05"/> </LinearLayout> <TextView android:id="@+id/shopAcGenre" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="選択中のジャンル:なし" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.545" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.175" /> <TextView android:id="@+id/shopAcFriend" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="選択中のフレンド:なし" app:layout_constraintBottom_toTopOf="@+id/postsList" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/shopAcGenre" app:layout_constraintVertical_bias="0.21" /> <Space android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.01"/> <LinearLayout android:id="@+id/shopAcPostsArea" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="0.6" android:orientation="horizontal" android:visibility="visible"> <Space android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.02"/> <androidx.recyclerview.widget.RecyclerView android:id="@+id/postsList" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.96" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.454" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="1.0" /> <Space android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.02"/> </LinearLayout> </LinearLayout>