// Remove translucent StatusBar/NavigationBar flags if window is not set up to extend beneath them.
// Not doing so will cause window to stretch beneath them anyways, but will fail to render there.
if (this.layout.getFitsSystemWindows() && !(this instanceof TiLaunchActivity)) {
int mask = WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS;
mask |= WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION;
if ((getWindow().getAttributes().flags & mask) != 0) {
String message = "You cannot use a translucent status bar or navigation bar unless you "
+ "set the window's '" + TiC.PROPERTY_EXTEND_SAFE_AREA + "' property to true.";
Log.w(TAG, message);
getWindow().clearFlags(mask);
}
}
But I dont find the solution to remove the warning.
NB: Setting TiC.PROPERTY_EXTEND_SAFE_AREA is not a solution as my windows goes under the title.
that doesn’t work like this It’s not CSS. But the ImageView supports scalingMode: Ti.Media.IMAGE_SCALING_ASPECT_FILL. So add that in the background, set the image and it will be covered.
I do get that warning too but it still works.
I think it just informs you because it is not fullscreen since there is still the Actionbar.
I think I have to remove the FLAG_TRANSLUCENT_NAVIGATION (& FLAG_TRANSLUCENT_STATUS) flags from the windows, but I dont know really how in Alloy, I think I can find how to in JS put I would prefer to do it in Alloy. I mean the attribute fullscreen puts those flags (this is what I read), but how then to remove them ?
here is the property: Titanium.UI.Window | Titanium SDK Setting fullscreen to true automatically sets the WindowManager.LayoutParams.FLAG_FULLSCREEN flag.
Nothing special, I am just in a learning process, I try to remove every warning from TIGLDemo and learn in the same time.
Then I will start a game, I dont know yet wich one, but it will be very simple, the goal is to take pleasure in programming a small and easy project, if you have any ideas or want to help as a hobby let me know.
not a big gamer. Think I don’t have any game on my phone besides my wordle clone
But I’ll guess card deck building games, endless runner or some tower defense would find some players.
If you’ll add some 2D pointlights/shadows and mutliplayer you can do something in this direction
And if its a 2d platformer like Mario or somthing like Zelda I’ll play it
I rarely play game now and I never played like a true gamer, when I was younger I played a bit more but I always more liked to make them than play them, I made my first little game very young, I think in 1989 on an Amstrad CPC 464
And usually I never finish them and begin another…
I would say that programming a game or an application is for me as playing a game, so in some way I am a player