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