public static class

SegmentedButtonGroup.LayoutParams

extends LinearLayout.LayoutParams
java.lang.Object
   ↳ android.view.ViewGroup.LayoutParams
     ↳ android.view.ViewGroup.MarginLayoutParams
       ↳ android.widget.LinearLayout.LayoutParams
         ↳ com.droidux.pack.action.widget.SegmentedButtonGroup.LayoutParams

Class Overview

This set of layout parameters defaults the width and the height of the children to WRAP_CONTENT when they are not specified in the XML file. Otherwise, this class used the value read from the XML file.

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup.LayoutParams
[Expand]
Inherited Fields
From class android.widget.LinearLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
Public Constructors
SegmentedButtonGroup.LayoutParams(Context c, AttributeSet attrs)
SegmentedButtonGroup.LayoutParams(int w, int h)
SegmentedButtonGroup.LayoutParams(int w, int h, float initWeight)
SegmentedButtonGroup.LayoutParams(ViewGroup.LayoutParams p)
SegmentedButtonGroup.LayoutParams(ViewGroup.MarginLayoutParams source)
Protected Methods
void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)

Fixes the child's width to WRAP_CONTENT and the child's height to WRAP_CONTENT when not specified in the XML file.

[Expand]
Inherited Methods
From class android.widget.LinearLayout.LayoutParams
From class android.view.ViewGroup.MarginLayoutParams
From class android.view.ViewGroup.LayoutParams
From class java.lang.Object

Public Constructors

public SegmentedButtonGroup.LayoutParams (Context c, AttributeSet attrs)

Since: API Level 2.5

public SegmentedButtonGroup.LayoutParams (int w, int h)

Since: API Level 2.5

public SegmentedButtonGroup.LayoutParams (int w, int h, float initWeight)

Since: API Level 2.5

public SegmentedButtonGroup.LayoutParams (ViewGroup.LayoutParams p)

Since: API Level 2.5

public SegmentedButtonGroup.LayoutParams (ViewGroup.MarginLayoutParams source)

Since: API Level 2.5

Protected Methods

protected void setBaseAttributes (TypedArray a, int widthAttr, int heightAttr)

Since: API Level

Fixes the child's width to WRAP_CONTENT and the child's height to WRAP_CONTENT when not specified in the XML file.

Parameters
a the styled attributes set
widthAttr the width attribute to fetch
heightAttr the height attribute to fetch