[android-developers] ActionBar Tabs with multiple fragments

2012-02-09 Thread Jason Prenger
Hi everyone, I've been trying to update my app and get going with fragments, the action bar, and all the other UI features that I'm missing out on. I understand I can have multiple fragments in an activity, have different layouts based upon the device and all that good stuff but I'm struggling

Re: [android-developers] ActionBar Tabs with multiple fragments

2012-02-09 Thread Mark Murphy
On Thu, Feb 9, 2012 at 12:36 PM, Jason Prenger jasonmpren...@gmail.com wrote: but how do I have more than one fragment in a tab? The same way you have more than one fragment anywhere else: put more than one in a container (e.g., two FrameLayouts in a LinearLayout). I can convert the second

[android-developers] ActionBar tabs - dynamic setIcon()

2011-05-27 Thread Vertifi Software
I'd like to use an ActionBar tab that has a text title of Messages, and use setIcon() with a custom drawable to show an unread messages count ... a little red bubble with a number inside. This will attact a users attention to the tab, letting them know there are messages to be read. No problem

[android-developers] ActionBar Tabs

2011-05-10 Thread André
Hi, I'm trying to customize the look of my tabs in the actionbar by following this tutorial: http://androidunlocked.net/archive/customizing-the-action-bar/ But I can't figure out how to change the standard blue line that is a little bit thicker when the tab is selected to a different colour. Any

[android-developers] ActionBar Tabs Fragment EditText instance

2011-04-18 Thread André
I'm working on an app that has multiple tabs in the ActionBar in Honeycomb, every tab extends a fragment and every fragment is an instance of the same class. So in every fragment I have a edittext with the same name. What I want to do is to be able to do is to reach this edittext in the selected