com.pdftron.pdf.widget.ForegroundLayout |
Known Indirect Subclasses |
Interface to facilitate drawing a foreground drawable, similar to android.widget.FrameLayout, for API versions before 23 (where android.view.View supports foregrounds natively).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Drawable |
getForeground()
The implementation should provide the foreground drawable.
| ||||||||||
abstract int |
getForegroundGravity()
The implementation should specify the foreground gravity.
| ||||||||||
abstract void |
setForeground(Drawable foreground)
The implementation should set the foreground drawable.
| ||||||||||
abstract void |
setForegroundGravity(int gravity)
The implementation should set the foreground gravity.
|
The implementation should provide the foreground drawable.
The implementation should specify the foreground gravity.
The implementation should set the foreground drawable.
foreground | The foreground drawable |
---|
The implementation should set the foreground gravity.
gravity | The gravity (see android.view.Gravity) |
---|