Add support for folders on home screen#103
Conversation
|
This should be ready to test now. There are improvements that could be made:
The logic for moving items around isn't perfect at the moment. It can happen sometimes that gaps appear in folders. |
app/src/main/kotlin/com/simplemobiletools/launcher/activities/MainActivity.kt
Outdated
Show resolved
Hide resolved
|
the folder definitely needs to show icons instead of the generic folder icon. And other UI improvements are needed too, but it seems to work fine and going in the right direction :) |
|
I created a folder with 2 icons and then after dragging the second icon out of the folder to dismiss it, the app crashed |
|
The crash should be fixed now, but I think I will need to do some further work on handling these changes, since there are some thing happening asynchronously and I think there is room for such race conditions right now. |
af7e4e5 to
3cc0015
Compare
|
check the conflicts please |
Added proper handling of folder closing when swiping pages
|
Not sure if I should work on animations when placing items inside folders (when reordering items after new one has been placed in the folder). Other than that, this is ready for testing. |
|
lets add a small vibration on long pressing a folder, like at long pressing an icon |
|
if you have 2 lines of icons in the folder, the vertical empty space between them is too big |
|
no need to add new animations now, lets focus on making it work well first |
|
alright, this seems to work just fine to me now :) |
Added in SimpleMobileTools/Simple-Launcher#103, but never used.
* feat: add options to show/hide app labels Refs: #55 * refactor: remove dead adapter and dialog layout Added in SimpleMobileTools/Simple-Launcher#103, but never used. * fix: adjust icon spacing in folders when labels are disabled * fix: use proper style for preference items with values
* feat: add options to show/hide app labels Refs: FossifyOrg#55 * refactor: remove dead adapter and dialog layout Added in SimpleMobileTools/Simple-Launcher#103, but never used. * fix: adjust icon spacing in folders when labels are disabled * fix: use proper style for preference items with values
This adds very basic support for folders on home screen. They are created by dragging icons on top of each other. These folders have a static folder icon right now.