OSDN Git Service
Fix Extract as Include
Two fixes for Extract as Include:
(1) After extracting the view fragments from the source layout, save
the layout file. This is necessary in order to make the "Show
Included In" functionality work on the newly extracted fragment,
since the include-finder which identifies candidates for inclusion
is triggered by file saves, not buffer edits, and secondly even
the Show Included In facility itself requires the outer buffer to
be a saved file, not an edited buffer since the parser reads from
disk.
(2) Insert a space after the closing quote in the include string; this
could lead to broken XML in some instances.
Change-Id: I10ede72ef40dc0afaa93322637397245ac9a54ee