Make tabhost initialisation work on Nook

I have no idea why this works, but it does.
This commit is contained in:
Ciaran Gultnieks 2013-06-24 15:28:19 +01:00
parent 9ec94e8e88
commit 21eb159330

View File

@ -61,7 +61,7 @@ class OldTabManagerImpl extends TabManager {
* dummy empty contents and then hook them up to our ViewPager.
*/
public void createTabs() {
tabHost = new TabHost(parent);
tabHost = new TabHost(parent, null);
tabHost.setLayoutParams(new TabHost.LayoutParams(
TabHost.LayoutParams.MATCH_PARENT, TabHost.LayoutParams.WRAP_CONTENT));