-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# H-Express Library--------timeline | ||
|
||
[  ](https://bintray.com/qht1003077897/maven/timeline/_latestVersion) | ||
|
||
A view that mimics the timeline,you can download it when you need logistics tracking or time to record。 | ||
|
||
这是母项目 H-Express 中的那个自定义时间轴view,现抽取出来分享给大家。 | ||
|
||
[timeline APK](https://github.com/qht1003077897/timeline/tree/master/apk/app-debug.apk) | ||
|
||
---------- | ||
## Screenshots | ||
|
||
<a href="art/1.png"><img src="art/1.png" width="50%"/></a> | ||
|
||
---------- | ||
## Import | ||
|
||
``` | ||
dependencies { | ||
compile 'com.qht1003077897.timeline:timeline:v0.1' | ||
} | ||
``` | ||
|
||
---------- | ||
## Clone | ||
|
||
``` | ||
clone https://github.com/qht1003077897/timeline.git | ||
``` | ||
|
||
---------- | ||
## Attributes | ||
|
||
|
||
| name | format | description | | ||
| -----|:----:| ----:| | ||
| markerSize | dimension | 中心圆大小,单位dp | | ||
| marker | color/reference | 圆点颜色或者图片 | | ||
| beginLine | color/reference | 上面(左边)线段颜色或者图片 | | ||
| endLine | color/reference | 下面(右边)线段颜色或者图片 | | ||
| lineSize | dimension | 线段粗细,单位dp | | ||
| oritation | boolean | 时间轴的方向,ture横向,false竖向 | | ||
|
||
<br> | ||
|
||
---------- | ||
## Usage | ||
|
||
``` | ||
<com.bt.mylibrary.TimeLineMarkerView | ||
android:id="@+id/time1" | ||
android:layout_width="150dp" | ||
android:layout_height="100dp" | ||
android:paddingTop="20dp" | ||
app:beginLine="@color/blue_sky" | ||
app:endLine="@color/blue_sky" | ||
app:oritation="true" | ||
app:marker="@drawable/timeline_bg_blue"/> | ||
``` | ||
---------- | ||
## About me | ||
|
||
An android developer in XI'AN. | ||
|
||
QQ: [1003077897]() | ||
csdn:http://blog.csdn.net/u012534831 | ||
|
||
## License | ||
------- | ||
|
||
MIT License | ||
Copyright (c) 2016-2018 qht1003077897 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
|
||
--- | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Project-wide Gradle settings. | ||
|
||
# IDE (e.g. Android Studio) users: | ||
# Gradle settings configured through the IDE *will override* | ||
# any settings specified in this file. | ||
|
||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
|
||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
# Default value: -Xmx10248m -XX:MaxPermSize=256m | ||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | ||
|
||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. More details, visit | ||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
# org.gradle.parallel=true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Mon Dec 28 10:00:20 PST 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip |