Skip to content

Instantly share code, notes, and snippets.

@karlsander
Created March 27, 2014 16:57
Show Gist options
  • Save karlsander/9812423 to your computer and use it in GitHub Desktop.
Save karlsander/9812423 to your computer and use it in GitHub Desktop.
// Setting Padding
timerlistFront.setPadding(0,0,0,0);
// Setting Margins
FrameLayout.LayoutParams params = new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.WRAP_CONTENT,
FrameLayout.LayoutParams.WRAP_CONTENT
);
params.setMargins(0,0,0,0);
timerlistFront.setLayoutParams(params);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment