Skip to content

Commit e99aeb8

Browse files
committed
Updated Readme.md
Fixed typos
1 parent 5779f7a commit e99aeb8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Usage
3636
------
3737
Using CreditCardView is extremely easy, this is how you would declare it in the layout xml:
3838
```java
39-
<com.vinaygaba.creditcardview.CreditCardView
39+
<com.vinaygaba.creditcardview.library.CreditCardView
4040
android:id="@+id/card1"
4141
android:layout_width="fill_parent"
4242
android:layout_height="225dp"
@@ -233,11 +233,11 @@ app:cardName="John Doe"
233233

234234
You can set and get the value of this attribute programmatically using:
235235
```java
236-
//Set Card Number
236+
//Set Card Name
237237
crediCardView.setCardName("John Doe");
238238

239-
//Get Card Number
240-
String cardNumber = crediCardView.getCardName();
239+
//Get Card Name
240+
String cardName = crediCardView.getCardName();
241241
```
242242

243243
##### VII) app:cardNameTextColor
@@ -327,7 +327,7 @@ app:type="visa/mastercard/americann_express/discover/auto"
327327

328328
You can set the value of this attribute programmatically using:
329329
```java
330-
//Set Card Type.Choose any one card tpe from the following
330+
//Set Card Type.Choose any one card type from the following
331331
creditCardView.setType(CardType.VISA/CardType.MASTERCARD/CardType.AMERICAN_EXPRESS/CardType.DISCOVER/CardType.AUTO);
332332

333333
//Get Card Type.

0 commit comments

Comments
 (0)