I have a ViewGroup defined in XML with a view inside, at onCreate time I\'d like to have a variable of those. I don\'t want to go through the hassle of using a listview+
Maybe use an inflater, and put the textview in an external layout file:
View v = LayoutInflater.from(this).inflate(R.layout.textview_include, null); viewGroup.addView(v);