Android FAQ
Search...
Sunday, November 13, 2011
How to Set margins in a LinearLayout programmatically in android
LayoutParams lp=new LayoutParams(LayoutParams.FILL_PARENT,
LayoutParams.WRAP_CONTENT);
lp.setMargins(3,3,3,3);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment