fddba2906a
Co-authored-by: Alan Evans <alan@signal.org> Co-authored-by: Alex Hart <alex@signal.org> Co-authored-by: Cody Henthorne <cody@signal.org>
43 lines
No EOL
1.7 KiB
XML
43 lines
No EOL
1.7 KiB
XML
<?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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/edit_note_fragment_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:navigationIcon="@drawable/ic_arrow_left_24"
|
|
app:title="@string/CreatePaymentFragment__add_note"
|
|
app:titleTextAppearance="@style/TextAppearance.Signal.Body1.Bold" />
|
|
|
|
<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> |