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
72 lines (61 loc) • 3.06 kB
text/xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/twenty_four_dp"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.design.widget.TextInputLayout
android:id="@+id/card_number_container"
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/edit_gci_card_number"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:digits="0123456789 "
android:hint="@string/hint_giftcard_number"
android:imeOptions="actionNext"
android:inputType="number"
android:lines="1"
android:maxLength="19" />
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:id="@+id/password_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/card_number_container"
android:paddingLeft="@dimen/sixteen_dp"
android:paddingRight="@dimen/sixteen_dp"
android:paddingTop="@dimen/sixteen_dp">
<android.support.v7.widget.AppCompatEditText
android:id="@+id/edit_gci_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_giftcard_password"
android:imeOptions="actionDone"
android:inputType="numberPassword"
android:maxLength="6"
android:maxLines="1" />
</android.support.design.widget.TextInputLayout>
</RelativeLayout>
</android.support.v4.widget.NestedScrollView>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/btn_confirm_payment"
android:layout_margin="@dimen/sixteen_dp"
android:background="@color/faint_yellow"
android:padding="@dimen/eight_dp"
android:text="@string/info_gci_payment" />
</LinearLayout>