Is having a toggle on title bar okay for android app?
I am designing a mail interface, with an option to add an encryption. One idea is to having the encryption as a toggle on the title bar. If the user turns on the toggle, he needs to enter password in a dialogue. If the user does not want to give password to this mail, just turn the toggle off.
Do you see any usability problems about this design?