| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | xmlns:tools="http://schemas.android.com/tools" |
| 5 | android:id="@+id/mainRoot" |
| 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" |
| 8 | tools:context=".AndroidReaderActivity"> |
| 9 | |
| 10 | <EditText |
| 11 | android:id="@+id/editText" |
| 12 | android:layout_width="177dp" |
| 13 | android:layout_height="38dp" |
| 14 | android:layout_marginStart="8dp" |
| 15 | android:layout_marginTop="8dp" |
| 16 | android:ems="10" |
| 17 | android:inputType="textPersonName" |
| 18 | android:text="@string/enter_text" |
| 19 | app:layout_constraintStart_toStartOf="parent" |
| 20 | app:layout_constraintTop_toTopOf="parent" /> |
| 21 | |
| 22 | <Button |
| 23 | android:id="@+id/button" |
| 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:layout_marginEnd="8dp" |
| 27 | android:layout_marginStart="8dp" |
| 28 | android:onClick="onClick" |
| 29 | android:text="Download if needed" |
| 30 | app:layout_constraintBottom_toBottomOf="@+id/editText" |
| 31 | app:layout_constraintEnd_toEndOf="parent" |
| 32 | app:layout_constraintHorizontal_bias="1.0" |
| 33 | app:layout_constraintStart_toEndOf="@+id/editText" /> |
| 34 | |
| 35 | <Button |
| 36 | android:id="@+id/button2" |
| 37 | android:layout_width="wrap_content" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_marginEnd="8dp" |
| 40 | android:layout_marginStart="8dp" |
| 41 | android:layout_marginTop="28dp" |
| 42 | android:onClick="buttonClick" |
| 43 | android:text="Add all sources" |
| 44 | app:layout_constraintEnd_toEndOf="parent" |
| 45 | app:layout_constraintHorizontal_bias="0.472" |
| 46 | app:layout_constraintStart_toStartOf="parent" |
| 47 | app:layout_constraintTop_toBottomOf="@+id/editText" /> |
| 48 | |
| 49 | <LinearLayout |
| 50 | android:id="@+id/dropZone" |
| 51 | android:layout_width="363dp" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_marginEnd="8dp" |
| 54 | android:layout_marginStart="8dp" |
| 55 | android:layout_marginTop="88dp" |
| 56 | android:orientation="vertical" |
| 57 | app:layout_constraintEnd_toEndOf="parent" |
| 58 | app:layout_constraintStart_toStartOf="parent" |
| 59 | app:layout_constraintTop_toBottomOf="@+id/editText"></LinearLayout> |
| 60 | |
| 61 | </android.support.constraint.ConstraintLayout> |