utxo_details_options_bottomsheet.xml 6 KB
Newer Older
Sarath's avatar
Sarath committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/bottom_sheet"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/windowDark"
    android:orientation="vertical"
    app:behavior_hideable="false"
    app:behavior_peekHeight="90dp"
    android:paddingBottom="12dp"
    app:layout_behavior="android.support.design.widget.BottomSheetBehavior">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
Wallet Guy's avatar
Wallet Guy committed
17
        android:layout_marginStart="0dp"
18 19
        android:padding="18dp"
        android:text="Advanced"
Wallet Guy's avatar
Wallet Guy committed
20 21
        android:textColor="@color/accent"
        android:textStyle="bold" />
Sarath's avatar
Sarath committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74

    <LinearLayout
        android:id="@+id/utxo_details_option_spend"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?attr/selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        android:orientation="vertical"
        android:padding="18dp"
        android:paddingStart="20dp"
        android:paddingEnd="20dp"
        >

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="4dp"
            android:text="Spend"
            android:textColor="@color/white"
            android:textSize="15sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Use this UTXO to compose a new transaction. Only this\nUTXO will be used as an input to the transaction"
            android:textAppearance="@style/TextAppearance.AppCompat.Caption"
            android:textSize="12sp" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/utxo_details_option_status"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?attr/selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        android:orientation="vertical"
        android:padding="18dp"
        android:paddingStart="20dp"
        android:paddingEnd="20dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="4dp"
            android:text="Spending Status"
            android:textColor="@color/white"
            android:textSize="15sp" />

        <TextView
            android:layout_width="match_parent"
75
            android:id="@+id/utxo_details_spending_status"
Sarath's avatar
Sarath committed
76
            android:layout_height="wrap_content"
77
            android:text="@string/this_utxo_is_marked_as_spendable"
Sarath's avatar
Sarath committed
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
            android:textAppearance="@style/TextAppearance.AppCompat.Caption"
            android:textSize="12sp" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/utxo_details_option_sign"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?attr/selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        android:orientation="vertical"
        android:padding="18dp"
        android:paddingStart="20dp"
        android:paddingEnd="20dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="4dp"
            android:text="Sign Message"
            android:textColor="@color/white"
            android:textSize="15sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Sign a message with the private key for this address"
            android:textAppearance="@style/TextAppearance.AppCompat.Caption"
            android:textSize="12sp" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/utxo_details_option_private_key"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?attr/selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        android:orientation="vertical"
        android:padding="18dp"
        android:paddingStart="20dp"
        android:paddingEnd="20dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="4dp"
            android:text="Private Key"
            android:textColor="@color/white"
            android:textSize="15sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Generate the private key for this address"
            android:textAppearance="@style/TextAppearance.AppCompat.Caption"
            android:textSize="12sp" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/utxo_details_option_redeem"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="?attr/selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        android:orientation="vertical"
        android:padding="18dp"
        android:paddingStart="20dp"
        android:paddingEnd="20dp">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="4dp"
            android:text="Redeem Script"
            android:textColor="@color/white"
            android:textSize="15sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/reveal_the_redeem_script_for_this_address"
            android:textAppearance="@style/TextAppearance.AppCompat.Caption"
            android:textSize="12sp" />

    </LinearLayout>


</LinearLayout>