On Mon, May 17, 2010 at 4:39 AM, Primal <[email protected]> wrote: > I have 3 questions > > I tried registering a context menu for the list view by adding the line > after setting the list adapter > > `registerforContextMenu(getListView())`; > > But on long-click the menu doesnt get displayed. I cannot understand > what I am doing wrong! >
You have, of course, overwritten onCreateContextMenu ... right? And you inflate or create your menu in there? > Is it possible to display a textview above the listview? I tried it by > adding the code for textview above the listview. But then, only the textview > gets displayed. > Try: http://developer.android.com/intl/fr/reference/android/widget/ListView.html#addHeaderView(android.view.View) > I have seen in many twitter clients that on clicking post a window pops up > from the top covering only some portion of the screen and rest of the > timeline is visible. How can this be done possibly without starting a new > activity? > Read this: http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

