selected color of MaterialToggleButton to a solid color
问题 Not able to make the selected color of MaterialToggleButton to a solid color, only a transparent shade of color primary is shown. I tried the below set of code and the out image is shown below. Button theme in styles <style name="ThemeButtonColorToggle" parent="AppTheme"> <item name="colorPrimary">@color/colorOrange</item> <item name="colorButtonNormal">@color/colorOrange</item> <item name="android:backgroundTint">@color/black</item> <item name="strokeColor">@color/colorOrange</item> <item