change loading gesture resource method, add plugin.xml