UNPKG

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

180 lines (154 loc) 7.67 kB
<?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="wrap_content" android:background="@android:color/white" app:layout_behavior="@string/appbar_scrolling_view_behavior"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.design.widget.TextInputLayout android:id="@+id/til_indosat_phone_number" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp" android:paddingTop="@dimen/sixteen_dp"> <android.support.v7.widget.AppCompatEditText android:id="@+id/et_indosat_phone_number" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/hint_indosat_phone_number" android:inputType="phone" android:maxLength="15" android:maxLines="1" /> </android.support.design.widget.TextInputLayout> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/sixteen_dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp" android:text="@string/instruction" android:textColor="@color/dark_gray" android:textSize="@dimen/primary_text_size" /> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/sixteen_dp" 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"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction1" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_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:layout_marginTop="@dimen/eight_dp" android:lineSpacingExtra="2dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction2" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_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:layout_marginTop="@dimen/eight_dp" android:background="@color/light_gray" android:lineSpacingExtra="2dp" android:paddingBottom="@dimen/five_dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp" android:paddingTop="@dimen/five_dp"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction3" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_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:layout_marginTop="@dimen/eight_dp" android:lineSpacingExtra="2dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction4" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_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:layout_marginTop="@dimen/eight_dp" android:background="@color/light_gray" android:lineSpacingExtra="2dp" android:paddingBottom="@dimen/five_dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp" android:paddingTop="@dimen/five_dp"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction5" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_instruction_step5" android:textColor="@color/black" android:textSize="@dimen/secondary_text_size" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/eight_dp" android:lineSpacingExtra="2dp" android:paddingLeft="@dimen/sixteen_dp" android:paddingRight="@dimen/sixteen_dp"> <TextView android:layout_width="@dimen/twenty_four_dp" android:layout_height="wrap_content" android:text="@string/number_instruction6" /> <com.midtrans.sdk.uikit.widgets.DefaultTextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/indosat_instruction_step6" android:textColor="@color/black" android:textSize="@dimen/secondary_text_size" /> </LinearLayout> </LinearLayout> </android.support.v4.widget.NestedScrollView>