B4A Question ACToolBarLight from code - fishwolf    
Apr 20, 2023is it possible add module ACToolBarLight from code (no from design) ?
i'm try, but doesn't work fine
Sub Globals
Private ACToolBarLight1 As ACToolBarLight
End Sub
Sub Activity_Create(FirstTime As Boolean)
ACToolBarLight1.Initialize("aaa")
Activity.AddView...
link:
This link shows you how to add custom views programatically. Hopefully that is what you are looking for.
thank you, but not is the ...
link: This link shows you how to add custom views programatically. Hopefully that is what you are looking for....
B4A Question how do I insert the "check mark" on the appcompat bar? - Erel (first post)    
Feb 10, 2019   
(1 reaction)You can add any view you like with ACToolbarLight.AddView....
B4A Question B4XDrawer Button - DonManfred (first post)    
Nov 9, 2018   
(2 reactions)I don't know what code to write there..
and what did you tried for days then when you say
I try for many days to insert two buttons at B4XDrawer ACToolBar....
??? Watching 3 day onto the IDE and pray it may happen automatically?
https://www.b4x.com/android/help/appcompat.html#actoolbarlight_addview
BTW: The forumsearch is working
https://www.b4x.com/android/forum/pages/results/?query=ACToolBarLight.addview
https://www.b4x.com/android/forum/threads/appcompat-acpopupmenu-usage.80970/#post...
B4A Question Editfield on ActionBar - Erel (first post)    
May 22, 2018Yes. The best way to do it is with AppCompat. Example: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/
You can add views with ACToolbarLight.AddView....
B4A Question AppCompat SearchView - jcesar    
Dec 12, 2018Hi
I'm trying insert a searchview on appcompat actionbar:
Dim sv As ACSearchView
sv.Initialize("")
sv.QueryHint = "Search"
ACToolBarLight1.AddView(sv,50%x,7%y,Gravity.NO_GRAVITY)
But a get this error:
ACToolBarLight1.AddView(sv,50%x,7%y,Gravity.NO_GR
javac 1.8.0_121
src\b4a\example\main.java:360: error: incompatible types: ACSearchViewWrapper cannot be converted to View
mostCurrent._actoolbarlight1.AddView((android.view.View)(mostCurrent._sv),anywheresoftware...
B4A Question Placing panel to far left on ACToolbar - Erel (first post)    
Dec 28, 2020105003
ACToolBarLight1.AddView(b, 100dip, 50dip, Gravity.LEFT) 'b = button
Dim jo As JavaObject = b.Parent
jo.RunMethod("setContentInsetsAbsolute", Array(0, 0))
...
link:
105003
ACToolBarLight1.AddView(b, 100dip, 50dip, Gravity.LEFT) 'b = button
Dim jo...
B4A Question Cannot compile projects using ACToolBarLight and ACActionBar - fabton1963 (first post)    
May 26, 2023In my old pc I already followed all istructions in the post you suggest, today I reinstall all in a new pc and this error does not ap...
link: Please refer to the post...
link: After upgrading B4A cannot compile many projects that use ACToolBarLight and ACActionBar I get...
B4A Example AppCompat with ToolBar - minimal example - Erel    
Jun 23, 2023   
(24 reactions)In most cases AppCompat is no longer needed and will only make things more complicated.
B4XPages example with dynamic menu: https://www.b4x.com/android/forum/threads/b4x-menu-badges.133301/
56464
The project attached uses the powerful AppCompat library to replace the built-in ActionBar with a more robust ToolBar.
The NavigationItemClick event is raised when the icon is clicked.
You can set ToolbarHelper.ShowUpIndicator = True to show an up arrow instead. It will raise the same event...
B4A Question v10.70 and ACToolBarLight - Erel (first post)    
Apr 16, 2021For new projects it is recommended to use B4XPages without AppCompat. It takes care of the action bar automatically.
I've tried various suggestions, including this one: https://stackoverflow.com/questions/26788464/how-to-change-color-of-the-back-arrow-in-the-new-material-theme/41055677
None of them seems to work. It will be simpler to replace the logo with your own one and set...
link: I´m using ACToolBarLight and ACActionBar. Until the last update, mi "Up Indicator"...
B4A Question ACToolBarLight1 - Beja    
Aug 20, 2020:
Main - 34: Undeclared variable 'actoolbarlight1' is used before it was assigned any value...: actoolbarlight<br />Are you missing a library reference?
Any help appreciated......
link:
Make sure to use B4A 10 for the b4xpages to work as it is an internal Library in V10.
Yep!
That w...
link:
It will be simpler to follow the B4XPages example: B4XPages + B4XDrawer
Sory but that thread is ...
link: If i open the b4xpages + drawer example i can see
98877
marked in the Library tab.
Make sure to use...
Page: 1  
2  
3  
4  
5  
6  
7