From 6510a6c11f3fe0de34d24f350f20356ffaca19b9 Mon Sep 17 00:00:00 2001 From: jxr202 Date: Tue, 27 Feb 2018 18:55:52 +0800 Subject: [PATCH] =?UTF-8?q?[Jiang]:=E6=B7=BB=E5=8A=A0TitleBar=E6=8E=A7?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/activity_main.xml | 12 + .../com/jxr202/colorful_ui/CommonUtils.java | 27 ++ .../java/com/jxr202/colorful_ui/TitleBar.java | 330 ++++++++++++++++++ .../main/res/mipmap-xxhdpi/ic_common_back.png | Bin 0 -> 1803 bytes colorful-ui/src/main/res/values/attrs.xml | 39 ++- 5 files changed, 407 insertions(+), 1 deletion(-) create mode 100644 colorful-ui/src/main/java/com/jxr202/colorful_ui/CommonUtils.java create mode 100644 colorful-ui/src/main/java/com/jxr202/colorful_ui/TitleBar.java create mode 100644 colorful-ui/src/main/res/mipmap-xxhdpi/ic_common_back.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 a6cb741..36687e9 100644 --- a/colorful-ui-example/src/main/res/layout/activity_main.xml +++ b/colorful-ui-example/src/main/res/layout/activity_main.xml @@ -7,6 +7,18 @@ android:background="#eeeeee" android:orientation="vertical" > + + w}WAirv0R4@6oJ79{oGlH{rAOK1j5zt%(GRtn zhUA#zLa@7C@78?+dEcG7YiR7SFJtaTb?$W+d4XKxc1T(6;$V16Zg#^C{kg0!{Ouo4 zox$h)Im07;v$}UFV}E(LJ3lzQShl#KQkQa~zdbg;=siDqMBRMJ#JUmquUka6y1gTl zo2r=vs5vifciF*6=^gXw&HeKh)6QbP8Du(J)@V*1{P~x5l&_R-1~!+!!lXkXrHGj^ z+Em7_lY01PCa|Yk#`TXy&tXKPbd<}tc>RTomP^0Eo;8L~eGF26fyoOYpYAFR3yl3# z+a-YIaOP8RQ6P-Ktj+jLwIvMy&_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