Just ignore the supplied FragmentTransaction For example, you need to do this if you are using the Android Compatibility Library (ACL), because the FragmentTransaction you get from the action bar is an Android 3.0 FragmentTransaction not an ACL FragmentTransaction So, you ignore the passed-in one and use your own Similarly, I would expect that you can ignore the FragmentTransaction and display a DialogFragment yourself without problems Whether the UX will make any sense is another problem. When the user accepts the dialog the tab shows... nothing?
Just ignore the supplied FragmentTransaction. For example, you need to do this if you are using the Android Compatibility Library (ACL), because the FragmentTransaction you get from the action bar is an Android 3.0 FragmentTransaction, not an ACL FragmentTransaction. So, you ignore the passed-in one and use your own.
Similarly, I would expect that you can ignore the FragmentTransaction and display a DialogFragment yourself without problems. Whether the UX will make any sense is another problem. When the user accepts the dialog the tab shows... nothing?
The idea is to show some sort of submenu on the top of the content area (just below the action bar) when a tab is selected. This submenu contains filtering options that will replace the content area with actual content upon selection. – mgv Apr 29 at 17:58 @mgv: ::shrug:: Still sounds odd to me.
The submenu seems fine; using a transient UI element like a dialog does not. The user taps a tab, chooses an item from the submenu, and... now can't choose anything else from the submenu, because it's gone. Why not use "list" navigation instead of tabs, and render the rows in the Spinner to suggest your menu hierarchy?
– CommonsWare Apr 29 at 18:00 It's true, it sounds rather odd. I have been asked to do it this way, but I think I will fight for my right to party and follow your advice. P.
S: Ignoring the FragmentTransaction worked, so your answer was right. – mgv Apr 29 at 18:04.
Just ignore the supplied FragmentTransaction .
Tell the ActionBar we want to use Tabs. // initiating both tabs and set text to it. Tab InboxTab = actionbar.newTab().
Tab SentTab = actionbar.newTab(). MakeText(this, " " + inputText, Toast. Class MyTabsListener implements ActionBar.
View view = inflater. Final ListView lv1 = (ListView) view.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.