tdocs2 Well-Known Member Licensed User Longtime User Apr 30, 2014 #1 Greetings, all. Thank you in advance to any reply related to this question. Code: Copy #Region Activity Attributes #FullScreen: True #IncludeTitle: False #End Region When I run the activity in 4.4, whether Full Screen is true or False, the activity tries to display with a title and then quickly fades out and gives way to the Activity the way I designed it - Include Title: False. Anyone with 4.4 could easily verify this, I guess. I tried it in 2 different devices running 4.4 with the same results. The behavior is related to Android 4.4 only - it does not happen in 4.0, 4.1, 4.2, and 4.3. Any solutions? Regards.
Greetings, all. Thank you in advance to any reply related to this question. Code: Copy #Region Activity Attributes #FullScreen: True #IncludeTitle: False #End Region When I run the activity in 4.4, whether Full Screen is true or False, the activity tries to display with a title and then quickly fades out and gives way to the Activity the way I designed it - Include Title: False. Anyone with 4.4 could easily verify this, I guess. I tried it in 2 different devices running 4.4 with the same results. The behavior is related to Android 4.4 only - it does not happen in 4.0, 4.1, 4.2, and 4.3. Any solutions? Regards.
Erel B4X founder Staff member Licensed User Longtime User May 1, 2014 #2 I've tested it on Nexus 4 running ANdroid 4.4.2. You need to look very very careful in order to see the title. It seems to be related to the system animations. Upvote 0
I've tested it on Nexus 4 running ANdroid 4.4.2. You need to look very very careful in order to see the title. It seems to be related to the system animations.
tdocs2 Well-Known Member Licensed User Longtime User May 1, 2014 #3 Thank you, Erel. I tested on a Nexus 7 (original 1280 by 800) and on a Samsung Note 10 (2014) running 4.4. The behavior is like a flash screen (half a second or so) that shows the title and the icon for the app. It does not happen on devices running Android 4.0, 4.1, 4.2, and 4.3. The behavior is very solid and predictable in these environments. It is a little bit of a detraction - a little awkward... Can I do anything to correct it? Best regards. Sandy Upvote 0
Thank you, Erel. I tested on a Nexus 7 (original 1280 by 800) and on a Samsung Note 10 (2014) running 4.4. The behavior is like a flash screen (half a second or so) that shows the title and the icon for the app. It does not happen on devices running Android 4.0, 4.1, 4.2, and 4.3. The behavior is very solid and predictable in these environments. It is a little bit of a detraction - a little awkward... Can I do anything to correct it? Best regards. Sandy
Erel B4X founder Staff member Licensed User Longtime User May 1, 2014 #4 You can remove the actionbar from the theme with the manifest editor: Code: Copy SetActivityAttribute(main, android:theme, @android:style/Theme.Holo.NoActionBar) This will work for Android 4+. It is also possible to set a similar theme for Android 2.x: Theme based on version Tutorial Upvote 0
You can remove the actionbar from the theme with the manifest editor: Code: Copy SetActivityAttribute(main, android:theme, @android:style/Theme.Holo.NoActionBar) This will work for Android 4+. It is also possible to set a similar theme for Android 2.x: Theme based on version Tutorial
tdocs2 Well-Known Member Licensed User Longtime User May 1, 2014 #5 Erel said: You can remove the actionbar from the theme with the manifest editor: Code: Copy SetActivityAttribute(main, android:theme, @android:style/Theme.Holo.NoActionBar) This will work for Android 4+. It is also possible to set a similar theme for Android 2.x: Theme based on version Tutorial Click to expand... Thank you, Erel. This addresses the flash screen issue. On a secondary question related to running on Full Screen, some devices will bring up the full screen activity from the onset while others bring up the activity as if it were not Full Screen, and then adjust it upward in a smooth fashion to cover the Device Status Bar. I do not have a clear pattern to report since it seems to happen on multiple versions of Android. Best regards. Sandy Upvote 0
Erel said: You can remove the actionbar from the theme with the manifest editor: Code: Copy SetActivityAttribute(main, android:theme, @android:style/Theme.Holo.NoActionBar) This will work for Android 4+. It is also possible to set a similar theme for Android 2.x: Theme based on version Tutorial Click to expand... Thank you, Erel. This addresses the flash screen issue. On a secondary question related to running on Full Screen, some devices will bring up the full screen activity from the onset while others bring up the activity as if it were not Full Screen, and then adjust it upward in a smooth fashion to cover the Device Status Bar. I do not have a clear pattern to report since it seems to happen on multiple versions of Android. Best regards. Sandy