Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host. More...
Inherits FrameLayout.
Classes | |
| interface | OnZoomInListener |
| Callback invoked on zoom-in button press. More... | |
| interface | OnZoomOutListener |
| Callback invoked on zoom-out button press. More... | |
Public Member Functions | |
| ZoomControls (@NonNull Context context, OnZoomInListener onZoomIn, OnZoomOutListener onZoomOut) | |
| Initializes zoom controls with listeners. | |
| ZoomControls (@NonNull Context context, OnZoomInListener onZoomIn, OnZoomOutListener onZoomOut, @Nullable ZoomControlsConfig config) | |
| Initializes zoom controls with listeners and optional config. | |
| void | applyConfig (@Nullable ZoomControlsConfig newConfig) |
| Applies config at runtime. Call when config has changed. | |
Protected Member Functions | |
| void | onMeasure (int widthMeasureSpec, int heightMeasureSpec) |
Compact +/- zoom control stack for navigation view. Forwards tap callbacks to the host.
ZoomControlsConfig for styling.
Definition at line 28 of file ZoomControls.java.
|
inline |
Initializes zoom controls with listeners.
Definition at line 47 of file ZoomControls.java.
|
inline |
Initializes zoom controls with listeners and optional config.
Definition at line 54 of file ZoomControls.java.
|
inline |
Applies config at runtime. Call when config has changed.
Definition at line 158 of file ZoomControls.java.
|
inlineprotected |
Definition at line 146 of file ZoomControls.java.