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

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

To improve the layout efficiency when you specify the weight, you should change the width of the EditText to be zero (0dp). 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 irrelevant because the weight value requires another width calculation to fill the remaining space.