[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-22 Thread Dianne Hackborn
You need to set the theme in the manifest. The code sample is missing the @ in front of android. There are various examples in ApiDemos of dialog and translucent themed activities. On Mon, Sep 21, 2009 at 10:26 PM, Karthik P karthi...@gmail.com wrote: I saw the below portion in the

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-22 Thread Karthik P
I tried that too... I get the following error. [2009-09-22 12:56:19 - win]ERROR: Failed to parse %1$s [2009-09-22 12:56:19 - win]AndroidManifest.xml activity android:name=.win android:label=@string/app_name android:theme=@android:style/Theme.Dialog As I understand

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-22 Thread Dianne Hackborn
No new resources needed. Again, please see the complete working examples in ApiDemos. Fwiw, I can't see what the error you are printing has to do with your code (nor did you include the part where it says the line number of the error). On Tue, Sep 22, 2009 at 12:28 AM, Karthik P

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-21 Thread Mark Murphy
Does anyone has an idea of how to split the screen into two? Is it possible for me to run an application in one screen and another app in other screen? That is not presently possible in Android. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books:

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-21 Thread Mike
Yeah - as far as I know, the current activity for the currently running foreground app is the one that has claim to the entire screen. So, I don't think this is possible either. - Mike On Sep 21, 11:05 am, Mark Murphy mmur...@commonsware.com wrote: Does anyone has an idea of how to split

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-21 Thread Rud
Just speculating but maybe using SurfaceView with a transparent region? The background app might show through the transparent area of the foreground app. Rud On Sep 21, 7:43 am, Karthik P karthi...@gmail.com wrote: Does anyone has an idea of how to split the screen into two? Is it possible

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-21 Thread Dianne Hackborn
There is no need to use SurfaceView for that, just make your own activity transparent such as with Theme.Translucent. Anyway, the UI model is designed around having one main fullscreen activity visible to the user (any number of non-fullscreen or translucent activities can be stacked on top of

[android-developers] Re: How to split a screen into two? One running with an application and the other with another application?

2009-09-21 Thread Karthik P
I saw the below portion in the documentation, By setting the theme of an activity to android:theme=android:style/Theme.Dialog, your activity will take on the appearance of a normal dialog, floating on top of whatever was underneath it. You usually set the theme through the android:theme attribute