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

From Android Wiki
Revision as of 03:24, 18 December 2015 by FuzzyBot (talk | contribs) (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…)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

android:hint[edit source]

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.