Hereda de: | FrameLayout |
Paquete: | ui |
AspectFrameLayout(Context)
public AspectFrameLayout(Context context)
Parámetro | Descripción |
---|---|
context |
AspectFrameLayout(Context, AttributeSet)
public AspectFrameLayout(Context context, AttributeSet attrs)
Parámetro | Descripción |
---|---|
context | |
attrs |
AspectFrameLayout(Context, AttributeSet, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr)
Parámetro | Descripción |
---|---|
context | |
attrs | |
defStyleAttr |
AspectFrameLayout(Context, AttributeSet, int, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Parámetro | Descripción |
---|---|
context | |
attrs | |
defStyleAttr | |
defStyleRes |
getAspectHeight()
public float getAspectHeight()
setAspectHeight(int)
public void setAspectHeight(int aspectHeight)
Parámetro | Descripción |
---|---|
aspectHeight |
getAspectWidth()
public float getAspectWidth()
setAspectWidth(int)
public void setAspectWidth(int aspectWidth)
Parámetro | Descripción |
---|---|
aspectWidth |