Skip to content

Conversation

@kuba2k2
Copy link

@kuba2k2 kuba2k2 commented Mar 14, 2021

This PR adds support for combined action and checkbox/switch items to the preferences branch. The combined items contain a toggleable switch and a clickable action, depending on the clicked part of the item. This is inspired by a preference found in some places in the Android settings app, for example:
obraz

The PR also enables toggling the switches by clicking anywhere on the item. It also refactors the XML layout code a bit and contains all changes up until the 3.1.2 tag.

Screenshot:

obraz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants