SyntaxFix
Write A Post
Hire A Developer
Questions
to RelativeLayout, try this code , it works for me: yourLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
yourLayoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);