react-native-payment-gateway
Version:
this module for payment gateway, first gateway is midtrans payment gateway, i hope all payment gateway so you can contribute to this module
35 lines (32 loc) • 1.42 kB
text/xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.midtrans.sdk.uikit.widgets.FancyButton
android:id="@+id/button_primary"
android:layout_width="match_parent"
android:layout_height="@dimen/button_size"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:textColor="@color/white"
app:fb_defaultColor="@color/gray.primary"
app:fb_focusColor="@color/colorAccentLight"
app:fb_text="@string/payment_continue"
app:fb_textGravity="center_vertical"
app:fb_textSize="16sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/button_size"
android:layout_alignParentBottom="true"
android:gravity="bottom|end">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="@dimen/eight_dp"
android:layout_marginRight="@dimen/eight_dp"
android:src="@drawable/ic_arrow_right_white" />
</LinearLayout>
</RelativeLayout>