-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
86 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,9 @@ | |
An Android Library used to implement TicketView in android with normal, rounded and scallop corners. | ||
|
||
### Specs | ||
[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15) | ||
[![Download](https://api.bintray.com/packages/vipulasri/maven/TicketView/images/download.svg)](https://bintray.com/vipulasri/maven/TicketView/_latestVersion) | ||
[![MethodsCount](https://img.shields.io/badge/Methods%20and%20size-98%20|%2010KB-e91e63.svg)](http://www.methodscount.com/?lib=com.vipulasri%3Aticketview%3A1.0.2) | ||
[![MethodsCount](https://img.shields.io/badge/Methods%20and%20size-125%20|%2012KB-e91e63.svg)](http://www.methodscount.com/?lib=com.vipulasri%3Aticketview%3A1.0.2) | ||
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/vipulasri/Timeline-View/blob/master/LICENSE) | ||
|
||
### Badges/Featured In | ||
|
@@ -29,7 +30,7 @@ For information : checkout [Sample App Code](https://github.com/vipulasri/Ticket | |
|
||
``` gradle | ||
dependencies { | ||
compile 'com.vipulasri:ticketview:1.0.2' | ||
compile 'com.vipulasri:ticketview:1.0.3' | ||
} | ||
``` | ||
|
||
|
@@ -39,7 +40,7 @@ dependencies { | |
<dependency> | ||
<groupId>com.vipulasri</groupId> | ||
<artifactId>ticketview</artifactId> | ||
<version>1.0.2</version> | ||
<version>1.0.3</version> | ||
<type>pom</type> | ||
</dependency> | ||
``` | ||
|
@@ -152,13 +153,22 @@ If you Watch this repository, GitHub will send you an email every time I publish | |
<td>4dp</td> | ||
<td>sets corner radius if corner rounder or scallop</td> | ||
</tr> | ||
<tr> | ||
<td>app:ticketElevation="14dp"</td> | ||
<td>0dp</td> | ||
<td>sets elevation to ticket view on android jellybean adn above</td> | ||
</tr> | ||
</table> | ||
|
||
## Apps that use this library | ||
|
||
If you're using this library in your app and you'd like to list it here, | ||
Please let me know via [email](mailto:[email protected]), [pull requests](https://github.com/vipulasri/TicketView/pulls) or [issues](https://github.com/vipulasri/TicketView/issues). | ||
|
||
## Special Thanks | ||
|
||
[**Nick Butcher**](https://github.com/nickbutcher)for helping me out with TicketView Shadow/Elevation. | ||
|
||
|
||
## License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:orientation="vertical"> | ||
|
||
<android.support.v7.widget.AppCompatTextView | ||
style="@style/Heading" | ||
android:text="@string/background" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="5dp" | ||
android:gravity="center_vertical" | ||
android:orientation="horizontal"> | ||
|
||
<android.support.v7.widget.AppCompatTextView | ||
style="@style/Label" | ||
android:text="@string/elevation" /> | ||
|
||
<org.adw.library.widgets.discreteseekbar.DiscreteSeekBar | ||
style="@style/DiscreteSeekBar" | ||
android:id="@+id/seekBar_elevation" | ||
app:dsb_min="0" | ||
app:dsb_max="24" | ||
app:dsb_value="12"/> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="5dp" | ||
android:gravity="center_vertical" | ||
android:orientation="horizontal"> | ||
|
||
<android.support.v7.widget.AppCompatTextView | ||
android:layout_width="80dp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/color" | ||
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"/> | ||
|
||
<RelativeLayout | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginLeft="5dp" | ||
android:padding="1dp" | ||
android:background="@drawable/bg_oval_border_black"> | ||
|
||
<ImageView | ||
android:layout_width="25dp" | ||
android:layout_height="25dp" | ||
android:id="@+id/image_background_color" | ||
android:background="@drawable/bg_oval_white"/> | ||
|
||
</RelativeLayout> | ||
|
||
</LinearLayout> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters