I have a layout that always rotate to the north. I want to put a pointer on it, but pointer should not rotate. how can I do that? this is my code of Layout:
rll = (RelativeLayout) findViewById(co.iman.R.id.relativeLayout1);
rlllp = new RelativeLayout.LayoutParams(
RelativeLayout.LayoutParams.WRAP_CONTENT, RelativeLayout.LayoutParams.WRAP_CONTENT);
rlllp.setMargins(190, 200, 200, 0);
and in other method I rotate the layout with:
rll.setRotation(mCurrentDegree);
I want put a pic or button exactlly in center of this layout? and I want to move this button independently.