Created
August 24, 2016 17:13
-
-
Save kinkoi/31e3f5bb1c91bd15095686627373ec14 to your computer and use it in GitHub Desktop.
Custom LayoutInflater Factories
This file contains 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
LayoutInflater layoutInflater = LayoutInflater.from(getContext()).cloneInContext(getContext()); | |
LayoutInflaterCompat.setFactory(layoutInflater, new CustomLayoutInflaterFactory()); | |
layoutInflater.inflate(R.layout.input_tool_bar, this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment