react-native-midtrans-payment-gateway
Version:
Midtrans payment gateway forked from 'https://github.com/aldente05/react-native-payment-gateway'
39 lines (34 loc) • 1.56 kB
text/xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/btn_pay_container"
android:layout_width="match_parent"
android:layout_height="@dimen/button_size"
android:layout_alignParentBottom="true"
android:clipToPadding="false"
android:padding="6dp">
<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cardCornerRadius="@dimen/two_dp"
app:cardElevation="@dimen/two_dp"
app:cardUseCompatPadding="true">
<com.midtrans.sdk.uikit.widgets.FancyButton
android:id="@+id/button_primary"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:fb_defaultColor="@color/gray.primary"
app:fb_focusColor="@color/colorAccentLight"
app:fb_radius="@dimen/two_dp"
app:fb_text="@string/pay_now"
app:fb_textGravity="center_vertical"
app:fb_textSize="@dimen/button_primary_text_size" />
<ImageView
android:id="@+id/button_chevron"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="right"
android:layout_marginEnd="@dimen/four_dp"
android:layout_marginRight="@dimen/four_dp"
android:src="@drawable/ic_arrow_right_white" />
</android.support.v7.widget.CardView>
</RelativeLayout>