florinzaicu / FloatingOverlay

Android application that displays a set of floating controls over other apps
MIT License
0 stars 0 forks source link

Separate settings activity #11

Closed florinzaicu closed 6 months ago

florinzaicu commented 7 months ago

Move the overlay settings control to a separate activity and redesign main activity layout.

florinzaicu commented 7 months ago

It would also be nice to allow the user to select/customize the colours of the overlay. With the dynamic theme detection feature investigation, I can implement a grid-like view that allows a user to change between primary, secondary, and tertiary dynamic colours (give a few nice customisation options).

For now, this feature will be parked until the next stable release.

florinzaicu commented 6 months ago

Now that the settings fragment has been implemented (issue #21), add a preview of the floating overlay on the settings page to show the user how their settings affect the UI.

florinzaicu commented 6 months ago

I fully implemented the floating overlay preview on the settings fragment and modified the behaviour to save the values of the sliders (preserve form values when the user rotates the phone or navigates away and to the app - temporary). I have also added a reset button that restores the values of the form to the shared preference values (configs applied to overlay).

The overlay view class was modified to extract the update UI methods into the companion object (a static object that allows applying overlay configs to a view) to implement the preview.


As per the colour customization, I will create a new issue to track that particular feature change. For now, I will close off this request.