54 lines
2.1 KiB
XML
54 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/note_edit_wrap"
|
|
android:visibility="gone">
|
|
|
|
<EditText
|
|
android:id="@+id/note_edit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingVertical="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="4dp"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:inputType="textMultiLine|textCapSentences"
|
|
android:singleLine="false"
|
|
android:drawableStart="@drawable/ic_fluent_notepad_20_regular"
|
|
android:drawablePadding="12dp"
|
|
android:drawableTint="?android:textColorSecondary"
|
|
android:background="@drawable/bg_note_edit"
|
|
android:paddingHorizontal="16dp"
|
|
android:elevation="0dp"
|
|
android:visibility="gone"
|
|
android:hint="@string/mo_personal_note"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/note_edit_confirm"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_fluent_checkmark_24_filled"
|
|
android:backgroundTint="#00000000"
|
|
android:layout_marginTop="2dp"
|
|
android:visibility="invisible"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:tooltipText="@string/mo_personal_note_confirm"
|
|
android:contentDescription="@string/mo_personal_note_confirm" />
|
|
|
|
</FrameLayout>
|
|
|
|
<me.grishka.appkit.views.UsableRecyclerView
|
|
android:id="@+id/list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="vertical"
|
|
android:clipToPadding="false"/>
|
|
|
|
</LinearLayout> |