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
75 lines (67 loc) • 3.03 kB
text/xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_vertical"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
tools:background="@color/navy_blue.primary">
<RelativeLayout
android:gravity="center_vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/sixteen_dp"
android:layout_marginBottom="@dimen/sixteen_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:id="@+id/total_amount"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:textColor="@color/white"
android:textSize="@dimen/header_text_size"
tools:text="Rp. 120.000" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_centerVertical="true"
android:textStyle="bold"
android:id="@+id/payable_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/payable_amount"
android:textColor="@color/white"
android:textSize="@dimen/primary_text_size" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/item_details_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/text_price"
android:textColor="@color/white"
android:textSize="@dimen/small_text_size" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:text="@string/text_items"
android:textColor="@color/white"
android:textSize="@dimen/small_text_size" />
</RelativeLayout>
<View
android:id="@+id/divider"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginBottom="@dimen/four_dp"
android:layout_marginTop="@dimen/four_dp"
android:background="@color/gray_divider" />
</LinearLayout>