Add support for show layout bounds.

Summary: Supports show layout bounds either by override within FlatViewGroup, or if show layout bounds is set in settings.  Currently requires app restart to disable.

Reviewed By: ahmedre

Differential Revision: D3553669
This commit is contained in:
Seth Kirby
2016-07-19 01:59:34 -07:00
committed by Ahmed El-Helw
parent 76c2904d31
commit 7df627f9be
4 changed files with 219 additions and 0 deletions
@@ -23,7 +23,16 @@ public interface DrawCommand {
/**
* Performs drawing into the given canvas.
*
* @param parent The parent to get child information from, if needed
* @param canvas The canvas to draw into
*/
public void draw(FlatViewGroup parent, Canvas canvas);
/**
* Performs debug bounds drawing into the given canvas.
*
* @param parent The parent to get child information from, if needed
* @param canvas The canvas to draw into
*/
public void debugDraw(FlatViewGroup parent, Canvas canvas);
}