Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. LinearLayout ll = (LinearLayout) findViewById(R.id.teste);
  2. ll.setOnClickListener(new View.onClickListener() {
  3. @Override
  4. public void onClick (View v){
  5. ViewGroup.LayoutParams params = v.getLayoutParams();
  6. params.height = 0;
  7. v.setLayoutParams(params);
  8. }
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement