72 lines
2.7 KiB
XML
72 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2021 Dash Core Group.
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="20dp"
|
|
tools:cotext="de.schildbach.wallet.ui.dashpay.transactions.PrivateMemoDialog">
|
|
|
|
<ImageButton
|
|
android:id="@+id/collapse_button"
|
|
style="@style/DialogCloseButton" />
|
|
|
|
<TextView
|
|
style="@style/Headline3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:text="@string/private_memo" />
|
|
|
|
<org.dash.wallet.common.ui.text.InputWrapper
|
|
android:id="@+id/input_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="26dp"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:hint="@string/note"
|
|
app:endIconMode="clear_text"
|
|
app:counterEnabled="true">
|
|
|
|
<EditText
|
|
android:id="@+id/memo_input"
|
|
style="@style/Body2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:maxLines="2"
|
|
android:singleLine="false" />
|
|
</org.dash.wallet.common.ui.text.InputWrapper>
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
android:id="@+id/continue_btn"
|
|
style="@style/Button.Primary.Large.Blue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
android:enabled="false"
|
|
android:text="@string/save" />
|
|
</LinearLayout> |