Skip to content

Instantly share code, notes, and snippets.

@malikkurosaki
Created September 20, 2018 02:53
Show Gist options
  • Save malikkurosaki/9c019bd5d43398454fc369ed3dc7e740 to your computer and use it in GitHub Desktop.
Save malikkurosaki/9c019bd5d43398454fc369ed3dc7e740 to your computer and use it in GitHub Desktop.
example layout inflater
View profil = getLayoutInflater().inflate(R.layout.profil_form,container,false);
profil.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
profil.setTranslationZ(10);
container.addView(profil);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment