Implementation for #72

I added support for attach source (#72) for API 17, support v4, v7-gridlayout and v13.
I also fixed Issue #78, for this already exist Pull request, do yo can choose from two options.