Android Visual Tree Information
<p><br>
I am not sure if the terminology is correct, but I am looking for informations about the visual tree used by android to render stuff. The background is simple, I just started developing and had a problem with the TabHost. I solved it, using the code you can see at the end of this post.</p>

<p>The reason for my question, I still don't really know which other properties or children are available, and this will sure be the case for other controls.</p>

<p>So which is the best way to find out that e.g. the TabWidget has a child at position 0, which has layout params, where i can set the height (just an example). Besides <a href="http://developer.android.com/reference/android/widget/TabHost.html" rel="nofollow">http://developer.android.com/reference/android/widget/TabHost.html</a></p>

<pre><code>        tabHost.setCurrentTab(2);

        tabHost.getTabWidget().getChildAt(0).getLayoutParams().height = 60;
        tabHost.getTabWidget().getChildAt(1).getLayoutParams().height = 60;
        tabHost.getTabWidget().getChildAt(2).getLayoutParams().height = 60;


            // Bump the text size up
            LinearLayout ll = (LinearLayout) tabHost.getChildAt(0);
            android.widget.TabWidget tw = (android.widget.TabWidget) ll.getChildAt(0);
        {
            RelativeLayout rllf = (RelativeLayout) tw.getChildAt(0);
            TextView lf = (TextView) rllf.getChildAt(1);
            lf.setTextSize(20);
        }

        {
            RelativeLayout rllf = (RelativeLayout) tw.getChildAt(1);
            TextView lf = (TextView) rllf.getChildAt(1);
            lf.setTextSize(20);
        }

        {
            RelativeLayout rllf = (RelativeLayout) tw.getChildAt(2);
            TextView lf = (TextView) rllf.getChildAt(1);
            lf.setTextSize(20);
        }
</code></pre>
