Skip to content

Commit

Permalink
Updated Readme.md
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
vinaygaba committed Jun 23, 2015
1 parent 5779f7a commit e99aeb8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Usage
------
Using CreditCardView is extremely easy, this is how you would declare it in the layout xml:
```java
<com.vinaygaba.creditcardview.CreditCardView
<com.vinaygaba.creditcardview.library.CreditCardView
android:id="@+id/card1"
android:layout_width="fill_parent"
android:layout_height="225dp"
Expand Down Expand Up @@ -233,11 +233,11 @@ app:cardName="John Doe"

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

//Get Card Number
String cardNumber = crediCardView.getCardName();
//Get Card Name
String cardName = crediCardView.getCardName();
```

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

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

//Get Card Type.
Expand Down

0 comments on commit e99aeb8

Please sign in to comment.