Created
January 18, 2020 12:42
-
-
Save krossovochkin/d6cd33ba9fc4243ccc3532d31ba0bdc3 to your computer and use it in GitHub Desktop.
Theme_1
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
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
LayoutInflaterCompat.setFactory2( | |
LayoutInflater.from(this), | |
MyLayoutInflater(delegate) | |
) | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment