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 |  179 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 169 insertions(+), 10 deletions(-)

diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index f26a5c1..3430e63 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -1,15 +1,174 @@
 <?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" />
-        <attr name="rightDrawable" format="reference" />
-        <attr name="rightDrawablePadding" format="dimension" />
-        <attr name="titleText" format="string" />
-        <attr name="titleTextSize" format="dimension" />
-        <attr name="titleTextColor" format="color" />
-        <attr name="rightText" format="string" />
-        <attr name="rightTextSize" format="dimension" />
-        <attr name="rightTextColor" format="color" />
+        <attr name="leftDrawable" format="reference"/>
+        <attr name="rightDrawable" format="reference"/>
+        <attr name="rightDrawablePadding" format="dimension"/>
+        <attr name="titleText" format="string"/>
+        <attr name="titleTextSize" format="dimension"/>
+        <attr name="titleTextColor" format="color"/>
+        <attr name="rightText" format="string"/>
+        <attr name="rightTextSize" format="dimension"/>
+        <attr name="rightTextColor" format="color"/>
+        <attr name="leftTint" format="color"/>
+        <attr name="rightTint" format="color"/>
     </declare-styleable>
+
+
+    <declare-styleable name="LinearLayoutWithText">
+        <attr name="linbackgroundColor" format="color"/>
+        <attr name="text_title" format="string"/>
+        <attr name="text_titleColor" format="color"/>
+        <attr name="text_right" format="string"/>
+        <attr name="hint_right" format="string"/>
+        <attr name="hint_title" format="string"/>
+        <attr name="text_rightColor" format="color"/>
+        <attr name="divider_visible">
+            <enum name="visible" value="0"/>
+            <enum name="invisible" value="4"/>
+            <enum name="gone" value="8"/>
+        </attr>
+        <attr name="img_visible">
+            <enum name="visible" value="0"/>
+            <enum name="invisible" value="4"/>
+            <enum name="gone" value="8"/>
+        </attr>
+        <attr name="text_rightSize" format="integer"/>
+        <attr name="text_titleSize" format="integer"/>
+        <attr name="red_poit_count" format="integer"/>
+        <attr name="paddingLeft" format="dimension"/>
+        <attr name="paddingRight" format="dimension"/>
+        <attr name="paddingTop" format="dimension"/>
+        <attr name="paddingBottom" format="dimension"/>
+        <attr name="padding" format="dimension"/>
+        <attr name="hint_titleColor" format="color"/>
+        <attr name="hint_rightColor" format="color"/>
+        <attr name="leftCompoundDrawable" format="reference"/>
+        <attr name="leftCompoundDrawableSize" format="integer"/>
+        <attr name="rightCompoundDrawable" format="reference"/>
+        <attr name="enable" format="boolean"/>
+    </declare-styleable>
+
+    <declare-styleable name="CircleImageView">
+        <attr name="border_width" format="dimension"/>
+        <attr name="border_color" format="color"/>
+    </declare-styleable>
+
+    <style name="txt_normal">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:textSize">@dimen/normal_text_size</item>
+        <item name="android:textColor">@color/txt_color</item>
+    </style>
+
+    <style name="TransparentDialog" parent="Theme.AppCompat.Dialog">
+        <item name="android:windowBackground">@color/transparent</item>
+    </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>
+        <item name="titleTextColor">@color/txt_normal</item>
+        <item name="layout_constraintTop_toTopOf">parent</item>
+        <item name="layout_constraintLeft_toLeftOf">parent</item>
+        <item name="layout_constraintRight_toRightOf">parent</item>
+        <item name="android:paddingLeft">@dimen/default_margin_lr</item>
+        <item name="android:paddingRight">@dimen/default_margin_lr</item>
+    </style>
+
+
+    <style name="user_txt_left">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:textSize">18sp</item>
+        <item name="android:textColor">@color/txt_enable</item>
+        <item name="android:drawablePadding">10dp</item>
+        <item name="android:layout_marginRight">10dp</item>
+    </style>
+    <style name="tip_txt_style">
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">@dimen/title_height</item>
+        <item name="android:onClick">onTypeClick</item>
+        <item name="android:textSize">16sp</item>
+        <item name="android:textColor">@color/txt_normal</item>
+        <item name="android:drawableRight">@drawable/check_selector</item>
+        <item name="android:gravity">center_vertical</item>
+    </style>
+    <style name="user_txt_value">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:textSize">18sp</item>
+        <item name="android:textColor">@color/txt_normal</item>
+    </style>
+
+
+    <style name="btn_normal">
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:background">@drawable/btn_circle_blue</item>
+        <item name="android:textColor">@color/btn_txt_normal</item>
+        <item name="android:textSize">@dimen/title_size</item>
+    </style>
+
+    <style name="login_edit">
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">@dimen/title_height</item>
+        <item name="android:background">@drawable/bg_circle_default</item>
+        <item name="android:layout_marginTop">@dimen/default_margin_td</item>
+        <item name="android:paddingRight">@dimen/default_margin_lr</item>
+        <item name="android:paddingLeft">@dimen/default_margin_lr</item>
+        <item name="android:singleLine">true</item>
+        <item name="android:gravity">center_vertical</item>
+        <item name="android:layout_marginLeft">@dimen/default_margin_lr</item>
+        <item name="android:layout_marginRight">@dimen/default_margin_lr</item>
+    </style>
+
+    <style name="login_link">
+        <item name="android:layout_width">wrap_content</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:paddingTop">@dimen/default_margin_td</item>
+        <item name="android:paddingBottom">@dimen/default_margin_td</item>
+        <item name="android:paddingRight">30dp</item>
+        <item name="android:paddingLeft">30dp</item>
+        <item name="android:textColor">@color/link</item>
+    </style>
+
+    <style name="lin_txt">
+        <item name="layout_constraintRight_toRightOf">parent</item>
+        <item name="layout_constraintLeft_toLeftOf">parent</item>
+        <item name="android:background">@drawable/bg_white</item>
+        <item name="android:layout_width">match_parent</item>
+        <item name="android:layout_height">wrap_content</item>
+        <item name="android:gravity">left</item>
+        <item name="android:textColor">@color/txt_color</item>
+        <item name="android:textSize">@dimen/title_size</item>
+        <item name="android:paddingTop">@dimen/default_margin_td</item>
+        <item name="android:paddingBottom">@dimen/default_margin_td</item>
+        <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