Skip to content

Commit

Permalink
Merge pull request #95 from Trendyol/cardinputview/fixCvvInfoDesign
Browse files Browse the repository at this point in the history
CardInputView Cvv Info design fix
  • Loading branch information
turkergoksu authored Mar 3, 2022
2 parents f6ef150 + 9f4a3d6 commit 3733463
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ComponentVersions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ object ComponentVersions {
const val imageSliderVersion = "1.0.8"
const val phoneNumberVersion = "1.0.2"
const val dialogsVersion = "1.3.1"
const val cardInputViewVersion = "1.2.0"
const val cardInputViewVersion = "1.2.1"
const val quantityPickerViewVersion = "1.2.5"
const val timelineViewVersion = "1.0.0"
const val touchDelegatorVersion = "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion libraries/card-input-view/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/card-input-view-1.png" width="240"/> <img src="https://raw.githubusercontent.com/Trendyol/android-ui-components/master/images/card-input-view-2.png" width="240"/>

$cardInputViewVersion = card-input-view-1.1.2 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
$cardInputViewVersion = card-input-view-1.2.1 [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## CardInputView
CardInputView is custom view for Master or Visa debit/credit card inputs. It can verify card number, expire date and CVV for you.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

<stroke
android:width="@dimen/civ_stroke_width"
android:color="@android:color/darker_gray" />
android:color="@color/civ_cvv_info_border_color" />
</shape>
1 change: 1 addition & 0 deletions libraries/card-input-view/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
<color name="civ_error_background">#f6dde1</color>
<color name="civ_error_stroke">#d0021b</color>
<color name="civ_cvv_info_background">#ffffff</color>
<color name="civ_cvv_info_border_color">#e5e5e5</color>
</resources>
2 changes: 1 addition & 1 deletion libraries/card-input-view/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<dimen name="civ_height_input_field">40dp</dimen>
<dimen name="civ_width_expiry_cvv_field">80dp</dimen>
<dimen name="civ_size_cvv_info">30dp</dimen>
<dimen name="civ_size_cvv_info">28dp</dimen>
<dimen name="civ_stroke_width">0.5dp</dimen>
<dimen name="civ_divider_width">0.5dp</dimen>
<dimen name="civ_radius">1.5dp</dimen>
Expand Down

0 comments on commit 3733463

Please sign in to comment.