1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
xmlns : tools =" http://schemas.android.com/tools"
5
5
android : layout_width =" match_parent"
8
8
9
9
<ImageView
10
10
android : id =" @+id/imgVO"
11
- android : layout_width =" wrap_content "
12
- android : layout_height =" wrap_content "
13
- android : layout_marginTop = " 95dp "
11
+ android : layout_width =" 279dp "
12
+ android : layout_height =" 416dp "
13
+ android : src = " @drawable/friends "
14
14
app : layout_constraintEnd_toEndOf =" parent"
15
15
app : layout_constraintStart_toStartOf =" parent"
16
16
app : layout_constraintTop_toTopOf =" parent"
17
- tools : srcCompat = " @tools:sample/avatars " />
17
+ android : layout_centerHorizontal = " true " />
18
18
19
19
<Button
20
20
android : id =" @+id/btnDetect"
21
21
android : layout_width =" wrap_content"
22
22
android : layout_height =" wrap_content"
23
23
android : layout_marginBottom =" 76dp"
24
24
android : text =" Detect"
25
- app : layout_constraintBottom_toBottomOf =" parent"
26
- app : layout_constraintEnd_toEndOf =" @+id/imgVO"
27
- app : layout_constraintStart_toStartOf =" @+id/imgVO"
28
- app : layout_constraintTop_toBottomOf =" @+id/imgVO" />
25
+ android : layout_centerHorizontal =" true"
26
+ android : layout_below =" @id/imgVO" />
29
27
30
- </androidx .constraintlayout.widget.ConstraintLayout >
28
+ </RelativeLayout >
0 commit comments