Android Question How to rotate a View

Discussion in 'Android Questions' started by Hugh Thomas, May 20, 2015.

  1. Hugh Thomas

    Hugh Thomas Member Licensed User

    I'm using the following code on B4A to rotate a label 90 degrees, so that that the text is aligned vertically along the size of the screen
    Code:
    Reflect.Target = vw
    Reflect.RunMethod2(
    "setRotation",RotateDegrees,"java.lang.float")
    How can I do this in B4i?

    Thanks,

    Hugh
     
  2. DonManfred

    DonManfred Expert Licensed User

    you should ask this in the b4i forum
     
  3. inakigarm

    inakigarm Well-Known Member Licensed User

  4. Hugh Thomas

    Hugh Thomas Member Licensed User

    My apologies. I intended post this in the B4i forum but must have mis-clicked somewhere.

    In any case that's for the pointer to the solution.

    Hugh
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice