From 2a320dc04d6deb22116ebfd302d6f898a15f23af Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Wed, 17 Aug 2022 13:29:58 +0000 Subject: [PATCH] 日期转换问题 --- app/src/main/res/values/styles.xml | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index eadbfc9..3430e63 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<resources> +<resources xmlns:tools="http://schemas.android.com/tools"> <declare-styleable name="TitleBarView"> <attr name="leftDrawable" format="reference"/> @@ -67,6 +67,7 @@ </style> <style name="titlebar"> + <item name="android:id" tools:ignore="AaptCrash">@+id/title_bar</item> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">?attr/actionBarSize</item> <item name="android:background">@color/white</item> @@ -149,4 +150,25 @@ <item name="android:paddingLeft">@dimen/default_margin_lr</item> <item name="android:paddingRight">@dimen/default_margin_lr</item> </style> + + <declare-styleable name="PasswordInputView"> + <attr name="borderColor" format="color" /> + <attr name="borderWidth" format="dimension" /> + <attr name="borderRadius" format="dimension" /> + <attr name="passwordLength" format="integer" /> + <attr name="passwordColor" format="color" /> + <attr name="passwordWidth" format="dimension" /> + <attr name="passwordRadius" format="dimension" /> + </declare-styleable> + + + <style name="item_num"> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">match_parent</item> + <item name="android:gravity">center</item> + <item name="android:background">@drawable/bg_num</item> + <item name="android:textColor">@color/black</item> + <item name="android:textSize">44sp</item> + </style> + </resources> \ No newline at end of file -- Gitblit v1.9.1