All Projects → mreram → Ticketview

mreram / Ticketview

Licence: apache-2.0
🎫 A custom view for showing tickets

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Ticketview

Enviews
🌟A cool dynamic view library
Stars: ✭ 1,771 (+1653.47%)
Mutual labels:  view, customview
Cosin
Android loading view library 📊🍭
Stars: ✭ 129 (+27.72%)
Mutual labels:  view, customview
Zloading
[Android] 这是一个自定义Loading View库。暂停更新
Stars: ✭ 552 (+446.53%)
Mutual labels:  view, customview
Textwriter
Animate your texts like never before
Stars: ✭ 140 (+38.61%)
Mutual labels:  view, customview
Pagemenulayout
【Android分页菜单控件】快速实现美团、饿了么、京东、淘宝首页分页菜单效果
Stars: ✭ 197 (+95.05%)
Mutual labels:  view, customview
Frames
Retrieves desired frames from video.
Stars: ✭ 51 (-49.5%)
Mutual labels:  view, customview
Fillingbutton
🔥Replace typical onLongClickListener with this library!
Stars: ✭ 31 (-69.31%)
Mutual labels:  view, customview
Animated Stars Android
Draw animated stars on Android view canvas - written in Kotlin
Stars: ✭ 85 (-15.84%)
Mutual labels:  view
Bannerlayout
Support unlimited picture rotation BannerLayout, the minimum implementation of the code banner
Stars: ✭ 92 (-8.91%)
Mutual labels:  view
Androidanimationexercise
Android 动画各种实现,包括帧动画、补间动画和属性动画的总结分享
Stars: ✭ 1,254 (+1141.58%)
Mutual labels:  view
Aura.view
Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.
Stars: ✭ 81 (-19.8%)
Mutual labels:  view
Jgraph
🔥 一个视觉效果还不错的图表控件(停止维护了,不建议直接用到项目)
Stars: ✭ 1,265 (+1152.48%)
Mutual labels:  customview
Kanvas
Make canvas easier to use in Kotlin 😊
Stars: ✭ 93 (-7.92%)
Mutual labels:  view
Particletextview
一个用粒子动画显示文字的 Android 自定义 View
Stars: ✭ 1,258 (+1145.54%)
Mutual labels:  customview
Arcchartview
Arc Chart View (Draw Creative Statistic Arc Charts)
Stars: ✭ 96 (-4.95%)
Mutual labels:  customview
Codeeditor
A cool code editor library on Android with syntax-highlighting and auto-completion.
Stars: ✭ 84 (-16.83%)
Mutual labels:  customview
Stepbarview
Step Bar View (make your own customized StepBar)
Stars: ✭ 97 (-3.96%)
Mutual labels:  customview
Meter Number Picker
The android library that provides a simple and customizable NumberPicker styled as meter.
Stars: ✭ 96 (-4.95%)
Mutual labels:  view
Circularimageview
This project allowing you to create circular and rounded corner Imageview in android through simplest way.
Stars: ✭ 90 (-10.89%)
Mutual labels:  customview
Crescento
Add curve at bottom of image views and relative layouts.
Stars: ✭ 1,289 (+1176.24%)
Mutual labels:  customview

TicketView

🎫 A custom view for showing tickets

API License

How to use❓

<com.mreram.ticketview.TicketView
      android:layout_width ="match_parent"
      android:layout_height="wrap_content"
      app:tv_anchor1="@+id/cl_head"
      app:tv_anchor2="@+id/cl_center"
      app:tv_circleSpace="15dp"
      app:tv_dashSize="1.5dp"
      app:tv_dashColor="@color/colorPrimary"
      app:tv_circleRadius="9dp">

    //todo adding your views

</com.mreram.ticketview.TicketView>

Installation

maven:

Step 1. Add the repository
<repositories>
   <repository>
     <id>jitpack.io</id>
     <url>https://jitpack.io</url>
   </repository>
</repositories>
Step 2. Add the dependency
<dependency>
   <groupId>com.github.mreram</groupId>
   <artifactId>ticketview</artifactId>
   <version>1.0.0</version>
</dependency>

gradle:

Step 1. Add it in your root build.gradle at the end of repositories:
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
Step 2. Add the dependency
compile 'com.github.mreram:ticketview:1.0.0'

Attributes

Name Description
tv_circleRadius(optional) radius of circle
tv_dashSize(optional) dash size
tv_dashColor(optional) dash color
tv_circleSpace(optional) space between top circles
tv_anchor1 determines where separator is drawn
tv_anchor2(optional) determines where separator is drawn

Contribution 💥

Pull requests are welcome! 👏

You can improve/fix some part of it .

Add Tests:

Assuming that the code in question already has automated (unit) tests, do add tests for the code you submit. This isn't a hard rule. There are various cases where you may need to add code without test coverage (e.g. when adding a Object), but if it can be tested, it should be tested.

License

   Copyright 2018 Mohammad Reza Eram

   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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].