ProgressButton fixes

This commit is contained in:
Koitharu
2024-04-08 10:40:48 +03:00
parent 89dd7beafe
commit 62bd5008fd
3 changed files with 18 additions and 12 deletions

View File

@@ -105,8 +105,8 @@
android:id="@+id/imageView_state"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginVertical="0.5dp"
android:layout_marginStart="16dp"
app:layout_constraintBottom_toBottomOf="@id/textView_state"
app:layout_constraintDimensionRatio="1"
app:layout_constraintStart_toEndOf="@id/imageView_cover"
@@ -180,12 +180,13 @@
android:gravity="center"
android:paddingHorizontal="6dp"
android:paddingVertical="8dp"
android:textColor="?colorOnPrimaryContainer"
app:baseColor="?colorSecondaryContainer"
app:layout_constraintEnd_toStartOf="@id/button_chapters"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/info_layout"
app:progressColor="?colorPrimary"
app:subtitleTextAppearance="?textAppearanceBodySmall"
app:textColor="?colorOnPrimaryContainer"
app:titleTextAppearance="?textAppearanceButton"
tools:max="100"
tools:progress="40"

View File

@@ -153,7 +153,7 @@
<attr name="subtitleTextAppearance" />
<attr name="title" />
<attr name="subtitle" />
<attr name="textColor" format="color" />
<attr name="android:textColor" />
<attr name="android:max" />
<attr name="android:progress" />
<attr name="baseColor" format="color" />