Új hozzászólás Aktív témák

  • lanszelot
    addikt
    válasz thon73 üzenetére #3060

    Most ezzel a két sorral van baja:

    android:id="@+id/saveButton"

    és a

    android:text="save" />

    alsónál a "save" ra ha ráviszem az egeret ezt írja ki:

    [I18N] Hardcoded string "save", should use @string resource less... (⌘F1)
    Hardcoding text attributes directly in layout files is bad for several reasons: * When creating configuration variations (for example for landscape or portrait)you have to repeat the actual text (and keep it up to date when making changes) * The application cannot be translated to other languages by just adding new translations for existing string resources. In Android Studio and Eclipse there are quickfixes to automatically extract this hardcoded string into a resource lookup.

Új hozzászólás Aktív témák