• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:app="http://schemas.android.com/apk/res-auto"
5    android:layout_width="match_parent"
6    android:layout_height="match_parent">
7
8    <Button
9        android:id="@+id/done_button"
10        style="@style/EditTextActivityButton"
11        android:layout_width="wrap_content"
12        android:layout_height="48dp"
13        android:layout_marginTop="8dp"
14        android:layout_marginStart="12dp"
15        android:paddingHorizontal="16dp"
16        android:background="@drawable/overlay_button_background"
17        android:text="@string/clipboard_edit_text_done"
18        app:layout_constraintStart_toStartOf="parent"
19        app:layout_constraintTop_toTopOf="parent" />
20
21    <TextView
22        android:id="@+id/attribution"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:layout_marginTop="40dp"
26        android:layout_marginStart="4dp"
27        android:textColor="?android:attr/textColorSecondary"
28        app:layout_constraintStart_toStartOf="@id/done_button"
29        app:layout_constraintTop_toBottomOf="@id/done_button" />
30
31    <ScrollView
32        android:layout_width="0dp"
33        android:layout_height="0dp"
34        android:layout_marginTop="8dp"
35        android:layout_marginEnd="16dp"
36        app:layout_constraintStart_toStartOf="@id/attribution"
37        app:layout_constraintEnd_toEndOf="parent"
38        app:layout_constraintTop_toBottomOf="@id/attribution"
39        app:layout_constraintBottom_toBottomOf="parent"
40    >
41
42        <EditText
43            android:id="@+id/edit_text"
44            android:layout_width="match_parent"
45            android:layout_height="wrap_content"
46            android:minHeight="48dp"
47            android:background="@null"
48            android:gravity="start|top"
49            android:textSize="24sp" />
50    </ScrollView>
51
52</androidx.constraintlayout.widget.ConstraintLayout>
53