From f09a1bbda9a4fd92c4a1362eca88fe812737267f Mon Sep 17 00:00:00 2001 From: jxr202 Date: Mon, 2 Jul 2018 18:38:55 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Jiang=E3=80=91=EF=BC=9A=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=80=89=E6=8B=A9=E9=A1=B9=E7=9A=84=E4=BB=8A=E6=97=A5?= =?UTF-8?q?=E6=96=87=E5=AD=97=E5=8F=98=E6=88=90=E4=BA=86=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/activity_main.xml | 5 +---- .../com/jxr202/colorful_ui/DateSelectView.java | 17 +++-------------- .../src/main/res/mipmap-xxhdpi/date_today.png | Bin 0 -> 2032 bytes colorful-ui/src/main/res/values/attrs.xml | 8 +++----- 4 files changed, 7 insertions(+), 23 deletions(-) create mode 100644 colorful-ui/src/main/res/mipmap-xxhdpi/date_today.png diff --git a/colorful-ui-example/src/main/res/layout/activity_main.xml b/colorful-ui-example/src/main/res/layout/activity_main.xml index 4c023f0..271995c 100644 --- a/colorful-ui-example/src/main/res/layout/activity_main.xml +++ b/colorful-ui-example/src/main/res/layout/activity_main.xml @@ -32,10 +32,7 @@ jxr202:mTitleViewText="@string/date_title" jxr202:mTitleViewTextColor="#2C9BB6" jxr202:mTitleViewTextSize="16dp" - jxr202:mTodayText="@string/date_today" - jxr202:mTodayTextBackground="#50D2C2" - jxr202:mTodayTextColor="#ffffff" - jxr202:mTodayTextSize="16dp" /> + jxr202:mTodayViewSrc="@mipmap/date_today" /> c!8}K z4xoZWu^SLlWl^!(Qd=x7NL47H+}vuTc%ds%u}V1xEy$wmgo^dYvUASN`+nbfp69)M z@5~g&h$0uddbk1ruuu@iizRHb{dRFCo`EOB90}u&^ONv6Gy~U)F$4&cqUi`ppcH2! zv4~iz&+bHm0Kmyx9-o9K3I7U9P$f-l$Ix_2HNggepb(u}EKwjhD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l?gyu%qUz~!k zJw5JH*!zt6$gOwagRaw-GoD9&S#x@OZ~f))`l3|{+f3!Z-!@;hCRitQ95WSyLqw%| z7A^7H;Ht&4=n@q}H;h)boU7g>OK7k-^*c_Sj7o+L{wu%Cv%cDZ_uhz*Yzr|{&3cT( zT~H8re0*}TgR!6&%<}zvRvkRv(RP$~#-BT$w&h|S40t%o^7jHB#9RH2Q}8@7-vRiZ X*6`le=7j=zv9Tzuj literal 0 HcmV?d00001 diff --git a/colorful-ui/src/main/res/values/attrs.xml b/colorful-ui/src/main/res/values/attrs.xml index 9c1c7f3..ef2c680 100644 --- a/colorful-ui/src/main/res/values/attrs.xml +++ b/colorful-ui/src/main/res/values/attrs.xml @@ -67,11 +67,9 @@ - - - - - + + +