android-fragments
Android Fragmentation AlertDialog Problem?
When I run a code for the alertDialog on an Emulator with Android 2.2 it works like its supposed to and everything however, when I attempt to do the same on my Samsung Captivate which also runs on And[详细]
2023-03-25 09:49 分类:问答Get fragment's container view id
I have a fragment added using transaction.add(R.id.content, fragment, null); and I need to start new fragment from this one. But to do this I need to know first fragment\'s container view id (R.id.[详细]
2023-03-25 03:28 分类:问答Honeycomb activity spontaneously restarts itself
I\'ve got a开发者_Go百科 really odd problem which comes out when testing my app on the Honeycomb emulator. When the \"tablet\" is rotated to portrait, my main Activity seems to just get stuck, and res[详细]
2023-03-25 00:22 分类:问答Android: fragments: onCreateView isn't called
I\'ve got a sandbox project where everything works correctly, but not in real project. I guess I miss something...[详细]
2023-03-24 07:05 分类:问答Drop Down Panning Android Fragment Transition
I\'m using Android Fragments. I want to achieve the effect below. I have 2 fragments details and a main-body. On a button click I want the details panel slide down and pan out part of the main-body.[详细]
2023-03-24 05:43 分类:问答setRetainInstance not working for ListFragment when using compatibiltiy library
I\'m attempting to save a ListFragment subclass across an orientation change so I added setRetainInstance(true) to the end of my onCreate function.I added an onSaveInstanceState method to add all of i[详细]
2023-03-24 05:24 分类:问答Right align contents of a ListFragment
This is my first question in stack overflow. Please be liberal in validating it against the posting etiquette. which I am trying to adhere to.[详细]
2023-03-23 23:55 分类:问答Backstack with multiple Fragments per layout
I want to create stack of multiple fragments included in linear layout. To put set of fragments to activty I use following code (R.id.content is LinearLayout):[详细]
2023-03-23 18:46 分类:问答Android: using fragments programmatically
For some reasons I can\'t use xml layout files. But I need to create a tablet android app. I decided to use fragments.[详细]
2023-03-23 15:03 分类:问答NullPointerException on getWritableDatabase after adding Fragments to my project
I had a working project, now I wanted to upgrade the layout and I\'m trying to add Fragments (pre honeycomb), but now seems like I\'m having some troubles connecting to my DB, and I\'m getting NullPoi[详细]
2023-03-23 05:06 分类:问答