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