diff --git a/app/src/main/res/drawable/switch_custom_thumb_off1.xml b/app/src/main/res/drawable/switch_custom_thumb_off1.xml new file mode 100644 index 0000000..a353a14 --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_thumb_off1.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_custom_thumb_on1.xml b/app/src/main/res/drawable/switch_custom_thumb_on1.xml new file mode 100644 index 0000000..4b0239e --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_thumb_on1.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_custom_thumb_selector1.xml b/app/src/main/res/drawable/switch_custom_thumb_selector1.xml new file mode 100644 index 0000000..70f0b68 --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_thumb_selector1.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_custom_track_off1.xml b/app/src/main/res/drawable/switch_custom_track_off1.xml new file mode 100644 index 0000000..e00a2ca --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_track_off1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_custom_track_on1.xml b/app/src/main/res/drawable/switch_custom_track_on1.xml new file mode 100644 index 0000000..d9bb26b --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_track_on1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_custom_track_selector1.xml b/app/src/main/res/drawable/switch_custom_track_selector1.xml new file mode 100644 index 0000000..5412099 --- /dev/null +++ b/app/src/main/res/drawable/switch_custom_track_selector1.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/from/layout/activity_sdkz.xml b/app/src/main/res/layout/from/layout/activity_sdkz.xml index 212f269..cad834b 100644 --- a/app/src/main/res/layout/from/layout/activity_sdkz.xml +++ b/app/src/main/res/layout/from/layout/activity_sdkz.xml @@ -102,7 +102,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_margin="5dp"> + android:layout_marginTop="20dp" + android:layout_marginLeft="5dp"> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1" + /> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> @@ -180,7 +182,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_margin="5dp"> + android:layout_marginTop="20dp" + android:layout_marginLeft="5dp"> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> @@ -258,7 +261,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_margin="5dp"> + android:layout_marginTop="20dp" + android:layout_marginLeft="5dp"> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> @@ -336,7 +340,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" - android:layout_margin="5dp"> + android:layout_marginTop="20dp" + android:layout_marginLeft="5dp"> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/> + android:thumb="@drawable/switch_custom_thumb_selector1" + android:track="@drawable/switch_custom_track_selector1"/>