Manga about section layout tweaks

(cherry picked from commit ccd0e0cdfefd18898f618cbd2ecccec32a692834)

# Conflicts:
#	app/src/main/res/layout/manga_info_header.xml
This commit is contained in:
arkon 2020-07-18 10:57:11 -04:00 committed by Jobobby04
parent fd40f35371
commit 70a779e4d0

View File

@ -194,7 +194,13 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<RelativeLayout <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="16dp" android:paddingStart="16dp"
@ -203,11 +209,15 @@
<TextView <TextView
android:id="@+id/manga_summary_label" android:id="@+id/manga_summary_label"
style="@style/TextAppearance.Regular.SubHeading" style="@style/TextAppearance.Regular.SubHeading"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:text="@string/manga_info_about_label" android:text="@string/manga_info_about_label"
android:textIsSelectable="false" /> android:textIsSelectable="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/manga_info_toggle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/manga_info_toggle" android:id="@+id/manga_info_toggle"
@ -217,9 +227,12 @@
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:text="@string/manga_info_expand" android:text="@string/manga_info_expand"
app:icon="@drawable/ic_baseline_expand_more_24dp" app:icon="@drawable/ic_baseline_expand_more_24dp"
app:iconTint="?attr/colorOnPrimary" /> app:iconTint="?attr/colorOnPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</RelativeLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<TextView <TextView
android:id="@+id/manga_summary" android:id="@+id/manga_summary"
@ -308,3 +321,5 @@
tools:visibility="visible" /> tools:visibility="visible" />
</LinearLayout> </LinearLayout>
</LinearLayout>