Commit graph

608 commits

Author SHA1 Message Date
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
en2sv
9cdd4a79b3
Translated using Weblate (Swedish)
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/sv/
2023-07-24 08:02:56 +02:00
Rex_sa
2ddb063ac6
Translated using Weblate (Arabic)
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/ar/
2023-07-21 10:09:02 +02:00
Guillaume
8a39918420
Translated using Weblate (Dutch)
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/nl/
2023-07-21 10:09:02 +02:00
Priit Jõerüüt
265d66e93a
Translated using Weblate (Estonian)
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/et/
2023-07-21 10:09:02 +02:00
VfBFan
10bdb0682d
Translated using Weblate (German)
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/de/
2023-07-21 10:09:02 +02:00
Oğuz Ersen
e769c2cc48
Translated using Weblate (Turkish)
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/tr/
2023-07-21 10:09:01 +02:00
Agnieszka C
651de2bc4e
Translated using Weblate (Polish)
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/pl/
2023-07-21 10:09:01 +02:00
Eric
d1ce1b950c
Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2023-07-21 10:09:01 +02:00
Ensar Sarajčić
e0d1151e8c Remove strings for w600dp 2023-07-21 08:12:14 +02:00
Ensar Sarajčić
66c480b46d Merge branch 'main' into feature/close-drawer-and-widgets-when-moving-to-other-apps 2023-07-21 08:11:44 +02:00
Tibor Kaputa
a3c7aa0d5d
Merge pull request #89 from esensar/fix/drawer-on-page-change
Prevent cases of both drawer and page change occurring on diagonal fling
2023-07-20 21:29:57 +02:00
Tibor Kaputa
c643f06b6d
Merge pull request #88 from esensar/fix/icons-blink-on-page-change
Fix icons blinking on page change
2023-07-20 21:29:49 +02:00
Ensar Sarajčić
f8cd74912c Prevent cases of both drawer and page change occurring on diagonal fling 2023-07-20 18:00:52 +02:00
Ensar Sarajčić
d1b888ee7e Fix icons blinking on page change 2023-07-20 17:57:55 +02:00
Ensar Sarajčić
68a8b5dd25 Show indicators as soon as item is moved 2023-07-20 17:41:13 +02:00
Ensar Sarajčić
02684f393f Fade page change indicators when not needed 2023-07-20 17:01:38 +02:00
Tibor Kaputa
0a76968091
minor code style update 2023-07-20 15:36:53 +02:00
Ensar Sarajčić
2038e9dcf1 Remove unused strokeWidth field from HomeScreenGrid 2023-07-20 13:52:37 +02:00
Ensar Sarajčić
4392527909 Improve behavior for dragging icons offpage 2023-07-20 13:48:36 +02:00
Ensar Sarajčić
1b0dc44ca8 Reduce delay for page changes 2023-07-20 13:35:22 +02:00
Ensar Sarajčić
8794f7ca23 Decrease move gesture sensitivity 2023-07-20 12:40:28 +02:00
Ensar Sarajčić
35fe1da420 Navigate to previous page if current one is empty 2023-07-20 12:09:28 +02:00
Ensar Sarajčić
9906ef05af Draw page indicators on the bottom 2023-07-20 12:09:15 +02:00
Ensar Sarajčić
efb46dc0d6 Fix max page calculation in HomeScreenGrid to consider only visible items 2023-07-20 11:29:10 +02:00