Module layout_2013::layout_debug
source ยท Expand description
Supports writing a trace file created during each layout scope that can be viewed by an external tool to make layout debugging easier.
Structsยง
Constantsยง
- STATE_KEY ๐
Staticsยง
- DEBUG_ID_COUNTER ๐
Functionsยง
- Begin a layout debug trace. If this has not been called, creating debug scopes has no effect.
- End the debug layout trace. This will write the layout trace to disk in the current directory. The output file can then be viewed with an external tool.
- Generate a unique ID. This is used for items such as Fragment which are often reallocated but represent essentially the same data.