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:
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.
This PR adds support for combined action and checkbox/switch items to the![obraz](https://user-images.githubusercontent.com/30433568/111081697-e0a1de00-8504-11eb-9c63-4598982bb3cf.png)
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: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: