You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
4.3 KiB
124 lines
4.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/moneroBlack"
|
|
android:orientation="vertical">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/pbProgress"
|
|
style="@android:style/Widget.ProgressBar.Horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8sp"
|
|
android:progressBackgroundTint="@color/colorPrimaryDark"
|
|
android:progressTint="@color/colorPrimary"
|
|
android:visibility="gone" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvAddress"
|
|
style="@style/MoneroText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4sp"
|
|
android:layout_marginTop="4sp"
|
|
android:hint="@string/send_address_hint"
|
|
android:selectAllOnFocus="true"
|
|
android:textAlignment="center"
|
|
android:textIsSelectable="true" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4sp"
|
|
android:layout_marginTop="4sp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="10">
|
|
|
|
<TextView
|
|
style="@style/MoneroText"
|
|
android:layout_width="0sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="8sp"
|
|
android:layout_weight="3"
|
|
android:text="@string/receive_paymentid_label"
|
|
android:textAlignment="textEnd" />
|
|
|
|
<EditText
|
|
android:id="@+id/etPaymentId"
|
|
style="@style/MoneroEdit"
|
|
android:layout_width="0sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="5"
|
|
android:enabled="false"
|
|
android:hint="@string/receive_paymentid_hint"
|
|
android:imeOptions="actionNext"
|
|
android:inputType="textMultiLine"
|
|
android:textAlignment="textStart" />
|
|
|
|
<Button
|
|
android:id="@+id/bPaymentId"
|
|
style="@style/MoneroButton.Small"
|
|
android:layout_width="0sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="2"
|
|
android:enabled="false"
|
|
android:minHeight="36sp"
|
|
android:text="@string/receive_paymentid_button" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4sp"
|
|
android:layout_marginTop="4sp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="10">
|
|
|
|
<TextView
|
|
style="@style/MoneroText"
|
|
android:layout_width="0sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="8sp"
|
|
android:layout_weight="3"
|
|
android:text="@string/send_amount_label"
|
|
android:textAlignment="textEnd" />
|
|
|
|
<EditText
|
|
android:id="@+id/etAmount"
|
|
style="@style/MoneroEdit"
|
|
android:layout_width="0sp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="7"
|
|
android:enabled="false"
|
|
android:hint="@string/receive_amount_hint"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="numberDecimal"
|
|
android:textAlignment="textStart" />
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/bGenerate"
|
|
style="@style/MoneroButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4sp"
|
|
android:layout_marginTop="4sp"
|
|
android:enabled="false"
|
|
android:minHeight="36sp"
|
|
android:text="@string/receive_generate_hint" />
|
|
|
|
<ImageView
|
|
android:id="@+id/qrCode"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_margin="16sp"
|
|
android:adjustViewBounds="true" />
|
|
|
|
<EditText
|
|
android:id="@+id/etDummy"
|
|
android:layout_width="0sp"
|
|
android:layout_height="0sp" />
|
|
|
|
</LinearLayout> |