-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathactivity_main.xml
73 lines (68 loc) · 2.95 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
tools:layout_editor_absoluteY="81dp">
<EditText
android:id="@+id/edWord"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="65dp"
android:layout_marginBottom="27dp"
android:ems="10"
android:inputType="textPersonName"
android:text="Enter Word"
app:layout_constraintBottom_toTopOf="@+id/progressBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/edButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="54dp"
android:layout_marginBottom="44dp"
android:text="ENTER"
app:layout_constraintBottom_toTopOf="@+id/edString"
app:layout_constraintEnd_toStartOf="@+id/progressBar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/edWord" />
<TextView
android:id="@+id/edString"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:layout_marginBottom="3dp"
android:text="Word"
app:layout_constraintBottom_toTopOf="@+id/edSimilar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/edButton" />
<TextView
android:id="@+id/edSimilar"
android:layout_width="0dp"
android:layout_height="251dp"
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:layout_marginBottom="8dp"
android:text="Similar Words"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/edString" />
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyle"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginEnd="141dp"
android:layout_marginBottom="299dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/edButton"
app:layout_constraintTop_toBottomOf="@+id/edWord" />
</android.support.constraint.ConstraintLayout>