I'm trying to rotate hole layout by this code:
RelativeLayout rll = (RelativeLayout) findViewById(R.id.relativeLayout1);
rll.setRotation(21);
how can I set rotation center?I don't want to use left bottom corner as rotation center,because some parts of rotated layout is out of the view!! (I don't want to use animation. bcz my buttons don't work correctly with it)