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

Aus Android Wiki
Version vom 18. Dezember 2015, 03:24 Uhr von FuzzyBot (Diskussion | Beiträge) (FuzzyBot verschob die Seite Translations:Android Training/Eine einfache Benutzeroberfläche erstellen/17/en nach Translations:Android Training/Building a Simple User Interface/17/en, ohne dabei eine Weiterleitung anzulegen: Teil der übersetzba…)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

android:hint[Quelltext bearbeiten]

This is a default string to display when the text field is empty. Instead of using a hard-coded string as the value, the "@string/edit_message" value refers to a string resource defined in a separate file. Because this refers to a concrete resource (not just an identifier), it does not need the plus sign. However, because you haven't defined the string resource yet, you’ll see a compiler error at first. You'll fix this in the next section by defining the string.