TableLayout.LayoutParams
public
static
class
TableLayout.LayoutParams
extends LinearLayout.LayoutParams
| java.lang.Object | ||||
| ↳ | android.view.ViewGroup.LayoutParams | |||
| ↳ | android.view.ViewGroup.MarginLayoutParams | |||
| ↳ | android.widget.LinearLayout.LayoutParams | |||
| ↳ | android.widget.TableLayout.LayoutParams | |||
This set of layout parameters enforces the width of each child to be
MATCH_PARENT and the height of each child to be
WRAP_CONTENT, but only if the height is not specified.
Summary
Inherited XML attributes | |
|---|---|
android.widget.LinearLayout.LayoutParams
| |
android.view.ViewGroup.MarginLayoutParams
| |
android.view.ViewGroup.LayoutParams
| |
Inherited constants |
|---|
android.view.ViewGroup.LayoutParams
|
Inherited fields |
|---|
android.widget.LinearLayout.LayoutParams
|
android.view.ViewGroup.MarginLayoutParams
|
android.view.ViewGroup.LayoutParams
|
Public constructors | |
|---|---|
TableLayout.LayoutParams(Context c, AttributeSet attrs)
|
|
TableLayout.LayoutParams(int w, int h)
|
|
TableLayout.LayoutParams(int w, int h, float initWeight)
|
|
TableLayout.LayoutParams()
Sets the child width to
|
|
TableLayout.LayoutParams(ViewGroup.LayoutParams p)
|
|
TableLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
|
|
Protected methods | |
|---|---|
void
|
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
Fixes the row's width to
|
Inherited methods | |
|---|---|
android.widget.LinearLayout.LayoutParams
| |
android.view.ViewGroup.MarginLayoutParams
| |
android.view.ViewGroup.LayoutParams
| |
java.lang.Object
| |
Public constructors
TableLayout.LayoutParams
TableLayout.LayoutParams (Context c, AttributeSet attrs)
| Parameters | |
|---|---|
c |
Context |
attrs |
AttributeSet |
TableLayout.LayoutParams
TableLayout.LayoutParams (int w,
int h)
| Parameters | |
|---|---|
w |
int |
h |
int |
TableLayout.LayoutParams
TableLayout.LayoutParams (int w,
int h,
float initWeight)
| Parameters | |
|---|---|
w |
int |
h |
int |
initWeight |
float |
TableLayout.LayoutParams
TableLayout.LayoutParams ()
Sets the child width to
ViewGroup.LayoutParams and the child height to
WRAP_CONTENT.
TableLayout.LayoutParams
TableLayout.LayoutParams (ViewGroup.LayoutParams p)
| Parameters | |
|---|---|
p |
ViewGroup.LayoutParams |
TableLayout.LayoutParams
TableLayout.LayoutParams (ViewGroup.MarginLayoutParams source)
| Parameters | |
|---|---|
source |
ViewGroup.MarginLayoutParams |
Protected methods
setBaseAttributes
void setBaseAttributes (TypedArray a, int widthAttr, int heightAttr)
Fixes the row's width to
MATCH_PARENT; the row's
height is fixed to
WRAP_CONTENT if no layout
height is specified.
| Parameters | |
|---|---|
a |
TypedArray: the styled attributes set |
widthAttr |
int: the width attribute to fetch |
heightAttr |
int: the height attribute to fetch
|
Annotations
Interfaces
- AbsListView.MultiChoiceModeListener
- AbsListView.OnScrollListener
- AbsListView.RecyclerListener
- AbsListView.SelectionBoundsAdjuster
- ActionMenuView.OnMenuItemClickListener
- Adapter
- AdapterView.OnItemClickListener
- AdapterView.OnItemLongClickListener
- AdapterView.OnItemSelectedListener
- Advanceable
- AutoCompleteTextView.OnDismissListener
- AutoCompleteTextView.Validator
- CalendarView.OnDateChangeListener
- Checkable
- Chronometer.OnChronometerTickListener
- CompoundButton.OnCheckedChangeListener
- DatePicker.OnDateChangedListener
- ExpandableListAdapter
- ExpandableListView.OnChildClickListener
- ExpandableListView.OnGroupClickListener
- ExpandableListView.OnGroupCollapseListener
- ExpandableListView.OnGroupExpandListener
- Filter.FilterListener
- Filterable
- FilterQueryProvider
- HeterogeneousExpandableList
- ListAdapter
- MediaController.MediaPlayerControl
- MultiAutoCompleteTextView.Tokenizer
- NumberPicker.Formatter
- NumberPicker.OnScrollListener
- NumberPicker.OnValueChangeListener
- PopupMenu.OnDismissListener
- PopupMenu.OnMenuItemClickListener
- PopupWindow.OnDismissListener
- RadioGroup.OnCheckedChangeListener
- RatingBar.OnRatingBarChangeListener
- RemoteViewsService.RemoteViewsFactory
- SearchView.OnCloseListener
- SearchView.OnQueryTextListener
- SearchView.OnSuggestionListener
- SectionIndexer
- SeekBar.OnSeekBarChangeListener
- ShareActionProvider.OnShareTargetSelectedListener
- SimpleAdapter.ViewBinder
- SimpleCursorAdapter.CursorToStringConverter
- SimpleCursorAdapter.ViewBinder
- SimpleCursorTreeAdapter.ViewBinder
- SlidingDrawer.OnDrawerCloseListener
- SlidingDrawer.OnDrawerOpenListener
- SlidingDrawer.OnDrawerScrollListener
- SpinnerAdapter
- TabHost.OnTabChangeListener
- TabHost.TabContentFactory
- TextView.OnEditorActionListener
- ThemedSpinnerAdapter
- TimePicker.OnTimeChangedListener
- Toolbar.OnMenuItemClickListener
- ViewSwitcher.ViewFactory
- WrapperListAdapter
- ZoomButtonsController.OnZoomListener
Classes
- AbsListView
- AbsListView.LayoutParams
- AbsoluteLayout
- AbsoluteLayout.LayoutParams
- AbsSeekBar
- AbsSpinner
- ActionMenuView
- ActionMenuView.LayoutParams
- AdapterView
- AdapterView.AdapterContextMenuInfo
- AdapterViewAnimator
- AdapterViewFlipper
- AlphabetIndexer
- AnalogClock
- ArrayAdapter
- AutoCompleteTextView
- BaseAdapter
- BaseExpandableListAdapter
- Button
- CalendarView
- CheckBox
- CheckedTextView
- Chronometer
- CompoundButton
- CursorAdapter
- CursorTreeAdapter
- DatePicker
- DialerFilter
- DigitalClock
- EdgeEffect
- EditText
- ExpandableListView
- ExpandableListView.ExpandableListContextMenuInfo
- Filter
- Filter.FilterResults
- FrameLayout
- FrameLayout.LayoutParams
- Gallery
- Gallery.LayoutParams
- GridLayout
- GridLayout.Alignment
- GridLayout.LayoutParams
- GridLayout.Spec
- GridView
- HeaderViewListAdapter
- HorizontalScrollView
- ImageButton
- ImageSwitcher
- ImageView
- LinearLayout
- LinearLayout.LayoutParams
- ListPopupWindow
- ListView
- ListView.FixedViewInfo
- MediaController
- MultiAutoCompleteTextView
- MultiAutoCompleteTextView.CommaTokenizer
- NumberPicker
- OverScroller
- PopupMenu
- PopupWindow
- ProgressBar
- QuickContactBadge
- RadioButton
- RadioGroup
- RadioGroup.LayoutParams
- RatingBar
- RelativeLayout
- RelativeLayout.LayoutParams
- RemoteViews
- RemoteViewsService
- ResourceCursorAdapter
- ResourceCursorTreeAdapter
- Scroller
- ScrollView
- SearchView
- SeekBar
- ShareActionProvider
- SimpleAdapter
- SimpleCursorAdapter
- SimpleCursorTreeAdapter
- SimpleExpandableListAdapter
- SlidingDrawer
- Space
- Spinner
- StackView
- Switch
- TabHost
- TabHost.TabSpec
- TableLayout
- TableLayout.LayoutParams
- TableRow
- TableRow.LayoutParams
- TabWidget
- TextClock
- TextSwitcher
- TextView
- TextView.SavedState
- TimePicker
- Toast
- ToggleButton
- Toolbar
- Toolbar.LayoutParams
- TwoLineListItem
- VideoView
- ViewAnimator
- ViewFlipper
- ViewSwitcher
- ZoomButton
- ZoomButtonsController
- ZoomControls
Enums
Exceptions


