android - Using a custom LayoutInflater.Factory with AppCompatDelegate -


my custom factory isn't getting called in actionbaractivity anymore appcompatdelegate of v22.1.1.

i see in docs in case shouldn't call appcompatdelegate.installfactory() (and custom activity seems support this) if case can't use appcompatactivity/appcompatdialog (and possibly new builder?) or inherits classes. need reimplement non-material versions (ie actionbar parts) of appcompatactivity.

is case or doing wrong?

using android.support.v4.view.layoutinflatercompat solves problem.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -