Frage

params.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);

Not able to use above code in xamarin

Thanks, Ashik

War es hilfreich?

Lösung

Use params.AddRule(LayoutRules.AlignParentRight); instead

Andere Tipps

RelativeLayout.LayoutParams Aling_layout;
 Aling_layout = new RelativeLayout.LayoutParams(sizeBX , sizeBY);
 Aling_layout.AddRule(LayoutRules.AlignParentLeft);
 button.LayoutParameters = Aling_layout;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top