Estende: | FrameLayout |
Pacchetto: | ui |
AspectFrameLayout(Context)
public AspectFrameLayout(Context context)
Parametro | Descrizione |
---|---|
context |
AspectFrameLayout(Context, AttributeSet)
public AspectFrameLayout(Context context, AttributeSet attrs)
Parametro | Descrizione |
---|---|
context | |
attrs |
AspectFrameLayout(Context, AttributeSet, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr)
Parametro | Descrizione |
---|---|
context | |
attrs | |
defStyleAttr |
AspectFrameLayout(Context, AttributeSet, int, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Parametro | Descrizione |
---|---|
context | |
attrs | |
defStyleAttr | |
defStyleRes |
getAspectHeight()
public float getAspectHeight()
setAspectHeight(int)
public void setAspectHeight(int aspectHeight)
Parametro | Descrizione |
---|---|
aspectHeight |
getAspectWidth()
public float getAspectWidth()
setAspectWidth(int)
public void setAspectWidth(int aspectWidth)
Parametro | Descrizione |
---|---|
aspectWidth |