diff --git a/app/build.gradle b/app/build.gradle index 2932b7dd6..0a7c3db83 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -78,7 +78,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:29a10478d1' + implementation 'com.github.SimpleMobileTools:Simple-Commons:a7344ae945' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt index a616a1285..46e609400 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SetWallpaperActivity.kt @@ -92,7 +92,7 @@ class SetWallpaperActivity : SimpleActivity(), CropImageView.OnCropImageComplete private fun setupAspectRatio() { val wallpaperWidth = if (isLandscapeRatio) wallpaperManager.desiredMinimumWidth else wallpaperManager.desiredMinimumWidth / 2 crop_image_view.setAspectRatio(wallpaperWidth, wallpaperManager.desiredMinimumHeight) - bottom_set_wallpaper_aspect_ratio.setImageResource(if (isLandscapeRatio) R.drawable.ic_minimize else R.drawable.ic_maximize) + bottom_set_wallpaper_aspect_ratio.setImageResource(if (isLandscapeRatio) R.drawable.ic_minimize_vector else R.drawable.ic_maximize_vector) } private fun changeAspectRatio(isLandscape: Boolean) { diff --git a/app/src/main/res/drawable-hdpi/ic_cardboard.png b/app/src/main/res/drawable-hdpi/ic_cardboard.png deleted file mode 100644 index 0df820802..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_cardboard.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_maximize.png b/app/src/main/res/drawable-hdpi/ic_maximize.png deleted file mode 100644 index 7f5c94003..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_maximize.png and /dev/null differ diff --git a/app/src/main/res/drawable-hdpi/ic_minimize.png b/app/src/main/res/drawable-hdpi/ic_minimize.png deleted file mode 100644 index fe86cd0d4..000000000 Binary files a/app/src/main/res/drawable-hdpi/ic_minimize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_cardboard.png b/app/src/main/res/drawable-xhdpi/ic_cardboard.png deleted file mode 100644 index 1c978a019..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_cardboard.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_maximize.png b/app/src/main/res/drawable-xhdpi/ic_maximize.png deleted file mode 100644 index 95b324a90..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_maximize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xhdpi/ic_minimize.png b/app/src/main/res/drawable-xhdpi/ic_minimize.png deleted file mode 100644 index 8a389fdbc..000000000 Binary files a/app/src/main/res/drawable-xhdpi/ic_minimize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_cardboard.png b/app/src/main/res/drawable-xxhdpi/ic_cardboard.png deleted file mode 100644 index 71c05230d..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_cardboard.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_maximize.png b/app/src/main/res/drawable-xxhdpi/ic_maximize.png deleted file mode 100644 index cd9bcb195..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_maximize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_minimize.png b/app/src/main/res/drawable-xxhdpi/ic_minimize.png deleted file mode 100644 index 6a9adb38e..000000000 Binary files a/app/src/main/res/drawable-xxhdpi/ic_minimize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_cardboard.png b/app/src/main/res/drawable-xxxhdpi/ic_cardboard.png deleted file mode 100644 index d33c6ef77..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_cardboard.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_maximize.png b/app/src/main/res/drawable-xxxhdpi/ic_maximize.png deleted file mode 100644 index 6d89e4665..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_maximize.png and /dev/null differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_minimize.png b/app/src/main/res/drawable-xxxhdpi/ic_minimize.png deleted file mode 100644 index 5746cb51d..000000000 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_minimize.png and /dev/null differ diff --git a/app/src/main/res/drawable/ic_aspect_ratio_vector.xml b/app/src/main/res/drawable/ic_aspect_ratio_vector.xml index d0ebe2814..3fcbb3683 100644 --- a/app/src/main/res/drawable/ic_aspect_ratio_vector.xml +++ b/app/src/main/res/drawable/ic_aspect_ratio_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_cardboard_vector.xml b/app/src/main/res/drawable/ic_cardboard_vector.xml new file mode 100644 index 000000000..e250fe73d --- /dev/null +++ b/app/src/main/res/drawable/ic_cardboard_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/drawable/ic_crop_rotate_vector.xml b/app/src/main/res/drawable/ic_crop_rotate_vector.xml index 681d300cd..d24e5faf5 100644 --- a/app/src/main/res/drawable/ic_crop_rotate_vector.xml +++ b/app/src/main/res/drawable/ic_crop_rotate_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_draw_vector.xml b/app/src/main/res/drawable/ic_draw_vector.xml index 1e296d845..dfa88b66e 100644 --- a/app/src/main/res/drawable/ic_draw_vector.xml +++ b/app/src/main/res/drawable/ic_draw_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_explore_off_vector.xml b/app/src/main/res/drawable/ic_explore_off_vector.xml index a67123134..8005ddbfd 100644 --- a/app/src/main/res/drawable/ic_explore_off_vector.xml +++ b/app/src/main/res/drawable/ic_explore_off_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_explore_vector.xml b/app/src/main/res/drawable/ic_explore_vector.xml index 07d304b87..5545365c3 100644 --- a/app/src/main/res/drawable/ic_explore_vector.xml +++ b/app/src/main/res/drawable/ic_explore_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_flip_horizontally_vector.xml b/app/src/main/res/drawable/ic_flip_horizontally_vector.xml index 7b82d9d7c..42733799a 100644 --- a/app/src/main/res/drawable/ic_flip_horizontally_vector.xml +++ b/app/src/main/res/drawable/ic_flip_horizontally_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_flip_vertically_vector.xml b/app/src/main/res/drawable/ic_flip_vertically_vector.xml index 4d9437cf6..92eb70ba3 100644 --- a/app/src/main/res/drawable/ic_flip_vertically_vector.xml +++ b/app/src/main/res/drawable/ic_flip_vertically_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_maximize_vector.xml b/app/src/main/res/drawable/ic_maximize_vector.xml new file mode 100644 index 000000000..7598ad394 --- /dev/null +++ b/app/src/main/res/drawable/ic_maximize_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/drawable/ic_minimize_vector.xml b/app/src/main/res/drawable/ic_minimize_vector.xml new file mode 100644 index 000000000..77e8c0f3c --- /dev/null +++ b/app/src/main/res/drawable/ic_minimize_vector.xml @@ -0,0 +1,3 @@ + + + diff --git a/app/src/main/res/drawable/ic_photo_filter_vector.xml b/app/src/main/res/drawable/ic_photo_filter_vector.xml index 127f154be..7b2290b49 100644 --- a/app/src/main/res/drawable/ic_photo_filter_vector.xml +++ b/app/src/main/res/drawable/ic_photo_filter_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_portrait_photo_vector.xml b/app/src/main/res/drawable/ic_portrait_photo_vector.xml index e94d39587..54c8f9624 100644 --- a/app/src/main/res/drawable/ic_portrait_photo_vector.xml +++ b/app/src/main/res/drawable/ic_portrait_photo_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_rotate_right_vector.xml b/app/src/main/res/drawable/ic_rotate_right_vector.xml index ba4935170..fed0c5047 100644 --- a/app/src/main/res/drawable/ic_rotate_right_vector.xml +++ b/app/src/main/res/drawable/ic_rotate_right_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_set_as_vector.xml b/app/src/main/res/drawable/ic_set_as_vector.xml index 51a983f3b..5f00129cc 100644 --- a/app/src/main/res/drawable/ic_set_as_vector.xml +++ b/app/src/main/res/drawable/ic_set_as_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/drawable/ic_slideshow_vector.xml b/app/src/main/res/drawable/ic_slideshow_vector.xml index a9bc8667b..f8e373b4e 100644 --- a/app/src/main/res/drawable/ic_slideshow_vector.xml +++ b/app/src/main/res/drawable/ic_slideshow_vector.xml @@ -1,9 +1,3 @@ - - + + diff --git a/app/src/main/res/layout/activity_panorama_photo.xml b/app/src/main/res/layout/activity_panorama_photo.xml index f4a92234d..4884433e5 100644 --- a/app/src/main/res/layout/activity_panorama_photo.xml +++ b/app/src/main/res/layout/activity_panorama_photo.xml @@ -27,7 +27,7 @@ android:layout_alignParentEnd="true" android:layout_alignParentBottom="true" android:padding="@dimen/activity_margin" - android:src="@drawable/ic_cardboard"/> + android:src="@drawable/ic_cardboard_vector"/> + android:src="@drawable/ic_cardboard_vector"/> diff --git a/app/src/main/res/layout/bottom_actions.xml b/app/src/main/res/layout/bottom_actions.xml index bcab016a1..87ad8a698 100644 --- a/app/src/main/res/layout/bottom_actions.xml +++ b/app/src/main/res/layout/bottom_actions.xml @@ -210,7 +210,7 @@ android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/move" android:padding="@dimen/medium_margin" - android:src="@drawable/ic_move" + android:src="@drawable/ic_move_vector" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/bottom_resize" app:layout_constraintHorizontal_bias="0.5" @@ -225,7 +225,7 @@ android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/resize" android:padding="@dimen/medium_margin" - android:src="@drawable/ic_minimize" + android:src="@drawable/ic_minimize_vector" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" diff --git a/app/src/main/res/layout/bottom_editor_crop_rotate_actions.xml b/app/src/main/res/layout/bottom_editor_crop_rotate_actions.xml index 93dcbb4e6..057abe682 100644 --- a/app/src/main/res/layout/bottom_editor_crop_rotate_actions.xml +++ b/app/src/main/res/layout/bottom_editor_crop_rotate_actions.xml @@ -28,7 +28,7 @@ android:background="?attr/selectableItemBackgroundBorderless" android:contentDescription="@string/resize" android:padding="@dimen/normal_margin" - android:src="@drawable/ic_minimize" + android:src="@drawable/ic_minimize_vector" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/bottom_aspect_ratio" app:layout_constraintHorizontal_bias="0.5" diff --git a/app/src/main/res/layout/bottom_set_wallpaper_actions.xml b/app/src/main/res/layout/bottom_set_wallpaper_actions.xml index 3be00ceaa..6cecacfc0 100644 --- a/app/src/main/res/layout/bottom_set_wallpaper_actions.xml +++ b/app/src/main/res/layout/bottom_set_wallpaper_actions.xml @@ -14,7 +14,7 @@ android:layout_height="wrap_content" android:background="?attr/selectableItemBackgroundBorderless" android:padding="@dimen/normal_margin" - android:src="@drawable/ic_minimize" + android:src="@drawable/ic_minimize_vector" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/bottom_set_wallpaper_rotate" app:layout_constraintHorizontal_bias="0.5"