daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jan 18th, 2018 281 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. android:rotation="120"  (Then any angle you want positive or negative)
  2.    
  3. TextView textView = findViewById(R.id.textView);
  4. ImageView imageView = findViewById(R.id.imageView);
  5.  
  6. textView.setRotation(120);
  7. imageView.setRotation(120);
  8.    
  9. textView.setRotation(-120);
  10. imageView.setRotation(-120);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top