Answers for "colorcontrolactivated android studio 4"

0

colorcontrolactivated android studio 4

<!-- style -->
<style name="SwitchColor" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- active thumb & track color -->
        <item name="colorControlActivated">@color/pink</item>

        <!-- inactive thumb color -->
        <item name="colorSwitchThumbNormal">#f1f1f1</item>

        <!-- inactive track color -->
        <item name="android:colorForeground">#42221f1f</item>
</style>
 
<!-- layout -->
  android:theme="@style/SwitchColor"
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language