/TicketView

提供各式各样的票、卷样式

Primary LanguageJavaApache License 2.0Apache-2.0

TicketView

download

TicketView可以让你通过XMLJava快速实现市面上主流卷、票的样式。

效果展示

配置

  1. gradle
<dependency>
  <groupId>com.github.lilincpp</groupId>
  <artifactId>ticketview</artifactId>
  <version>1.0.6</version>
  <type>pom</type>
</dependency>
  1. android
compile 'com.github.lilincpp:ticketview:1.0.6'

未来计划

  • 重构代码
  • 更多修饰形状的实现
  • 实现圆角
  • 边缘描边
  • 边缘阴影
  • 圆形修饰形状的实现
  • 动态配置虚线的实现
  • 绘制形状与背景相交后,使得背景透明
  • 可以给任何View使用

License

TicketView binaries and source code can be used according to the Apache License, Version 2.0.