AspectFrameLayout
This class is no longer available in the most recent version of the SDK.
Extends:FrameLayout
Package:ui
Constructors
AspectFrameLayout(Context)
public AspectFrameLayout(Context context)
ParameterDescription
context
AspectFrameLayout(Context, AttributeSet)
public AspectFrameLayout(Context context, AttributeSet attrs)
ParameterDescription
context
attrs
AspectFrameLayout(Context, AttributeSet, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr)
ParameterDescription
context
attrs
defStyleAttr
AspectFrameLayout(Context, AttributeSet, int, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
ParameterDescription
context
attrs
defStyleAttr
defStyleRes
Instance Methods
getAspectHeight()
public float getAspectHeight()
setAspectHeight(int)
public void setAspectHeight(int aspectHeight)
ParameterDescription
aspectHeight
getAspectWidth()
public float getAspectWidth()
setAspectWidth(int)
public void setAspectWidth(int aspectWidth)
ParameterDescription
aspectWidth