Widgets have some sort of size, // since a zero-pixel-high, // zero-pixel-wide // widget is not
especially user-friendly. // Sometimes, that size will be dictated // by what is inside the
widget itself, // such as a label (TextView) // having a size dictated // by the text in the
label. // Sometimes, that size will be dictated // by the size of whatever holds the widget
(a “container”, described in the next section), // where the widget wants to take up all
remaining width and/or height. // Sometimes, that size will be a specific set of
dimensions.
Widgets have some sort of size, // since a zero-pixel-high, // zero-pixel-wide // widget is notespecially user-friendly. // Sometimes, that size will be dictated // by what is inside thewidget itself, // such as a label (TextView) // having a size dictated // by the text in thelabel. // Sometimes, that size will be dictated // by the size of whatever holds the widget(a “container”, described in the next section), // where the widget wants to take up allremaining width and/or height. // Sometimes, that size will be a specific set ofdimensions.
การแปล กรุณารอสักครู่..