Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

32 lines (29 sloc) 1.43 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_checkout"
tools:context=".CheckoutActivityKotlin">
<com.stripe.android.view.CardInputWidget
android:id="@+id/cardInputWidget"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"/>
<Button
android:text="Pay"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/payButton"
android:layout_marginTop="20dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:backgroundTint="@android:color/holo_green_light"
app:layout_constraintTop_toBottomOf="@+id/cardInputWidget"
app:layout_constraintStart_toStartOf="@+id/cardInputWidget"
app:layout_constraintEnd_toEndOf="@+id/cardInputWidget"/>
</androidx.constraintlayout.widget.ConstraintLayout>
You can’t perform that action at this time.