This is the proposed architecture for implementing drawing on text, photos and videos on Leo.
- This is the custom view that will display the drawing created by the user.
- Will be the View on "top" (relative to z-axis) of all the other views in
AddTextActivity
except the top bar Views. - Notes:
- overrides
onTouchEvent(...)
- has a method called
setEnabled(boolean enabled)
- enabled value will be returned by
onTouchEvent(...)
. this means that it will intercept all touch events when enabled.
- enabled value will be returned by
- overrides
- Note: this will be toggled by the compose views (enabled when in drawing mode, disabled when not in drawing mode).