react-native-midtrans-payment-gateway
Version:
Midtrans payment gateway forked from 'https://github.com/aldente05/react-native-payment-gateway'
75 lines (61 loc) • 2.73 kB
text/xml
<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_saved_credit_card" />
</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"/>
<LinearLayout
android:id="@+id/container_item_details"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
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>
</RelativeLayout>
<LinearLayout
android:id="@+id/progress_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical"
android:visibility="gone" >
<include layout="@layout/layout_midtrans_progress" />
</LinearLayout>
<include
layout="@layout/layout_sandbox_badge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|start" />
</android.support.design.widget.CoordinatorLayout>