I have an array of buttons. I need to change their android:layout_marginLeft programmatically. This is essential to my logic, without which I am unable to get my layout correct. Any code snippets representing this is appreciated pretty much.
// ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams (30, 5); // arrBtns[i].setLayoutParams(lp); this crashes the code any pther approach ? regards Jagat -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en