Translations:Android Training/Building a Simple User Interface/12/en
- In the
activity_my.xml
file, within the<LinearLayout>
element, define an<EditText>
element with the id attribute set to @+id/edit_message. - Define the
layout_width
andlayout_height
attributes aswrap_content
. - Define a
hint
attribute as a string object namededit_message
.