Remote scaling Android RemoteControlClient

I have successfully included RemoteControlClient in my application. However, I was wondering if there is a way to prevent bitmaps superimposed on it due to scaling. In all aspects. I can do this in my activity by scaling the vertical and preserving the aspect, but casting a scaled bitmap to the client has no effect. It always scales to a square, filling the view.
Any suggestions?

+4
source share
1 answer

I suppose I create a black (or transparent?) Square raster background and the center of your album cover, or whatever it is ... Then send the square image to RemoteControlClient.

0
source

Source: https://habr.com/ru/post/1442640/


All Articles