material-about-library icon indicating copy to clipboard operation
material-about-library copied to clipboard

Add Action CheckBox and Switch items

Open kuba2k2 opened this issue 4 years ago • 0 comments

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

kuba2k2 avatar Mar 14 '21 19:03 kuba2k2