UNPKG

react-native-midtrans-payment-gateway

Version:

Midtrans payment gateway forked from 'https://github.com/aldente05/react-native-payment-gateway'

80 lines (65 loc) 3.06 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"> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/container_item_details" android:layout_alignParentTop="true"> <include layout="@layout/layout_bank_points" /> </ScrollView> <View android:id="@+id/background_dim" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/container_item_details" android:background="@color/dim_background" android:visibility="gone"/> <com.midtrans.sdk.uikit.widgets.FancyButton android:visibility="gone" android:id="@+id/button_pay_without_point" android:layout_centerHorizontal="true" app:fb_iconResource="@drawable/ic_pay_without_bank_point" app:fb_text="@string/pay_without_fiesta_poin" android:layout_marginBottom="@dimen/sixteen_dp" style="@style/ButtonSecondary" android:layout_above="@id/container_item_details" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <LinearLayout android:id="@+id/container_item_details" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_above="@+id/btn_redeem_container" android:orientation="vertical"> <android.support.v7.widget.RecyclerView android:id="@+id/rv_transaction_detail" android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="gone"/> <View android:layout_width="match_parent" android:layout_height="@dimen/two_dp" android:background="@color/light_gray" /> <include layout="@layout/layout_total_amount" /> </LinearLayout> <View android:layout_width="match_parent" android:layout_height="@dimen/two_dp" android:layout_above="@+id/btn_redeem_container" android:background="@color/light_gray" /> <include android:id="@+id/btn_redeem_container" layout="@layout/layout_primary_button"/> </RelativeLayout> </android.support.design.widget.CoordinatorLayout>