vigour-pay
Version:
Native store purchasing and web payment
59 lines (50 loc) • 1.92 kB
text/xml
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_horizontal_margin"
tools:context=".MainActivity">
<TextView
android:id="@+id/screen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="Test the plugin with these buttons"
android:textSize="18sp"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="getProducts"
android:text="getProducts"
/>
<Space
android:layout_width="match_parent"
android:layout_height="8dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="buySingle"
android:text="buySingle"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="buyMonthly"
android:text="buyMonthly"
/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="buyYearly"
android:text="buyYearly"
/>
</LinearLayout>
</ScrollView>