mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 05:25:08 +01:00
Prefixing all the anim drawables with anim_
This commit is contained in:
parent
7f47c5fd4d
commit
fdcd855bb2
@ -413,9 +413,9 @@ class ReaderActivity :
|
|||||||
|
|
||||||
with(binding.chaptersSheet.cropBordersSheetButton) {
|
with(binding.chaptersSheet.cropBordersSheetButton) {
|
||||||
val drawableRes = if (enabled) {
|
val drawableRes = if (enabled) {
|
||||||
R.drawable.free_to_crop
|
R.drawable.anim_free_to_crop
|
||||||
} else {
|
} else {
|
||||||
R.drawable.crop_to_free
|
R.drawable.anim_crop_to_free
|
||||||
}
|
}
|
||||||
if (lastCropRes != drawableRes) {
|
if (lastCropRes != drawableRes) {
|
||||||
setImageResource(drawableRes)
|
setImageResource(drawableRes)
|
||||||
|
@ -36,9 +36,9 @@ class GroupItem(val filter: Filter.Group<*>) : AbstractExpandableHeaderItem<Grou
|
|||||||
|
|
||||||
holder.icon.setAnimVectorCompat(
|
holder.icon.setAnimVectorCompat(
|
||||||
if (isExpanded) {
|
if (isExpanded) {
|
||||||
R.drawable.expand_more_to_less
|
R.drawable.anim_expand_more_to_less
|
||||||
} else {
|
} else {
|
||||||
R.drawable.expand_less_to_more
|
R.drawable.anim_expand_less_to_more
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -33,9 +33,9 @@ class SortGroup(val filter: Filter.Sort) : AbstractExpandableHeaderItem<SortGrou
|
|||||||
|
|
||||||
holder.icon.setAnimVectorCompat(
|
holder.icon.setAnimVectorCompat(
|
||||||
if (isExpanded) {
|
if (isExpanded) {
|
||||||
R.drawable.expand_more_to_less
|
R.drawable.anim_expand_more_to_less
|
||||||
} else {
|
} else {
|
||||||
R.drawable.expand_less_to_more
|
R.drawable.anim_expand_less_to_more
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@
|
|||||||
app:layout_constraintEnd_toStartOf="@id/double_page"
|
app:layout_constraintEnd_toStartOf="@id/double_page"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:visibility="visible"
|
tools:visibility="visible"
|
||||||
app:srcCompat="@drawable/crop_to_free" />
|
app:srcCompat="@drawable/anim_crop_to_free" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/double_page"
|
android:id="@+id/double_page"
|
||||||
|
Loading…
Reference in New Issue
Block a user