Skip to content

Commit

Permalink
Add RTL support to card widgets (#2873)
Browse files Browse the repository at this point in the history
Use `start` instead of `left` and `end` instead of `right`.

Fixes #2852
  • Loading branch information
mshafrir-stripe authored Sep 21, 2020
1 parent 806dac8 commit 8979b71
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 136 deletions.
4 changes: 2 additions & 2 deletions stripe/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@

<dimen name="stripe_card_widget_progress_size">12dp</dimen>

<!-- Checkout -->
<!-- Checkout -->
<dimen name="stripe_checkout_payment_method_icon_size">76dp</dimen>
<dimen name="stripe_checkout_outer_spacing">10dp</dimen>

<dimen name="stripe_card_number_text_input_layout_progress_left_margin">25dp</dimen>
<dimen name="stripe_card_number_text_input_layout_progress_start_margin">25dp</dimen>
<dimen name="stripe_card_number_text_input_layout_progress_top_margin">10dp</dimen>
</resources>
Loading

0 comments on commit 8979b71

Please sign in to comment.