Zum Inhalt springen

Android Training/Building a Simple User Interface: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
(Bidunterschrift auch übersetzbar machen)
Keine Bearbeitungszusammenfassung
Zeile 5: Zeile 5:


<!--T:2-->
<!--T:2-->
The graphical user interface for an Android app is built using a hierarchy of View and ViewGroup objects. View objects are usually UI widgets such as buttons or text fields. ViewGroup objects are invisible view containers that define how the child views are laid out, such as in a grid or a vertical list.
The graphical user interface for an Android app is built using a hierarchy of <code>View</code> and <code>ViewGroup</code> objects. <code>View</code> objects are usually UI widgets such as buttons or text fields. <code>ViewGroup</code> objects are invisible view containers that define how the child views are laid out, such as in a grid or a vertical list.


<!--T:3-->
<!--T:3-->
Android provides an XML vocabulary that corresponds to the subclasses of View and ViewGroup so you can define your UI in XML using a hierarchy of UI elements.
Android provides an XML vocabulary that corresponds to the subclasses of <code>View</code> and <code>ViewGroup</code> so you can define your UI in XML using a hierarchy of UI elements.


<!--T:4-->
<!--T:4-->
Layouts are subclasses of the ViewGroup. In this exercise, you'll work with a LinearLayout.
<code>Layouts</code> are subclasses of the <code>ViewGroup</code>. In this exercise, you'll work with a <code>LinearLayout</code>.


== Create a Linear Layout == <!--T:5-->
== Create a Linear Layout == <!--T:5-->
11.008

Bearbeitungen

Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.