From 642d6cdf86c83f402afe96570a6a80888c09c3f2 Mon Sep 17 00:00:00 2001 From: mxlei Date: Wed, 31 Aug 2022 22:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=9C=A8theme=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E4=B8=AD=E8=AE=BE=E7=BD=AE=E7=9A=84=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E6=8D=A2=E8=82=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 1 + app/src/main/res/layout/activity_main.xml | 17 +- app/src/main/res/values/themes.xml | 7 +- .../com/github/jeffery/skin/SkinAttr.java | 15 ++ .../com/github/jeffery/skin/SkinManger.java | 36 +++- .../jeffery/skin/SkinViewCreateFactory2.java | 159 +++++++++++++++--- 6 files changed, 189 insertions(+), 46 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 5b6a587..9cc694b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -11,6 +11,7 @@ + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 59e39d4..c32d339 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -22,36 +22,29 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="16dp" - android:background="@drawable/bg_button" - android:text="默认皮肤" - android:textColor="@color/buttonTextColor" /> + android:text="默认皮肤" />