renaming and compressing some vector images, no real change

This commit is contained in:
tibbi
2022-10-06 18:40:58 +02:00
parent 879251e8cb
commit adc5e8e36b
35 changed files with 74 additions and 273 deletions

View File

@ -283,7 +283,7 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera
if (isVideoCaptureIntent()) {
mIsInPhotoMode = false
hideIntentButtons()
shutter.setImageResource(R.drawable.ic_video_rec)
shutter.setImageResource(R.drawable.ic_video_rec_vector)
}
}

View File

@ -65,10 +65,10 @@ data class MySize(val width: Int, val height: Int, val isFullScreen: Boolean = f
@DrawableRes
fun getImageResId(): Int = when {
isFullScreen -> R.drawable.ic_photo_full
isSixteenToNine() -> R.drawable.ic_photo_16x9
isFourToThree() -> R.drawable.ic_photo_4x3
isSquare() -> R.drawable.ic_photo_1x1
isFullScreen -> R.drawable.ic_photo_full_vector
isSixteenToNine() -> R.drawable.ic_photo_16x9_vector
isFourToThree() -> R.drawable.ic_photo_4x3_vector
isSquare() -> R.drawable.ic_photo_1x1_vector
else -> throw UnsupportedOperationException("This size $this is not supported")
}

View File

@ -56,10 +56,10 @@ enum class VideoQuality(val width: Int, val height: Int) {
@DrawableRes
fun getImageResId(): Int = when (this) {
UHD -> R.drawable.ic_video_uhd
FHD -> R.drawable.ic_video_fhd
HD -> R.drawable.ic_video_hd
SD -> R.drawable.ic_video_sd
UHD -> R.drawable.ic_video_uhd_vector
FHD -> R.drawable.ic_video_fhd_vector
HD -> R.drawable.ic_video_hd_vector
SD -> R.drawable.ic_video_sd_vector
}
@IdRes