Hi Guys,
I've created a custom game keyboard that I want to share with several
windows so I decided to give TabActivity a try.  I created a layout
for each tab, for example:

                // Plain text input layout
                inputLayout = new LinearLayout(this);
                inputLayout.setOrientation(LinearLayout.VERTICAL);
                mainText.setHeight(120);
                inputLayout.addView(mainText);
                inputLayout.addView(keyboard);

        host.addTab(host.newTabSpec("Text
Input").setIndicator("Input").setContent(inputLayout));

I get an "change inputLayout to int" compile error.  This seems
inconsistent with the Activity class.  Is there a workaround or do I
have to use xml?

Thanks.

Chris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to