11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- xmlns : app =" http://schemas.android.com/apk/res-auto"
2+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
43 xmlns : tools =" http://schemas.android.com/tools"
54 android : layout_width =" match_parent"
65 android : layout_height =" match_parent"
76 tools : context =" .MainActivity" >
87
9- <TextView
10- android : layout_width =" wrap_content "
8+ <EditText android : id = " @+id/edit_text "
9+ android : layout_width =" match_parent "
1110 android : layout_height =" wrap_content"
12- android : text =" Hello World!"
13- app : layout_constraintBottom_toBottomOf =" parent"
14- app : layout_constraintLeft_toLeftOf =" parent"
15- app : layout_constraintRight_toRightOf =" parent"
16- app : layout_constraintTop_toTopOf =" parent" />
11+ android : layout_alignParentTop =" true"
12+ android : hint =" Keyword"
13+ android : inputType =" text" />
1714
18- </androidx .constraintlayout.widget.ConstraintLayout>
15+ <ListView android : id =" @+id/list_view"
16+ android : layout_width =" match_parent"
17+ android : layout_height =" match_parent"
18+ android : layout_alignParentBottom =" true"
19+ android : layout_below =" @id/edit_text"
20+ tools : listitem =" @layout/list_item" />
21+
22+ </RelativeLayout >
0 commit comments