Re: [android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Mark Murphy
On Sat, Jun 19, 2010 at 10:25 AM, Jason Van Anden robotiss...@gmail.com wrote:
 Can someone tell me if its possible to add a header layout over tabs in
 1.5?  If so, how?

Put the TabHost within another layout.

 When I attempt to nest a TabHost within another layout -
 things go terribly wrong.

It is difficult to help you without more details about terribly wrong.

-- 
Mark Murphy
CommonsWare
mmur...@commonsware.com
http://commonsware.com

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Layout Tabhost with Header?

2010-06-19 Thread Jason Van Anden
Thanks Mark,

When I tried nesting inside a layout I got a null pointer exception.  I was
convinced that the TabHost could not be used within another layout (maybe I
was wrong).  I figured out a different solution - I replaced the title bar
entirely.  This is ultimately a better solution for what I was trying to do.

j


On Sat, Jun 19, 2010 at 10:35 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Sat, Jun 19, 2010 at 10:25 AM, Jason Van Anden robotiss...@gmail.com
 wrote:
  Can someone tell me if its possible to add a header layout over tabs in
  1.5?  If so, how?

 Put the TabHost within another layout.

  When I attempt to nest a TabHost within another layout -
  things go terribly wrong.

 It is difficult to help you without more details about terribly wrong.

 --
 Mark Murphy
 CommonsWare
 mmur...@commonsware.com
 http://commonsware.com

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en