1<?xml version="1.0" encoding="utf-8"?>
2<androidx.constraintlayout.widget.ConstraintLayout
3    xmlns:android="http://schemas.android.com/apk/res/android"
4    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
5    xmlns:app="http://schemas.android.com/apk/res-auto"
6    android:id="@+id/editor_root"
7    android:layout_width="match_parent"
8    android:layout_height="match_parent">
9
10    <Button
11        android:id="@+id/done_button"
12        style="@style/EditTextActivityButton"
13        android:layout_width="wrap_content"
14        android:layout_height="48dp"
15        android:layout_marginTop="8dp"
16        android:layout_marginStart="12dp"
17        android:paddingHorizontal="16dp"
18        android:background="@drawable/overlay_button_background"
19        android:text="@string/clipboard_edit_text_done"
20        android:backgroundTint="?androidprv:attr/materialColorPrimary"
21        android:textColor="?androidprv:attr/materialColorOnPrimary"
22        app:layout_constraintStart_toStartOf="parent"
23        app:layout_constraintTop_toTopOf="parent" />
24
25    <TextView
26        android:id="@+id/attribution"
27        android:layout_width="wrap_content"
28        android:layout_height="wrap_content"
29        android:layout_marginTop="40dp"
30        android:layout_marginStart="4dp"
31        android:textColor="?android:attr/textColorSecondary"
32        app:layout_constraintStart_toStartOf="@id/done_button"
33        app:layout_constraintTop_toBottomOf="@id/done_button" />
34
35    <ScrollView
36        android:layout_width="0dp"
37        android:layout_height="0dp"
38        android:layout_marginTop="8dp"
39        android:layout_marginEnd="16dp"
40        app:layout_constraintStart_toStartOf="@id/attribution"
41        app:layout_constraintEnd_toEndOf="parent"
42        app:layout_constraintTop_toBottomOf="@id/attribution"
43        app:layout_constraintBottom_toBottomOf="parent"
44    >
45
46        <EditText
47            android:id="@+id/edit_text"
48            android:layout_width="match_parent"
49            android:layout_height="wrap_content"
50            android:minHeight="48dp"
51            android:background="@null"
52            android:gravity="start|top"
53            android:textSize="24sp" />
54    </ScrollView>
55
56</androidx.constraintlayout.widget.ConstraintLayout>
57