-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Hi,
I generated my custom style of Switch in this site : http://android-holo-colors.com/
I added the drawable folders to my project and I inflated the Custom Switch like this :
<org.jraf.android.backport.switchwidget.Switch xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res/com.myproject"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:thumb="@drawable/switch_inner_holo_light"
app:track="@drawable/switch_track_holo_light" />
My custom style is applied correctly on Android 2.3 BUT NOT on Android 4.2 like Samsung Galaxy S4.
I also tried to create "drawable-xxx-v16" folders with the drawables but doesn't work too.
Where is my problem ?
Soory for my English, I am French.
Thanks you for your help.