170 Commits

Author SHA1 Message Date
Ensar Sarajčić
91c8664ca1 Close keyboard when home button is pressed 2023-09-11 17:08:43 +02:00
Ensar Sarajčić
1fcda210b6 Add vibration on folder items too 2023-08-25 09:46:51 +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
Ensar Sarajčić
a34bab78af Prevent flinging while movement on other axis is active 2023-08-23 13:08:25 +02:00
Ensar Sarajčić
95cf8c0384 Handle home screen pages dragging 2023-08-23 11:17:45 +02:00
Ensar Sarajčić
a5499a58ad Reorder MainActivity 2023-08-22 12:11:41 +02:00
Ensar Sarajčić
dfe9b04f71 Add titles to folder views 2023-08-18 15:40:47 +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
Ensar Sarajčić
8f21b8b689 Remove alias for commons R class 2023-08-04 08:39:02 +02:00
Ensar Sarajčić
c15b3e4c6f Migrate to viewbinding and kotlin gradle scripts 2023-08-03 13:23:31 +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ć
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ć
72d85f6257 Merge branch 'main' into feature/57-always-go-home 2023-07-31 10:07:30 +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ć
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ć
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
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ć
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ć
5c7ad336ad Close app drawer when opening another app 2023-07-26 16:54:33 +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
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ć
8794f7ca23 Decrease move gesture sensitivity 2023-07-20 12:40:28 +02:00
Ensar Sarajčić
05c9644037 Implement bottom row docking 2023-07-19 17:26:36 +02:00
Ensar Sarajčić
1c67a8f097 Merge branch 'main' into feature/47-multi-panel-home 2023-07-19 16:46:29 +02:00
Ensar Sarajčić
6ac3d0f86c Fix shortcut pin intent handling 2023-07-19 16:30:21 +02:00
Ensar Sarajčić
3742762220 Handle pages in shortcut pin request 2023-07-19 16:09:27 +02:00
Ensar Sarajčić
d5aff09c8e Add setting for navigating to home screen always 2023-07-19 10:28:53 +02:00
Ensar Sarajčić
1913d0b739 Add delay to drawer and widgets closing 2023-07-19 10:21:45 +02:00
Ensar Sarajčić
b0ca17cea2 Implement multiple panes for home screen grid
This closes #47
2023-07-18 17:35:26 +02:00
Ensar Sarajčić
10a06020e8 Close apps drawer and widgets screen when navigating to other apps
This closes #17, closes #57
2023-07-18 16:30:46 +02:00