Skip to content
Browse files

Add md and screenshot

  • Loading branch information...
1 parent 14730de commit eb6703529bc647d94bdeef1ce9dc544a7d66f2cf @CaMnter committed
View
65 README.md
@@ -0,0 +1,65 @@
+EasyCountDownTextureView
+==
+
+[![Language](https://img.shields.io/badge/language-Java-EE0000.svg)]()
+[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/CaMnter/EasyCountDownTextureView/blob/master/LICENSE)
+[![Version](https://img.shields.io/badge/version-1.1-8470FF.svg)]()
+[ ![Download](https://api.bintray.com/packages/camnter/maven/EasyCountDownTextureView/images/download.svg) ](https://bintray.com/camnter/maven/EasyCountDownTextureView/_latestVersion)
+
+**Easy count down by TextureView**
+
+## Attention
+
+**minSdkVersion >= 14**
+
+
+## Gradle
+
+```groovy
+dependencies {
+ compile 'com.camnter.easycountdowntextureview:library:1.1'
+}
+```
+
+## Attributes
+
+```xml
+<declare-styleable name="EasyCountDownTextureView">
+ <attr name="easyCountRectWidth" format="dimension" />
+ <attr name="easyCountRectHeight" format="dimension" />
+ <attr name="easyCountRectRadius" format="dimension" />
+ <attr name="easyCountRectSpacing" format="dimension" />
+ <attr name="easyCountTimeColor" format="color" />
+ <attr name="easyCountColonColor" format="color" />
+ <attr name="easyCountBackgroundColor" format="color" />
+ <attr name="easyCountColonSize" format="dimension" />
+ <attr name="easyCountTimeSize" format="dimension" />
+ <attr name="easyCountHour" format="integer" />
+ <attr name="easyCountMinute" format="integer" />
+ <attr name="easyCountSecond" format="integer" />
+</declare-styleable>
+```
+
+
+## Performance
+
+![EasyCounDownTextureView](https://github.com/CaMnter/EasyCountDownTextureView/raw/master/screenshot/easy_count_down_textureview.png)
+![ShoujiTaobao](https://github.com/CaMnter/EasyCountDownTextureView/raw/master/screenshot/shouji_taobao.png)
+
+## License
+
+Copyright (C) 2016 CaMnter yuanyu.camnter@gmail.com
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
View
16 library/src/main/java/com/camnter/easycountdowntextureview/EasyCountDownTextureView.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2016 CaMnter yuanyu.camnter@gmail.com
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.camnter.easycountdowntextureview;
import android.annotation.TargetApi;
View
18 library/src/main/res/values/attrs.xml
@@ -1,4 +1,20 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?><!--
+
+Copyright (C) 20156 CaMnter yuanyu.camnter@gmail.com
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
<resources>
<declare-styleable name="EasyCountDownTextureView">
<attr name="easyCountRectWidth" format="dimension" />
View
BIN screenshot/easy_count_down_textureview.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN screenshot/shouji_taobao.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb67035

Please sign in to comment.
Something went wrong with that request. Please try again.