From 5b11c70035336d89f3468eb591a44f957733418e Mon Sep 17 00:00:00 2001 From: Transformers Date: Tue, 19 May 2026 12:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLogView=20inflate=E9=94=99?= =?UTF-8?q?=E8=AF=AF=EF=BC=8C=E6=B7=BB=E5=8A=A0libappbase=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 主要修改: - 添加:在MyAppTheme中添加所有libappbase需要的自定义属性 - 添加:新增DebugActivityTheme样式定义 - 修复:解决"Failed to resolve attribute at index 13"错误 --- contacts/src/main/res/values/styles.xml | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/contacts/src/main/res/values/styles.xml b/contacts/src/main/res/values/styles.xml index 0c2acc4..f5c1e67 100644 --- a/contacts/src/main/res/values/styles.xml +++ b/contacts/src/main/res/values/styles.xml @@ -7,6 +7,39 @@ @color/colorAccent false @null + + + @style/DebugActivityTheme + ?attr/mainWindowBackgroundColor + ?attr/mainWindowTextColor + ?attr/mainWindowTextColor + ?attr/mainWindowDarkTextColor + ?attr/mainWindowBackgroundColor + ?attr/mainWindowTextColor + @color/toolbarBackgroundColor + @color/toolbarTextColor + ?attr/mainWindowBackgroundColor + ?attr/mainWindowTextColor + ?attr/mainWindowBackgroundColor + ?attr/mainWindowTextColor + ?attr/mainWindowBackgroundColor + ?attr/mainWindowBackgroundColor + ?attr/mainWindowTextColor + @color/mainWindowBackgroundColor + @color/mainWindowTextColor + @color/mainWindowBackgroundColor + @color/mainWindowTextColor + @color/debugTextColor + + +