jeudi 14 mars 2019

Custom made Switch is not showing on Android KitKat 4.4.4

I've made custom Switch which is working fine on all android versions except KitKat. Its not on KitKat 4.4.4 screen. How can I make it visible on KitKat ? Any help would be great !

xml code :

<Switch
    android:id="@+id/checkbox_missed"
    android:layout_marginTop="20dp"
    android:textSize="16dp"
    android:text="Enable Missed Calls "
    android:gravity="left"
    android:thumbTextPadding="25dp"
    android:textOn=""
    android:textOff=""
    android:track="@drawable/rectangle_track"
    android:thumb="@drawable/rectangle_thumb"
    android:layout_marginLeft="25dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />




Aucun commentaire:

Enregistrer un commentaire