How can I invest a Layout? [closed]

0

What I want is to invest a Layout (that looks around) , so they have an idea is something like this:

    
asked by Alejandro Matos 21.09.2017 в 22:52
source

1 answer

2

Try rotating the parent Layout that contains everything in your view by XML

  • android:rotationX
  • android:rotationY

You could try to play a bit with the values to adjust it to your convenience, for example you could invert the layout in X:

android:rotationX="-180"

If you want to do it from java code there are also methods to modify it

  • view.setRotationY(float)
  • view.setRotationX(float)
answered by 22.09.2017 в 20:25