Extends: | FrameLayout |
Package: | ui |
AspectFrameLayout(Context)
public AspectFrameLayout(Context context)
Parameter | Description |
---|---|
context |
AspectFrameLayout(Context, AttributeSet)
public AspectFrameLayout(Context context, AttributeSet attrs)
Parameter | Description |
---|---|
context | |
attrs |
AspectFrameLayout(Context, AttributeSet, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr)
Parameter | Description |
---|---|
context | |
attrs | |
defStyleAttr |
AspectFrameLayout(Context, AttributeSet, int, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Parameter | Description |
---|---|
context | |
attrs | |
defStyleAttr | |
defStyleRes |
getAspectHeight()
public float getAspectHeight()
setAspectHeight(int)
public void setAspectHeight(int aspectHeight)
Parameter | Description |
---|---|
aspectHeight |
getAspectWidth()
public float getAspectWidth()
setAspectWidth(int)
public void setAspectWidth(int aspectWidth)
Parameter | Description |
---|---|
aspectWidth |