daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Jan 18th, 2018 170 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
Top