Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. LinearLayout row1 = FindViewById<LinearLayout>(Resource.Id.linearLayout1);
  2. int n = 4;
  3.  
  4. for (int j = 0; j < n; j++)
  5. {
  6. ImageButton button = new ImageButton(this);
  7. button.SetImageResource(Resource.Drawable.Icon);
  8. row1.AddView(button);
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement