The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Android app has a title bar: how can I get rid of it?
phobitor


Joined: 09 Jan 2015
Posts: 7
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho
Android app has a title bar: how can I get rid of it?
M. Gerhardy
Guest

There is a manifest flag for that afair. But i would have to look it up, too. Am 16.03.2015 07:19 schrieb "phobitor":
Quote:
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Android app has a title bar: how can I get rid of it?
hardcoredaniel
Guest

Hi,

are you looking for this?

http://comments.gmane.org/gmane.comp.lib.sdl/67314

Regards,

Daniel


---------- Původní zpráva ----------
Od: M. Gerhardy
Komu: List, SDL
Datum: 16. 3. 2015 8:46:11
Předmět: Re: [SDL] Android app has a title bar: how can I get rid of it?
Quote:

There is a manifest flag for that afair. But i would have to look it up, too. Am 16.03.2015 07:19 schrieb "phobitor":
Quote:
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
phobitor


Joined: 09 Jan 2015
Posts: 7
Sorry, I messed this up, the sample project (/android-project) manifest has the right theme set in the manifest:

Code:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"


... which defaults to full screen. I mixed up another manifest which adds an android ui control.

Sorry for the spam!

Quote:


are you looking for this?

http://comments.gmane.org/gmane.comp.lib.sdl/67314


Not quite, but that looks pretty handy. As a work around it seems pretty straightforward to set that from SDLActivity manually until its patched in


pho
Android app has a title bar: how can I get rid of it?
Martin Gerhardy
Guest

I wonder whether this patch is available in bugzilla - I haven't seen this before.

Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Quote:
Hi,

are you looking for this?

http://comments.gmane.org/gmane.comp.lib.sdl/67314

Regards,

Daniel


---------- Původní zpráva ----------
Od: M. Gerhardy
Komu: List, SDL
Datum: 16. 3. 2015 8:46:11
Předmět: Re: [SDL] Android app has a title bar: how can I get rid of it?
Quote:

There is a manifest flag for that afair. But i would have to look it up, too. Am 16.03.2015 07:19 schrieb "phobitor":
Quote:
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
--
--

http://www.caveproductions.org
http://www.ufoai.org
Android app has a title bar: how can I get rid of it?
Alexey Petruchik
Guest

It soon be a year of my patch waiting for 2.0.4 to be released

On Mon, Mar 16, 2015 at 2:16 PM, Martin Gerhardy wrote:
Quote:
I wonder whether this patch is available in bugzilla - I haven't seen this before.

Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Quote:
Hi,

are you looking for this?

http://comments.gmane.org/gmane.comp.lib.sdl/67314

Regards,

Daniel


---------- Původní zpráva ----------
Od: M. Gerhardy
Komu: List, SDL
Datum: 16. 3. 2015 8:46:11
Předmět: Re: [SDL] Android app has a title bar: how can I get rid of it?
Quote:

There is a manifest flag for that afair. But i would have to look it up, too. Am 16.03.2015 07:19 schrieb "phobitor":
Quote:
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org






_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Android app has a title bar: how can I get rid of it?
Alexey Petruchik
Guest

Anyway it would be great to have any feedback for my patch

On Tue, Mar 17, 2015 at 2:00 AM, Alexey Petruchik wrote:
Quote:
It soon be a year of my patch waiting for 2.0.4 to be released

On Mon, Mar 16, 2015 at 2:16 PM, Martin Gerhardy wrote:
Quote:
I wonder whether this patch is available in bugzilla - I haven't seen this before.

Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Quote:
Hi,

are you looking for this?

http://comments.gmane.org/gmane.comp.lib.sdl/67314

Regards,

Daniel


---------- Původní zpráva ----------
Od: M. Gerhardy
Komu: List, SDL
Datum: 16. 3. 2015 8:46:11
Předmět: Re: [SDL] Android app has a title bar: how can I get rid of it?
Quote:

There is a manifest flag for that afair. But i would have to look it up, too. Am 16.03.2015 07:19 schrieb "phobitor":
Quote:
After some pain I managed to get a simple Android example up and running with SDL and OpenGL ES2. For some reason I have a title bar at the top of the application window that isn't my application's layout or anything like that. What options should I be passing to SDL_CreateWindow to have a proper full screen window? (I'm not talking about the status/notification bar or the soft buttons)

I've tried sending in both types of full screen window flags, and played around with some other flags without any change. This is using SDL 2.0.3


pho


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Quote:
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org






_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org