| java.lang.Object | ||
| ↳ | CoordinatorLayout | |
| ↳ | com.pdftron.pdf.widget.ForegroundCoordinatorLayout | |
A Coordinator layout that can draw foreground drawable
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ForegroundCoordinatorLayout(Context context) | |||||||||||
| ForegroundCoordinatorLayout(Context context, AttributeSet attrs) | |||||||||||
| ForegroundCoordinatorLayout(Context context, AttributeSet attrs, int defStyleAttr) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | draw(Canvas canvas) | ||||||||||
| void |
drawableHotspotChanged(float x, float y)
It sets the hotspot changes to foreground drawable
| ||||||||||
| Drawable |
getForeground()
The implementation should provide the foreground drawable.
| ||||||||||
| int |
getForegroundGravity()
The implementation should specify the foreground gravity.
| ||||||||||
| void | jumpDrawablesToCurrentState() | ||||||||||
| void |
setForeground(Drawable drawable)
The implementation should set the foreground drawable.
| ||||||||||
| void |
setForegroundGravity(int gravity)
The implementation should set the foreground gravity.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.widget.ForegroundLayout
| |||||||||||
It sets the hotspot changes to foreground drawable
The implementation should provide the foreground drawable.
The implementation should specify the foreground gravity.
The implementation should set the foreground drawable.
| drawable | The foreground drawable |
|---|
The implementation should set the foreground gravity.
| gravity | The gravity (see android.view.Gravity) |
|---|