I don't have the time for a PR but I just wrote something which may be a nice addition to Anko imo
Copy code
/**
* Gets the set content view of this Activity.
*/
val Activity.contentView: View?
get() = (findViewById(android.R.id.content) as ViewGroup?)?.getChildAt(0)