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
286 lines (254 loc) • 13.1 kB
text/xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView 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"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/sixteen_dp"
android:layout_marginLeft="@dimen/sixteen_dp"
android:layout_marginTop="@dimen/sixteen_dp"
android:text="@string/title_instruction_permata"
android:textColor="@color/dark_gray"
android:textSize="@dimen/primary_text_size" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:gravity="top"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_1"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_1" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/permata_instruction_step1"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_2"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_2" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lineSpacingExtra="2dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:text="@string/permata_instruction_step2"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_3"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_3" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lineSpacingExtra="2dp"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/permata_instruction_step3"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_4"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_4" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lineSpacingExtra="2dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:text="@string/permata_instruction_step4"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_5"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_5" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/eight_dp"
android:lineSpacingExtra="2dp"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/permata_instruction_step5"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:id="@+id/no_six_instruction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_6"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:id="@+id/sixth_image_instruction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toEndOf="@id/no_six_instruction"
android:layout_toRightOf="@id/no_six_instruction"
android:src="@drawable/instruction_permata_6" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@id/sixth_image_instruction"
android:layout_toRightOf="@id/sixth_image_instruction"
android:gravity="center_vertical"
android:lineSpacingExtra="2dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:text="@string/permata_instruction_step6"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:gravity="top"
android:orientation="horizontal"
android:paddingBottom="@dimen/eight_dp"
android:paddingTop="@dimen/eight_dp">
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/eight_dp"
android:paddingRight="@dimen/eight_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/instruction_7"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/instruction_permata_7" />
<com.midtrans.sdk.uikit.widgets.DefaultTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/light_gray"
android:paddingBottom="@dimen/five_dp"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:paddingTop="@dimen/five_dp"
android:text="@string/permata_instruction_step7"
android:textColor="@color/black"
android:textSize="@dimen/secondary_text_size" />
</LinearLayout>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>