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

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

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” :

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
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

are you looking for this?

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

Regards,

Daniel

---------- P?vodn? zpr?va ----------
Od: M. Gerhardy <martin.gerhardy at gmail.com>
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?

"

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” <phobitor at gmail.com
(mailto:phobitor at gmail.com)>:
"

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
SDL at lists.libsdl.org(mailto:SDL at lists.libsdl.org)
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
(http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org)

"


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org"

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!

are you looking for this?

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

Not quite, but that looks pretty handy

Preet

[/quote][/code]

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!

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

I wonder whether this patch is available in bugzilla - I haven’t seen
this before.Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Hi,

are you looking for this?

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

Regards,

Daniel

---------- P?vodn? zpr?va ----------
Od: M. Gerhardy <@Martin_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?

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" <phobitor at gmail.com
<mailto:phobitor at gmail.com>>:

    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
    SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
    http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

http://www.caveproductions.org
http://www.ufoai.org

It soon be a year of my patch waiting for 2.0.4 to be releasedOn Mon, Mar 16, 2015 at 2:16 PM, Martin Gerhardy <martin.gerhardy at gmail.com> wrote:

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

Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Hi,

are you looking for this?

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

Regards,

Daniel

---------- P?vodn? zpr?va ----------
Od: M. Gerhardy <martin.gerhardy at gmail.com> <martin.gerhardy at gmail.com>
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?

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” :

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
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

http://www.caveproductions.orghttp://www.ufoai.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Anyway it would be great to have any feedback for my patchOn Tue, Mar 17, 2015 at 2:00 AM, Alexey Petruchik < @Alexey_Petruchik> wrote:

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 < martin.gerhardy at gmail.com> wrote:

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

Am 16.03.2015 um 08:59 schrieb hardcoredaniel:

Hi,

are you looking for this?

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

Regards,

Daniel

---------- P?vodn? zpr?va ----------
Od: M. Gerhardy <martin.gerhardy at gmail.com> <martin.gerhardy at gmail.com>
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?

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” :

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
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing listSDL at lists.libsdl.orghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

http://www.caveproductions.orghttp://www.ufoai.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org