Persisting a context menu after screen rotation

by Macarse » Tue, 03 Nov 2009 10:17:20 GMT


Sponsored Links
 n Oct 28, 5:54pm, skataben <skata...@gmail.com> wrote:

I'm also looking for a way to avoid the ContextMenu to disappear when
screen rotates.

Anyone did it?

--



Persisting a context menu after screen rotation

by Macarse » Wed, 04 Nov 2009 20:06:26 GMT


 n Nov 2, 11:16pm, Macarse <maca...@gmail.com> wrote:


Found the solution.

Check:

*
http://stackoverflow.com/questions/1664472/persisting-a-context-menu-after-screen-rotation/1673374#1673374

* http://www.devx.com/wireless/Article/40792/1763/page/5

*
http://stackoverflow.com/questions/456211/activity-restart-on-rotation-android

Hope it's useful.

--


Sponsored Links


Other Threads

1. Question about spinner and quick text search.

Hi!

For ListActivity I can use method setTextFilterEnabled(true) which
allows me to type letters and quick
find list item(s).

Does anybody know whether exists some similar out of the box
functionality for Spinner dropdown list?

Thanks,
Evgeny
--~--~---------~--~----~------------~-------~--~----~

2. how to switch between two views

hi friends,
I 'm beginner in Android ,To start with i was asked to do a simple
task ,i need to make blue and red screen appear on the screen
alternatively ,
to achieve this i wrote two layout files
1.  main.xml -- for to display red screen
2.  sub1.xml -- for to display blue screen

In oncreate() i wrote

 for(int i=0;i<20;i++)
       {
        setContentView(R.layout.main);
         try
          {
                Thread.sleep(500);
          }catch(Exception e){}
          setContentView(R.layout.sub1);
       }

but this doesn't work ,why ?
Please help to understand the concept

--~--~---------~--~----~------------~-------~--~----~

3. ArrayAdapter of widgets (button and EditText)

4. How to enable USB Mass storage?

5. Android Booting Problem

6. About the HOME key in the latest android source code

7. About the HOME key in the latest android source code