react-native-midtrans-payment-gateway
Version:
Midtrans payment gateway forked from 'https://github.com/aldente05/react-native-payment-gateway'
78 lines (65 loc) • 2.95 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"
xmlns:tools="http://schemas.android.com/tools"
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:layout_marginTop="@dimen/thirtytwo_dp"
android:orientation="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<ScrollView
android:id="@+id/layout_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true">
<include layout="@layout/layout_credit_card_register" />
</ScrollView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/layout_container"
android:layout_margin="@dimen/sixteen_dp"
android:background="@drawable/grey_rounded_background"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="@dimen/eight_dp">
<ImageView
android:id="@+id/cc_badge"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/four_dp"
android:layout_marginLeft="@dimen/four_dp"
android:layout_marginRight="@dimen/four_dp"
android:layout_marginStart="@dimen/four_dp"
android:scaleType="centerInside"
android:src="@drawable/badge_full" />
</LinearLayout>
<include
android:id="@+id/btn_pay_container"
layout="@layout/layout_primary_button"/>
</RelativeLayout>
<LinearLayout
android:id="@+id/progress_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.93"
android:background="@color/white"
android:gravity="center_vertical|center_horizontal"
android:orientation="vertical"
android:visibility="gone"
tools: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>