2021-04-06 13:03:33 -03:00
|
|
|
<?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"
|
2022-09-15 11:05:07 -03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-04-06 13:03:33 -03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-09-15 11:05:07 -03:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:viewBindingIgnore="true">
|
2021-04-06 13:03:33 -03:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/edit_note_fragment_toolbar"
|
|
|
|
android:layout_width="match_parent"
|
2022-09-15 11:05:07 -03:00
|
|
|
android:layout_height="@dimen/signal_m3_toolbar_height"
|
|
|
|
android:minHeight="@dimen/signal_m3_toolbar_height"
|
2021-04-06 13:03:33 -03:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:navigationIcon="@drawable/ic_arrow_left_24"
|
|
|
|
app:title="@string/CreatePaymentFragment__add_note"
|
2022-09-15 11:05:07 -03:00
|
|
|
app:titleTextAppearance="@style/Signal.Text.TitleLarge" />
|
2021-04-06 13:03:33 -03:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.EmojiEditText
|
|
|
|
android:id="@+id/edit_note_fragment_edit_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:hint="@string/EditNoteFragment_note"
|
|
|
|
android:imeOptions="actionDone"
|
|
|
|
android:inputType="text|textCapSentences"
|
|
|
|
android:maxLength="40"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
|
android:id="@+id/edit_note_fragment_fab"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:tint="@color/core_white"
|
|
|
|
app:srcCompat="@drawable/ic_check_24" />
|
|
|
|
|
|
|
|
</LinearLayout>
|