Commit Graph

1135 Commits

Author SHA1 Message Date
darthpaul c406636492 update CameraX 2022-09-29 00:49:37 +01:00
darthpaul d9afde41ed handle new storage permissions for API 33
- handle requesting READ_MEDIA_IMAGES and READ_MEDIA_VIDEO for Android 13+
- request WRITE_EXTERNAL_STORAGE for Android 12 and below
- set the permission WRITE_EXTERNAL_STORAGE to maxSdkVersion=32 in the AndroidManifest
2022-09-29 00:49:16 +01:00
darthpaul 1ea0664b7c Merge branch 'master' into feat/camera-x 2022-09-22 00:53:02 +01:00
darthpaul 67566eeea6 remove change bounds animation 2022-09-22 00:51:58 +01:00
darthpaul 58bf7fded0 fix back button 2022-09-22 00:48:50 +01:00
tibbi c9a770f161 minor update to 2 libraries 2022-09-21 12:51:30 +02:00
tibbi 4c4ec8baff adding monochrome icon support on Android 13+ 2022-09-21 12:47:36 +02:00
tibbi 6f833c2f17 allow picking any language on Android 13+ 2022-09-21 12:43:17 +02:00
tibbi 75a8a0de76 updating kotlin, common, gradle and target SDK to 33 2022-09-21 12:36:35 +02:00
tibbi 729c47a513 always scroll the settings menu 2022-09-21 12:32:54 +02:00
words wave 9f9a0ff57a
Translated using Weblate (Estonian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/et/
2022-09-21 12:29:18 +02:00
gallegonovato e6540710b3
Translated using Weblate (Galician)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/gl/
2022-09-21 12:29:18 +02:00
words wave c21e29cd90
Translated using Weblate (Finnish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fi/
2022-09-21 12:29:18 +02:00
Kovacs Bea 14b3eaa30c
Translated using Weblate (Hungarian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hu/
2022-09-21 12:29:18 +02:00
Moo 4c23db1b56
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/lt/
2022-09-21 12:29:18 +02:00
Stefan Ivanov e14470f0e8
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/bg/
2022-09-21 12:29:18 +02:00
Moo 5b57087556
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/lt/
2022-09-21 12:29:18 +02:00
J. Lavoie 2b1ce83937
Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/fr/
2022-09-21 12:29:18 +02:00
J. Lavoie 0ab4f575b2
Translated using Weblate (German)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/de/
2022-09-21 12:29:18 +02:00
en2sv 51f9a426b8
Translated using Weblate (Swedish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sv/
2022-09-21 12:29:18 +02:00
Tibor Kaputa 9350a9c379
Merge pull request #345 from spkprs/patch-3
Update.xml
2022-09-21 12:29:14 +02:00
Tibor Kaputa 48bbb827bf
Merge pull request #342 from KryptKode/feat/camera-x
CameraX: Fix capture/preview resolution
2022-09-21 12:28:46 +02:00
darthpaul 1450f87e0f adjust animations 2022-09-20 18:37:48 +01:00
darthpaul 0686bdae05 reduce shutter animation duration to 200 2022-09-20 18:29:01 +01:00
darthpaul 94cbf213cc use scaling property to animate shutter 2022-09-20 18:25:31 +01:00
darthpaul 0cc5210bd2 animate video shutter icon 2022-09-20 17:50:12 +01:00
darthpaul d9fbc17bff animate shutter icon 2022-09-20 16:51:23 +01:00
darthpaul f02d0b3ae7 prevent reload when re-selecting resolution 2022-09-20 02:19:53 +01:00
darthpaul ea389c5ac9 disable switching modes when recording video 2022-09-20 01:02:52 +01:00
darthpaul f41e8cc4e0 add transitions, 2022-09-20 00:58:39 +01:00
spkprs 899182514e
Update strings.xml 2022-09-05 22:33:25 +03:00
darthpaul 77994d408e UI fixes
- hiding general settings option when child items are hidden
- change icon for 1x1 and full screen
- remove background tint from icons
2022-08-28 02:19:18 +01:00
darthpaul 34c0f0bd6a UI fixes
- hiding button on 3rd party intent
- disabling option to change resolution when capturing media
2022-08-25 19:09:13 +01:00
darthpaul 0fdb751909 cleanup selection of media size
- add MediaSizeStore to manage write/read operations for the media size
2022-08-25 08:42:13 +01:00
darthpaul fd5f64ecf3 add toggling flash mode / media size 2022-08-25 08:30:56 +01:00
darthpaul 64ff75511c fix flash mode selection 2022-08-25 07:58:22 +01:00
darthpaul 5f7b2e0ecb adjust icon colors 2022-08-25 07:23:54 +01:00
darthpaul c220b478c0 UI fixes
- handle top/button margin if there's a cutout with windowInsets.displayCutout
- handle nav bar color
- remove 16:9 size if the full screen size is already 16:9
- change layout to use Button instead of explicit MaterialButton
2022-08-25 06:56:15 +01:00
Milo Ivir 43b05e6607
Translated using Weblate (Croatian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hr/
2022-08-23 17:17:07 +02:00
darthpaul e6a588a218 simpler UI for flash mode / media size 2022-08-22 14:27:07 +01:00
darthpaul e8744c93f6 remove keepSettingsVisible 2022-08-19 16:27:16 +01:00
darthpaul 2ebeb5a1e4 use tabs for camera modes 2022-08-19 15:24:47 +01:00
darthpaul 4b7166e90f properly hide flash 2022-08-19 00:18:00 +01:00
darthpaul 22df3d8c58 implement shutter animation
- remove animation to blink icons
- implement the shutter animation by setting alpha=1 and animating to alpha=0
2022-08-19 00:00:21 +01:00
darthpaul affcc078dd make preview fill up to the cutoff (notch)
- add theme attribute android:windowLayoutInDisplayCutoutMode to shortEdges in the theme
- add flags FLAG_LAYOUT_NO_LIMITS to the window flags
- add top margin to the icons on top, set to the statusBarHeight
- add bottom margin to the icons at the bottom, set to the navigationBarHeight + view margin
2022-08-18 14:53:25 +01:00
Worldfast 4c81a118df
Translated using Weblate (Hungarian)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/hu/
2022-08-17 04:20:16 +02:00
Worldfast 555503b650
Translated using Weblate (Swedish)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/sv/
2022-08-17 04:20:15 +02:00
Worldfast 03f1f96a60
Translated using Weblate (Korean)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ko/
2022-08-17 04:20:15 +02:00
Worldfast 9a6ecd5ac8
Translated using Weblate (Japanese)
Currently translated at 100.0% (41 of 41 strings)

Translation: Simple Mobile Tools/Simple Camera
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-camera/ja/
2022-08-17 04:20:15 +02:00
darthpaul d9193f7494 fix preview and capture resolutions
- adjust the preview so the image captured is what the user sees
- add method MySize.isSupported; current support is for full, 16:9, 4:3 and 1:1 of the highest resolution
- cleanup ImageQualityManager, add method to get the full screen resolution which is just the resolution with the largest width
- change the UI to move settings to the top and remove the auto fading
2022-08-17 01:12:18 +01:00