commit | 796992a942f3508a15ee62d34d6c7ec5de045d83 | [log] [tgz] |
---|---|---|
author | Tor Norbye <tnorbye@google.com> | Mon Jan 17 21:55:18 2011 -0800 |
committer | Xavier Ducrohet <xav@android.com> | Mon Jan 17 21:57:34 2011 -0800 |
tree | 4ea8c35673499bcb13af04953050935d78239361 | |
parent | 60610d245f899c8c48ba6c7e94c0a20010fc6eed [diff] |
Allow TabHosts to have no children in the tabcontent widget Replace the code which throws an exception if there are no children in the FrameLayout that is the tabcontent, with code to add a single dummy tab. This makes the TabHost renderable in those scenarios where the real tabs are added dynamically rather than via XML. Change-Id: I72442bd7d40eddd875b3507585c1f372fcae3329