Commit Graph

632 Commits

Author SHA1 Message Date
Ensar Sarajčić 73224b436f Update icon colors in popups to match text color 2023-08-31 11:50:20 +02:00
Ensar Sarajčić 1dc3ee0af4 Fix pageChangeStarted callback 2023-08-31 10:36:19 +02:00
Ensar Sarajčić 7048a4c56f Merge branch 'main' into simple-bounce-on-page-change 2023-08-31 10:35:40 +02:00
Ensar Sarajčić b7eecc5663 Add enough gaps between folder items to show item names 2023-08-25 15:40:36 +02:00
Ensar Sarajčić e88eb05e00 Remove needless extra space for folders 2023-08-25 11:14:13 +02:00
Ensar Sarajčić 1fcda210b6 Add vibration on folder items too 2023-08-25 09:46:51 +02:00
Ensar Sarajčić 3f146c7618 Prevent widget long press while changing pages 2023-08-25 09:45:22 +02:00
Ensar Sarajčić 75aeade4af Add a simple bounce on page changes 2023-08-24 16:20:51 +02:00
Ensar Sarajčić e5adb450c2 Fix animation scaling when opening and closing folders 2023-08-24 13:29:23 +02:00
Ensar Sarajčić 6d3b138459 Fix shadow drawing in folders 2023-08-24 13:21:28 +02:00
Ensar Sarajčić 3dd78cc911 Fix folder opening and closing issues 2023-08-24 13:18:46 +02:00
Ensar Sarajčić 1863a9e6a9 Simplify drawing and cells logic 2023-08-24 12:49:13 +02:00
Ensar Sarajčić ece3890133 Merge branch 'main' into feature/folders
Added proper handling of folder closing when swiping pages
2023-08-24 11:04:41 +02:00
J. Lavoie 4ff3dd7e19
Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/it/
2023-08-23 20:42:38 +02:00
J. Lavoie 2dd44a9886
Translated using Weblate (French)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/fr/
2023-08-23 20:42:38 +02:00
Tibor Kaputa a1b459f396
Merge pull request #113 from esensar/improvement/page-swiping
Improve page change behavior
2023-08-23 20:42:31 +02:00
Ensar Sarajčić 3cc00157cc Add folder opening and closing animation 2023-08-23 16:58:30 +02:00
Ensar Sarajčić a34bab78af Prevent flinging while movement on other axis is active 2023-08-23 13:08:25 +02:00
Ensar Sarajčić 6c8800f266 Fix condition for adding swipe movement 2023-08-23 13:08:13 +02:00
Ensar Sarajčić 59975c77f4 Make pager a completely separate class for easier reuse 2023-08-23 12:56:36 +02:00
Ensar Sarajčić 53efffde51 Move page logic into an inner class for better readability 2023-08-23 12:41:07 +02:00
Ensar Sarajčić 8f96073e45 Fix widget drawing during swipes 2023-08-23 12:05:56 +02:00
Ensar Sarajčić d4f55b8e8b Fix returning after partial swipe 2023-08-23 11:32:15 +02:00
Ensar Sarajčić 95cf8c0384 Handle home screen pages dragging 2023-08-23 11:17:45 +02:00
Ensar Sarajčić 7a5c698322 Fix vertical centering of icons in folder icon 2023-08-22 14:45:19 +02:00
Ensar Sarajčić a7ffb6328a Prevent drawing empty folders 2023-08-22 14:43:03 +02:00
Ensar Sarajčić 81dff807b4 Prevent opening folder while dragging it over its old spot 2023-08-22 14:31:57 +02:00
Ensar Sarajčić 516f61fe90 Generate folder icon from icons inside of it 2023-08-22 13:59:21 +02:00
Ensar Sarajčić a5499a58ad Reorder MainActivity 2023-08-22 12:11:41 +02:00
en2sv 06efcfd3fd
Translated using Weblate (Swedish)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/sv/
2023-08-21 21:45:47 +02:00
Ensar Sarajčić cca2ceaab9 Add max capacity for folders 2023-08-21 08:44:46 +02:00
Ensar Sarajčić c83e7a5226 Handle dragging items into folders 2023-08-18 17:17:59 +02:00
Ensar Sarajčić 62686f48c3 Handle moving items inside a folder 2023-08-18 17:09:15 +02:00
Ensar Sarajčić 10603be76b Properly clean up folder items after removing item from folder 2023-08-18 15:57:32 +02:00
Ensar Sarajčić dfe9b04f71 Add titles to folder views 2023-08-18 15:40:47 +02:00
Ensar Sarajčić dc6f263e79 Ensure that folders never go out of bounds 2023-08-18 15:09:56 +02:00
Ensar Sarajčić 55ebb2eb15 Close folder when dragging items outside of it 2023-08-18 14:58:27 +02:00
Ensar Sarajčić 62a3faf8ea Move from folder dialog to custom folder drawing 2023-08-18 14:40:10 +02:00
Ensar Sarajčić c049b41c1a Use property delegates for viewbinding in activities 2023-08-17 17:13:40 +02:00
Ensar Sarajčić b9e55d4934 Merge branch 'main' into feature/folders 2023-08-17 16:43:37 +02:00
Tibor Kaputa 810775dfff
updating a slovak string 2023-08-14 13:53:37 +02:00
Milan Šalka e22220fb68
Translated using Weblate (Slovak)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/sk/
2023-08-14 13:52:07 +02:00
spkprs 9374661151
Update strings.xml 2023-08-13 17:02:16 +03:00
tibbi ad7ba47ce6 color proper button in the app settings 2023-08-04 09:50:14 +02:00
Ensar Sarajčić 8f21b8b689 Remove alias for commons R class 2023-08-04 08:39:02 +02:00
Ensar Sarajčić 36558b8949 Reformat code 2023-08-03 16:58:18 +02:00
Ensar Sarajčić 079efbedb3 Remove unused imports 2023-08-03 16:02:15 +02:00
Ensar Sarajčić 2bdd29454b Remove vectorDrawables.useSupportLibrary line 2023-08-03 15:33:23 +02:00
Ensar Sarajčić c15b3e4c6f Migrate to viewbinding and kotlin gradle scripts 2023-08-03 13:23:31 +02:00
Priit Jõerüüt cd994f2c04
Translated using Weblate (Estonian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/et/
2023-08-02 11:39:48 +02:00
Kingproone 43dfcebb5a
Translated using Weblate (Hungarian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/hu/
2023-08-02 11:39:48 +02:00
Tibor Kaputa 6e89e55c70
Merge pull request #96 from esensar/feature/57-always-go-home
Add a setting for always closing drawers when using home button
2023-08-02 11:39:42 +02:00
Ensar Sarajčić 5e58c04338 Add support for viewing folders as dialogs 2023-08-01 16:10:13 +02:00
Ensar Sarajčić a9f879628c Add basic support for folders on home screen 2023-08-01 12:13:55 +02:00
Ensar Sarajčić 4e1121e6af Remove unused imports 2023-08-01 10:33:10 +02:00
Ensar Sarajčić 564d92f7a7 Add animation on home button if no other app was on top 2023-08-01 10:30:20 +02:00
Ensar Sarajčić 3fc14045b6 Remove settings for closing app drawer on home 2023-07-31 12:43:06 +02:00
Ensar Sarajčić 6096a4da3e Always hide drawer and widgets on home button press 2023-07-31 12:41:10 +02:00
Tibor Kaputa 65f4cf4b0a
Merge pull request #98 from esensar/fix/icon-menu
Fix position of popup menu anchor to be more consistent
2023-07-31 11:13:08 +02:00
Ensar Sarajčić 310f81f850 Use a getter for iconSize instead of property access 2023-07-31 10:35:32 +02:00
Ensar Sarajčić bc7bf7bb78 Update close_app_drawer_on_home string 2023-07-31 10:08:02 +02:00
Ensar Sarajčić 72d85f6257 Merge branch 'main' into feature/57-always-go-home 2023-07-31 10:07:30 +02:00
solokot 63768045c8
Translated using Weblate (Russian)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/ru/
2023-07-30 23:16:59 +02:00
VfBFan af6e1790b2
Translated using Weblate (German)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/de/
2023-07-30 23:16:59 +02:00
Agnieszka C 7d493085f0
Translated using Weblate (Polish)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/pl/
2023-07-30 23:16:59 +02:00
Tibor Kaputa 308d9841eb
Merge pull request #99 from esensar/sdk-34-migration
Upgrade targetSdkVersion to 34
2023-07-30 23:16:55 +02:00
Ensar Sarajčić 6a57c9c823 Remove no limits flag to prevent menu from going outside of the screen 2023-07-28 16:08:52 +02:00
Ensar Sarajčić 3426fd98e3 Upgrade targetSdkVersion to 34
This API version update doesn't seem to affect this launcher that much.
Only differences were signatures of these 2 methods (onFling and onDraw),
but no other changes really affect this app from these lists:
- https://developer.android.com/about/versions/14/behavior-changes-all
- https://developer.android.com/about/versions/14/behavior-changes-14

Font scaling can go up to 200% now and it doesn't break functionality either.
2023-07-28 16:00:54 +02:00
Ensar Sarajčić 83a35664a4 Make popup menu height consistent with real number of items 2023-07-28 13:49:10 +02:00
Ensar Sarajčić 7f787cef08 Fix anchor positioning on all apps fragment and home screen 2023-07-28 13:40:21 +02:00
Ensar Sarajčić e82beb464d Fix initial value of closeAppDrawerOnHome on SettingsActivity 2023-07-28 12:35:49 +02:00
Ensar Sarajčić 0a1af2f75e Merge branch 'main' into fix/73-notch-handling 2023-07-28 11:59:38 +02:00
Ensar Sarajčić babd6bee9d Prevent search bar settings from changing status bar color 2023-07-28 11:58:44 +02:00
Ensar Sarajčić 38f1983bf7 Merge branch 'main' into feature/57-always-go-home 2023-07-28 09:54:17 +02:00
Rex_sa 4b85da1124
Translated using Weblate (Arabic)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/ar/
2023-07-28 08:29:54 +02:00
Guillaume fceb63e4c8
Translated using Weblate (Dutch)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/nl/
2023-07-28 08:29:54 +02:00
Josep M. Ferrer 4ced1cfb09
Translated using Weblate (Catalan)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/ca/
2023-07-28 08:29:54 +02:00
Oğuz Ersen 6754e58c6a
Translated using Weblate (Turkish)
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/tr/
2023-07-28 08:29:54 +02:00
Eric 4f60029e33
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (15 of 15 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/zh_Hans/
2023-07-28 08:29:53 +02:00
Ensar Sarajčić 4fa8131f21 Add a setting for always closing drawers when using home button
This closes #57
2023-07-27 17:41:32 +02:00
Ensar Sarajčić 27b12764a5 Use WindowCompat for setting setDecorFitsSystemWindows 2023-07-27 17:14:18 +02:00
Tibor Kaputa 37e0bd6084
Merge pull request #85 from esensar/feature/close-drawer-and-widgets-when-moving-to-other-apps
Close apps drawer and widgets screen when navigating to other apps
2023-07-27 16:56:34 +02:00
Tibor Kaputa c8db594896
changing a default value 2023-07-27 16:56:11 +02:00
Ensar Sarajčić ad6f129876 Add flags for handling statusbar transparency 2023-07-27 16:42:21 +02:00
tibbi f751d90bea renaming a function 2023-07-27 15:55:50 +02:00
Ensar Sarajčić 1e4e2571dd Hide uninstall button for system apps 2023-07-27 13:59:56 +02:00
Ensar Sarajčić 56255c0b48 Allow drawing under notches and system bars
This closes #73
2023-07-27 13:37:51 +02:00
Ensar Sarajčić 792ded4323 Add delay to app drawer closing 2023-07-27 11:58:00 +02:00
Ensar Sarajčić 5b318a4f59 Check for `closeAppDrawer` config before closing it 2023-07-26 18:23:56 +02:00
Ensar Sarajčić fd46c078fb Instantly hide app drawer without animation when using closeAppDrawer method 2023-07-26 18:23:42 +02:00
Ensar Sarajčić 0b497a34f6 Add migration for changes made to shortcuts
Since #67 was fixed in #92, `intent` field in `HomeScreenGridItem`
became obsolete. This removes that field and properly migrates it,
by adding this to existing version 4 to 5 migration (meaning this
will only properly migrate between real releases). The migration will
also remove all icons that had `intent` field populated, since they
can't be migrated properly and would not work at all.
2023-07-26 18:17:32 +02:00
Ensar Sarajčić befd1d5d09 Store all shortcuts with IDs without Intent
This handles all shortcuts the same, using the recommended mechanism
of using `LauncherApps` to get `PinItemRequest` from result intent.
This makes `intent` field obsolete.

This closes #67
2023-07-26 17:40:42 +02:00
Ensar Sarajčić 2534131851 Move drawer closing setting to App Drawer section 2023-07-26 16:54:57 +02:00
Ensar Sarajčić 240193d0f5 Fix search bar setting size 2023-07-26 16:54:48 +02:00
Ensar Sarajčić 5c7ad336ad Close app drawer when opening another app 2023-07-26 16:54:33 +02:00
Ensar Sarajčić 2fefcf0cba Update string for app drawer closing setting 2023-07-26 16:47:30 +02:00
Ensar Sarajčić 57df13f74e Merge branch 'main' into feature/close-drawer-and-widgets-when-moving-to-other-apps 2023-07-26 16:44:05 +02:00
Sergio Marques 489c4f827e
Translated using Weblate (Portuguese)
Currently translated at 100.0% (14 of 14 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/pt/
2023-07-25 18:06:04 +02:00
solokot 4f0f8d08fd
Translated using Weblate (Russian)
Currently translated at 100.0% (14 of 14 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/ru/
2023-07-24 08:02:56 +02:00
Josep M. Ferrer 1e2ba6d637
Translated using Weblate (Catalan)
Currently translated at 100.0% (14 of 14 strings)

Translation: Simple Mobile Tools/Simple Launcher
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-launcher/ca/
2023-07-24 08:02:56 +02:00