I want to be able to mirror my application so that it can be seen in the windshield of the vehicle.
My XML has several nested LinearLayout s, TextView and ImageView s. I am currently converting each of them, and although it is mirrored, the structure of the elements is not (what was on top is now below).
I searched for a few days and still tried several approaches that failed.
An animation that uses a matrix to scroll through the types of operations of the X-axis, except that it either returns or remains and is not updated, which is not suitable for interacting with the application.
I just tried to create a custom LinearLayout extending the parent, hoping I could apply the matrix in the onDraw() method, but this gives me a blank screen (I had to set setWillNotDraw(false); to click onDraw() ).
source share