Question

params.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);

Not able to use above code in xamarin

Thanks, Ashik

Was it helpful?

Solution

Use params.AddRule(LayoutRules.AlignParentRight); instead

OTHER TIPS

RelativeLayout.LayoutParams Aling_layout;
 Aling_layout = new RelativeLayout.LayoutParams(sizeBX , sizeBY);
 Aling_layout.AddRule(LayoutRules.AlignParentLeft);
 button.LayoutParameters = Aling_layout;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top