This is a magnetic case in TPU that I made for my Xperia 1 MKIV and it will also fit a mkV. I have also made a version without magnets.
the buttons are printed separate and you glue them with a little drop of glue on the inside of the case. I made a version with the buttons printed in place, but the result was rougher and the buttons were less responsive.
The magnet version needs 15 10x1 magnets you can get cheaply on amazon or aliexpress and for me it is definitely worth the extra trouble for things like setting up the phone for filming etc.
My printprofile has the 8th layer pause allready programmed in, but if you want to make your own profile you need to add a pause at the 8th layer to insert the magnets which is very easy since the printbed is also magnetized. They really click in place.
Both versions work with wireless chargers when the phone is in its case.