Prefixing all the anim drawables with anim_

This commit is contained in:
Jays2Kings 2021-04-16 00:06:53 -04:00
parent 7f47c5fd4d
commit fdcd855bb2
8 changed files with 7 additions and 7 deletions

View File

@ -413,9 +413,9 @@ class ReaderActivity :
with(binding.chaptersSheet.cropBordersSheetButton) {
val drawableRes = if (enabled) {
R.drawable.free_to_crop
R.drawable.anim_free_to_crop
} else {
R.drawable.crop_to_free
R.drawable.anim_crop_to_free
}
if (lastCropRes != drawableRes) {
setImageResource(drawableRes)

View File

@ -36,9 +36,9 @@ class GroupItem(val filter: Filter.Group<*>) : AbstractExpandableHeaderItem<Grou
holder.icon.setAnimVectorCompat(
if (isExpanded) {
R.drawable.expand_more_to_less
R.drawable.anim_expand_more_to_less
} else {
R.drawable.expand_less_to_more
R.drawable.anim_expand_less_to_more
}
)

View File

@ -33,9 +33,9 @@ class SortGroup(val filter: Filter.Sort) : AbstractExpandableHeaderItem<SortGrou
holder.icon.setAnimVectorCompat(
if (isExpanded) {
R.drawable.expand_more_to_less
R.drawable.anim_expand_more_to_less
} else {
R.drawable.expand_less_to_more
R.drawable.anim_expand_less_to_more
}
)

View File

@ -94,7 +94,7 @@
app:layout_constraintEnd_toStartOf="@id/double_page"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible"
app:srcCompat="@drawable/crop_to_free" />
app:srcCompat="@drawable/anim_crop_to_free" />
<ImageButton
android:id="@+id/double_page"