title: Custom ActionProvider with custom attributes
body: <p>Creating custom attributes for a custom <code>View</code> is fairly <a href="https://stackoverflow.com/questions/7608464/android-custom-ui-with-custom-attributes">straightforward</a>. As is creating a <a href="https://gist.github.com/f2prateek/3982054" rel="nofollow noreferrer">custom <code>ActionProvider</code></a>. The difficulty is that the <code>ActionProvider</code> class constructor only has a <code>Context</code> argument and no <code>AttributeSet</code> argument, like a custom <code>View</code> would have. Is there any other way to access the custom attributes from within the constructor, e.g. can I get access to the <code>AttributeSet</code> object by some other means? Or any other approach to adding custom attributes to a custom <code>ActionProvider</code>? Any help appreciated. Thanks!</p>