From d52ab274325ac114b4dc6cdf63aff4317d6a119a Mon Sep 17 00:00:00 2001
From: fyf <11621@LAPTOP-04QQU0AO>
Date: Wed, 7 Jun 2023 20:47:36 +0800
Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E8=B0=83=E8=AF=95=E6=94=B9?=
=?UTF-8?q?=E5=8A=A80222?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../res/drawable/switch_custom_thumb_off1.xml | 11 +++
.../res/drawable/switch_custom_thumb_on1.xml | 11 +++
.../switch_custom_thumb_selector1.xml | 5 ++
.../res/drawable/switch_custom_track_off1.xml | 13 +++
.../res/drawable/switch_custom_track_on1.xml | 13 +++
.../switch_custom_track_selector1.xml | 5 ++
.../res/layout/from/layout/activity_sdkz.xml | 85 ++++++++++---------
7 files changed, 103 insertions(+), 40 deletions(-)
create mode 100644 app/src/main/res/drawable/switch_custom_thumb_off1.xml
create mode 100644 app/src/main/res/drawable/switch_custom_thumb_on1.xml
create mode 100644 app/src/main/res/drawable/switch_custom_thumb_selector1.xml
create mode 100644 app/src/main/res/drawable/switch_custom_track_off1.xml
create mode 100644 app/src/main/res/drawable/switch_custom_track_on1.xml
create mode 100644 app/src/main/res/drawable/switch_custom_track_selector1.xml
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"/>