Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fevziomurtekin committed Jul 10, 2019
1 parent de0a93d commit e0e7dcb
Show file tree
Hide file tree
Showing 10 changed files with 210 additions and 61 deletions.
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Demo

<p align="center">
<img src="art/record.gif" width="360" height="640" />
<img src="art/newrecord.gif" width="360" height="640" />
</p>

# Setup
Expand All @@ -31,7 +31,7 @@ allprojects {
.....
dependencies {
implementation 'com.github.fevziomurtekin:PayView:1.0.1'
implementation 'com.github.fevziomurtekin:PayView:1.0.2'
}
}
```
Expand All @@ -54,6 +54,10 @@ dependencies {
app:cardNameTextSize="15"
app:cardMonthTextSize="13"
app:cardAnimationType="vertical"
app:cardCvErrorText="You must enter 3-digit characters"
app:cardMonthErrorText="You must enter 2-digit characters and you'll enter to number the most digit-value is '12'"
app:cardYearErrorText="You must enter 2-digit characters and you'll enter to number the most digit-value is '99'"
app:cardExpiredErrorText="Your card has expired. Please enter the usage date correctly."
/>
```

Expand All @@ -62,14 +66,15 @@ dependencies {
```kotlin
payview.setOnDataChangedListener(object : Payview.OnChangelistener{
override fun onChangelistener(payModel: PayModel?) {
Log.d("payView", "data : ${payModel?.cardOwnerName}")
Log.d("PayView", "data : ${payModel?.cardOwnerName} \n " +
"is Fill all form component : $isFillAllComponents")

}

})

payview.setPayOnclickListener(View.OnClickListener {
Log.d("payView "," clicked.")
Log.d("PayView "," clicked. iss Fill all form Component : ${payview.isFillAllComponents}")

})

Expand All @@ -78,7 +83,7 @@ dependencies {

# Attributes

| Attribute | Description |
| Attribute | Description |
| --- | --- |
| `cardBgColor` | The color in int of the card background color (by default android.R.color.holo_blue_light) |
| `cardFgColor` | The color in int of the card foreground color (by default android.R.color.white)|
Expand All @@ -91,7 +96,10 @@ dependencies {
| `cardCvTextSize`|The size in sp of the result text size (by default 14sp) |
|`cardNumberHelperText`| Default text, "You must enter your 16-digit card number. "|
|`cardNameHelperText`| Default text "Enter to card name. You'll enter max 25 characters"|

|`cardCvErrorText`| Default text "You must enter 3-digit characters"|
|`cardMonthErrorText`| Default text ""You must enter 2-digit characters and you'll enter to number the most digit-value is '12'"|
|`cardYearErrorText`| Default text "You must enter 2-digit characters and you'll enter to number the most digit-value is '99'"|
|`cardExpiredErrorText`| Default text "Your card has expired. Please enter the usage date correctly."|


## License
Expand Down
8 changes: 8 additions & 0 deletions app/.idea/markdown-exported-files.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/.idea/markdown-navigator.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

100 changes: 72 additions & 28 deletions app/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file renamed art/record.gif → art/newrecord.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e0e7dcb

Please sign in to comment.