Created
September 20, 2018 02:53
-
-
Save malikkurosaki/9c019bd5d43398454fc369ed3dc7e740 to your computer and use it in GitHub Desktop.
example layout inflater
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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