Fix reading progress indicator position

This commit is contained in:
Koitharu
2022-07-13 11:39:13 +03:00
parent cef2449d45
commit bd3d800cde
2 changed files with 15 additions and 12 deletions

View File

@@ -29,6 +29,13 @@
tools:ignore="ContentDescription"
tools:src="@tools:sample/backgrounds/scenic[3]" />
<org.koitharu.kotatsu.history.ui.util.ReadingProgressView
android:id="@+id/progressView"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="bottom|end"
android:layout_margin="4dp" />
</FrameLayout>
<TextView
@@ -48,10 +55,4 @@
</LinearLayout>
<org.koitharu.kotatsu.history.ui.util.ReadingProgressView
android:id="@+id/progressView"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="top|start" />
</com.google.android.material.card.MaterialCardView>

View File

@@ -23,6 +23,14 @@
app:layout_constraintTop_toTopOf="parent"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.Kotatsu.Cover"
tools:src="@tools:sample/backgrounds/scenic" />
<org.koitharu.kotatsu.history.ui.util.ReadingProgressView
android:id="@+id/progressView"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_margin="4dp"
app:layout_constraintBottom_toBottomOf="@id/imageView_cover"
app:layout_constraintEnd_toEndOf="@id/imageView_cover" />
<TextView
android:id="@+id/textView_title"
@@ -102,10 +110,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<org.koitharu.kotatsu.history.ui.util.ReadingProgressView
android:id="@+id/progressView"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="top|start" />
</com.google.android.material.card.MaterialCardView>