This is basically all the code you need to see from my app. My question is, how do I set the background of the MediaRouteButton using AttributeSet? It is crucial I do it in this manner for reasons.
attrs = new AttributeSet(); // <-- something like this
mrButton = new MediaRouteButton(context, attrs); // <-- Used like this
Basic reason why, I'm getting an error where the MediaRouteButton background is not allowed to be translucent. Setting to background to e.g. transparent or white or something should do the trick.
Also, if possible, how can the width/height of the button be set in the same manner?