androidx.appcompat.app.AppCompatActivity inserts a custom
ViewGroup with the android.R.id.content identifier, which
unfortunately has a different theme than the Activity's theme.
This results in theming issues when using parent.context to
create views which is a common thing to do in
ViewControllerFactory implementations.
This commit deprecates several convenience methods which
extracted the android.R.id.content ViewGroup from the Activity
instance.
androidx.appcompat.app.AppCompatActivity
inserts a custom ViewGroup with theandroid.R.id.content
identifier, which unfortunately has a different theme than the Activity's theme. This results in theming issues when usingparent.context
to create views which is a common thing to do in ViewControllerFactory implementations.This commit deprecates several convenience methods which extracted the
android.R.id.content
ViewGroup from the Activity instance.Fixes #150