title: Find all child views for given root view recursively
body: <p>I want to find all child views for given root view.</p>
  
  <pre><code>public List&lt;View&gt; getAllChildViews(View rootView)
  {
      //return all child views for given rootView recursively
  }
  </code></pre>
  
  <p>Consumer of this method will pass rootView as follows</p>
  
  <pre><code>//client has some Custom View
  List&lt;View&gt; childViews = getAllChildViews(customView.getRootView());  //get root view of custom view
  </code></pre>
  
  <p>I can type cast rootView to particular layout and then get all children ( at leaf level )  but I am not sure what will be the type of root view. It can be ScrollView or any different layout </p>