Skip to content

Commit 97ed1be

Browse files
authored
Fix RTL for CardMultilineWidget (#10477)
1 parent 75fab16 commit 97ed1be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

payments-core/res/layout/stripe_card_multiline_widget.xml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<FrameLayout
88
android:id="@+id/card_number_input_container"
99
android:layout_width="match_parent"
10+
android:layoutDirection="ltr"
1011
android:layout_height="wrap_content">
1112

1213
<com.stripe.android.view.CardNumberTextInputLayout
@@ -44,6 +45,7 @@
4445
android:layout_width="match_parent"
4546
android:layout_height="wrap_content"
4647
android:baselineAligned="false"
48+
android:layoutDirection="ltr"
4749
android:orientation="horizontal">
4850

4951
<com.google.android.material.textfield.TextInputLayout
@@ -55,6 +57,7 @@
5557
android:layout_marginEnd="@dimen/stripe_add_card_expiry_middle_margin"
5658
android:layout_weight="1"
5759
android:hint="@string/stripe_acc_label_expiry_date"
60+
android:layoutDirection="ltr"
5861
app:placeholderText="@string/stripe_expiry_date_hint">
5962

6063
<com.stripe.android.view.ExpiryDateEditText
@@ -77,6 +80,7 @@
7780
android:layout_marginTop="@dimen/stripe_add_card_element_vertical_margin"
7881
android:layout_marginEnd="@dimen/stripe_add_card_expiry_middle_margin"
7982
android:layout_weight="1"
83+
android:layoutDirection="ltr"
8084
app:placeholderText="@string/stripe_cvc_multiline_helper">
8185

8286
<com.stripe.android.view.CvcEditText

0 commit comments

Comments
 (0)