react-native-midtrans-payment-gateway
Version:
Midtrans payment gateway forked from 'https://github.com/aldente05/react-native-payment-gateway'
61 lines (55 loc) • 2.52 kB
text/xml
<RelativeLayout 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:layout_alignParentBottom="true"
android:gravity="center_vertical"
android:paddingBottom="@dimen/eight_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="6dp">
<RelativeLayout
android:id="@+id/layout_amount"
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_centerVertical="true"
android:text="@string/payable_amount"
android:textColor="@color/black"
android:textSize="@dimen/primary_text_size" />
<com.midtrans.sdk.uikit.widgets.BoldTextView
android:id="@+id/text_amount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:drawablePadding="@dimen/eight_dp"
android:drawableRight="@drawable/ic_amount_detail"
android:textColor="@color/black"
android:textSize="@dimen/header_text_size"
tools:text="Rp 170.845" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/layout_amount">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="@string/order_id"
android:textSize="@dimen/secondary_text_size" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:id="@+id/text_order_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:drawablePadding="@dimen/eight_dp"
android:textSize="@dimen/secondary_text_size"
tools:text="order-001" />
</RelativeLayout>
</RelativeLayout>