Translations:Android Training/Building a Simple User Interface/12/en

Aus Android Wiki
Zur Navigation springen Zur Suche springen
  1. In the activity_my.xml file, within the <LinearLayout> element, define an <EditText> element with the id attribute set to @+id/edit_message.
  2. Define the layout_width and layout_height attributes as wrap_content.
  3. Define a hint attribute as a string object named edit_message.