Suchergebnisse
Erstelle die Seite „Android Training/Content“ in diesem Wiki. Siehe auch die gefundenen Suchergebnisse.
- Add the TextView to the RelativeLayout identified by R.id.content.…186 Bytes (11 Wörter) - 21:22, 20. Dez. 2015
- In Android Studio, from the res/layout directory, edit the content_my.xml file. Add the android:onClick attribute to the <Button> element.…386 Bytes (22 Wörter) - 21:27, 20. Dez. 2015
- Die EditText und Button Widgets haben als Breite "wrap_content" gesetzt.…72 Bytes (11 Wörter) - 03:24, 18. Dez. 2015
- The EditText and Button widgets have their widths set to "wrap_content".…72 Bytes (12 Wörter) - 03:24, 18. Dez. 2015
- In the res/layout directory, edit the content_display_message.xml file. Add an android:id attribute to the RelativeLayout. You need this attribute to reference…264 Bytes (31 Wörter) - 21:22, 20. Dez. 2015
- the EditText and Button widgets are only as big as necessary to fit their content, as shown in the picture.…179 Bytes (28 Wörter) - 03:24, 18. Dez. 2015
- Continue to the next lesson to learn how to respond to button presses, read content from the text field, start another activity, and more.…138 Bytes (24 Wörter) - 03:24, 18. Dez. 2015
- next lesson, your app responds when the button is pressed by sending the content of the text field to another activity.…210 Bytes (40 Wörter) - 03:24, 18. Dez. 2015
- @+id/edit_message. Define the layout_width and layout_height attributes as wrap_content. Define a hint attribute as a string object named edit_message.…383 Bytes (45 Wörter) - 03:24, 18. Dez. 2015
- Definiere für die Attribute layout_width und layout_height den Wert wrap_content. Definiere ein hint Attribut als string-Objekt mit dem Namen edit_message…424 Bytes (50 Wörter) - 03:24, 18. Dez. 2015
- 0 verbessert die Leistungsfähigkeit, weil bei der Verwendung von "wrap_content" als Breite das System die Breite berechnen muss, welche letztlich irrelevant…456 Bytes (67 Wörter) - 19:17, 18. Dez. 2015
- Setting the width to zero improves layout performance because using "wrap_content" as the width requires the system to calculate a width that is ultimately…405 Bytes (61 Wörter) - 03:24, 18. Dez. 2015
- Anstelle von festen Größen für die Breite und Höhe, gibt der Wert "wrap_content" an, dass das View so groß wie nötig sein soll um die Inhalte anzuzeigen…692 Bytes (57 Wörter) - 03:24, 18. Dez. 2015
- In Android Studio, from the res/layout directory, edit the activity_my.xml file. Within the <LinearLayout> element, define a <Button> element immediately…817 Bytes (82 Wörter) - 03:24, 18. Dez. 2015
- Bearbeite die Datei activity_my.xml aus dem Ordner res/layout in Android Studio. Definiere im <LinearLayout> Element, direkt nach dem <EditText> Element…869 Bytes (83 Wörter) - 03:24, 18. Dez. 2015
- the width and height, the "wrap_content" value specifies that the view should be only as big as needed to fit the contents of the view. If you were to instead…682 Bytes (65 Wörter) - 03:24, 18. Dez. 2015
- The file names must be exactly the same, but their contents are different in order to provide an optimized UI for the corresponding screen size.…144 Bytes (25 Wörter) - 04:51, 21. Dez. 2015
- the View that was clicked) Next, you’ll fill in this method to read the contents of the text field and deliver that text to another activity.…504 Bytes (70 Wörter) - 21:22, 20. Dez. 2015