UNPKG

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

59 lines (49 loc) 2.34 kB
<android.support.design.widget.CoordinatorLayout 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="match_parent" android:background="@android:color/white" android:fitsSystemWindows="true"> <include layout="@layout/appbar_payment" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <include android:id="@+id/container_item_details" layout="@layout/layout_total_amount" /> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/btn_redeem_point" android:layout_below="@id/container_item_details"> <include layout="@layout/layout_bank_points" /> </ScrollView> <com.midtrans.sdk.uikit.widgets.FancyButton android:id="@+id/btn_redeem_point" android:layout_width="match_parent" android:layout_height="@dimen/button_size" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:paddingLeft="@dimen/activity_horizontal_margin" android:textColor="@color/white" app:fb_defaultColor="@color/navy_blue.primary" app:fb_focusColor="@color/colorAccentLight" app:fb_text="@string/redeem_point" 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_marginRight="@dimen/eight_dp" android:src="@drawable/ic_arrow_right_white" /> </LinearLayout> </RelativeLayout> </android.support.design.widget.CoordinatorLayout>