141 lines
5.3 KiB
XML
141 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fillViewport="true"
|
|
android:scrollbars="none" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="24dp"
|
|
android:layout_marginTop="24dp"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:orientation="vertical" >
|
|
|
|
<RadioGroup
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="horizontal" >
|
|
|
|
<RadioButton
|
|
android:id="@+id/sample_network_mainnet"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="Mainnet" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/sample_network_testnet"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8dp"
|
|
android:text="Testnet" />
|
|
</RadioGroup>
|
|
|
|
<TextView
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="20dp"
|
|
android:text="This demonstrates the integration of a "Donate Dashs" button in your app." />
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0px"
|
|
android:layout_weight="1" >
|
|
|
|
<Button
|
|
android:id="@+id/sample_donate_button"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Donate" />
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="20dp"
|
|
android:text="Here is a more complex request for a payment to two addresses." />
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0px"
|
|
android:layout_weight="1" >
|
|
|
|
<Button
|
|
android:id="@+id/sample_request_button"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Request" />
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/sample_donate_message"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="256dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="20dp"
|
|
android:minLines="3"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="24dp"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:text="Inter App Communication." />
|
|
|
|
<Button
|
|
android:id="@+id/sample_send_payment_request"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Payment request" />
|
|
|
|
<Button
|
|
android:id="@+id/sample_send_public_key_request"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Master Public Key request" />
|
|
|
|
<Button
|
|
android:id="@+id/sample_send_address_request"
|
|
style="@android:style/TextAppearance.Medium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="Address for Payment request" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|