B4A Code Snippet ActionBar and StatusBar colors programmatically with Edge to Edge - Erel    
Aug 13, 2026   
(16 reactions)">@color/actionbar</item>
</style>
<style name="LowerCaseMenu" parent="android:TextAppearance.Material.Widget.ActionBar.Menu">
<item...
link: Optionally, you can also set the navigation bar color like this:
Dim ime As IME
SetNavigationBarCol...
link: Okay, thanks....
link:
if I don't include the #EdgeToEdgeOldDevices line
You should include it. It makes old devices ...
B4A Library StdActionBar - Another ActionBar library - Erel    
Jan 3, 2021   
(19 reactions)   
tags: ActionBarStdActionBar (Standard ActionBar) library is based on the native ActionBar API, therefore it is only supported by Android 4+.
StdActionBar / StdViewPager tutorial: ActionBar / Sliding Pages tutorial
The share of Android 2.x devices is dropping and currently (January 2014) it is only 24%...
link: Try this:
Dim jo As JavaObject = ActionBar1
jo = jo.GetField("bar")
jo.RunMethod...
link: 22721
Relevant code:
Sub Globals
Dim mFragment As MapFragment
Dim gmap As GoogleMap
Dim MapPanel As Panel
Dim bar As StdAc...
B4A Tutorial ActionBar / Sliding Pages tutorial - Erel    
Feb 25, 2016   
(13 reactions)   
tags: ActionBar("1")
vp.Panels(2).LoadLayout("2")
The next step is to add the ActionBar tabs:
bar...
link: It will not look perfect but it should work:
- Initialize ViewPager with 4 pages.
- In VP_PageSelect...
link: Erel, thank you. Great suggestion. I have switch to TabStripViewPager. Works perfectly....
link: I recommend you to switch to TabStripViewPager....
B4A Code Snippet Theme Colors - Erel    
Aug 10, 2026   
(21 reactions)   
tags: Themes, B4A Theme, color, status navigation color, Theme, ActionBarEdge to edge example: https://www.b4x.com/android/forum/threads/actionbar-and-statusbar-colors-programmatically-with-edge-to-edge.171763/
Changing the action bar, status bar and navigation bar colors is done with resources set in the manifest editor.
https://www.b4x.com/basic4android/images/SS...="actionbar">#ff039be5</color>
<color name="statusbar">#ff006db3</color....Material.Light">
<item name="android:colorPrimary">@color/actionbar<...
B4A Code Snippet Get Actionbar Height - Blueforcer    
Apr 23, 2025   
(4 reactions)I needed a way for users to access the OS network settings in a “closed” HMI without being able to access other menus. Therefore I had to cover the actionbar with an own overlay. To find out the height to use, I developed the following function.
I have not tested whether it works with a non-rooted and other devices.
Sub GetActionBarHeight As Int
Dim r As Reflector
Dim context As Object..., types2)
Return height
Else
Log("Konnte die ActionBar-Größe nicht ermitteln"...
B4A Tutorial Material Design 3 - Using a ToolBar as ActionBar - corwin42    
Jul 31, 2016   
(38 reactions)   
tags: toolbar, Material Design instead of the standard system ActionBar for Material Design apps. In this tutorial we will use a ACToolBar(Light/Dark) object from the AppCompat library (1.10 and above) as an ActionBar.
One of the main differences between a ToolBar and the standard ActionBar is that the ActionBar is a system component...
This disables the standard ActionBar in the theme. With the windowActionModeOverlay set to true ActionMode...
link: Hi
is it possible to change fonttype oder fontsize ?
(title / subtitle)
regards
Frank...
B4A Library StdActionBarHelper - Utilities for the Standard ActionBar - corwin42    
Jul 18, 2014   
(10 reactions)   
tags: StdActionBarHelper, ActionBar, actionbar pop menuThis library adds some features to the Standard ActionBar. It uses the native ActionBar which... of changing the up indicator of the actionbar so you can change it to the navigation drawer... manufacturer changed the ActionBar implementation on the device).
There are some additional methods to hide the title/appicon etc. from the ActionBar.
With version 1.10 of this library there are many...
link: Dear Mr. Corwin 42
Thank you for providing such a concise and easy-to-use StdActionBarHelper library.
Can I remove the displayed log information when adding icons?
Thanks again!
The following is th...
B4A Question [B4X] B4XPages + B4XDrawer: Background color Actionbar (Solved) - f0raster0    
Jan 7, 2026Hi Team, how are you changing the Background color on the top bar to this b4xdrawer?...
link: This is the actionbar: https://www.b4x.com/android/forum/threads/theme-colors.87716/#content...
link: this:
169252169253...
link: Which bar? The top bar? Post a screenshot....
B4A Tutorial [B4X] B4XPages + B4XDrawer - Erel    
Sep 11, 2025   
(29 reactions) True
End Sub
Private Sub B4XPage_Appear
#if B4A
Sleep(0)
B4XPages.GetManager.ActionBar....Initialize(HamburgerIcon)
B4XPages.GetManager.ActionBar.RunMethod("setHomeAsUpIndicator"....ActionBar.RunMethod("setHomeAsUpIndicator", Array(0))
#end if
End Sub
Private Sub...
B4A Question Is there any way to reuse AppCompat Actionbar code appwide? - sktanmoy    
Aug 15, 2018   
tags: appcompatIs there any way to use AppCompact Actionbar in all Activity without writing the same code again and again. I tried to integrate the code into a class (I'm not using XUI). But failed....
link: Guess, Erel told about something like in attached file.
BTW, correct name is AppCompat (compatibilit...
Page: 1  
2  
3  
4  
5  
6  
7