AspectFrameLayout
Kelas ini tidak tersedia lagi di versi SDK terbaru.
Perpanjang:FrameLayout
Paket:ui
Konstruktor
AspectFrameLayout(Context)
public AspectFrameLayout(Context context)
ParameterKeterangan
context
AspectFrameLayout(Context, AttributeSet)
public AspectFrameLayout(Context context, AttributeSet attrs)
ParameterKeterangan
context
attrs
AspectFrameLayout(Context, AttributeSet, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr)
ParameterKeterangan
context
attrs
defStyleAttr
AspectFrameLayout(Context, AttributeSet, int, int)
public AspectFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
ParameterKeterangan
context
attrs
defStyleAttr
defStyleRes
Metode Instance
getAspectHeight()
public float getAspectHeight()
setAspectHeight(int)
public void setAspectHeight(int aspectHeight)
ParameterKeterangan
aspectHeight
getAspectWidth()
public float getAspectWidth()
setAspectWidth(int)
public void setAspectWidth(int aspectWidth)
ParameterKeterangan
aspectWidth