Android doesn't provide any two-State toggle buttons?
<p>I am a bit new to using Android and as I look into some of the android button features, I realized that the switches or toggles are implemented differently than I expected. I see that for <code>ToggleButton</code> if you click the button, the text changes. For <code>Switch</code>, I see that there is no text but you can slide the switch left or right to show a sort of "on/off" feature. I would ideally want a two-state toggle, similar to this photo:<a href="https://i.stack.imgur.com/E6BDd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E6BDd.jpg" alt="enter image description here"></a></p>

<p>But I can't seem to find some sort of toggle button that will do this for me. The <code>Switch</code> has no text and <code>ToggleButton</code> has text but only has one "state" that is showing. I tried to look into other ones like <a href="https://github.com/jlhonora/multistatetogglebutton" rel="nofollow noreferrer">https://github.com/jlhonora/multistatetogglebutton</a> but this is more for multiple states: I only want 2 states in my toggle button. Any help would be appreciated. Thanks!</p>