B4A Example AppCompat with ToolBar - minimal example - Erel    
Jun 23, 2023   
(24 reactions) 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.
https://www.b4x.com/basic4android/images/SS-2017-05-24_12.20.07.png
You can change the toolbar color.../threads/appcompat-with-toolbar-minimal-example.79896/#post-509530
https://www.b4x.com/basic4android...
link: Updated first example with targetSdkVersion 35. The updated manifest:
SetApplicationAttribute(android:theme, "@style/MyAppTheme")
CreateResource(values, theme.xml,
<resources>
&...
B4A Question AppCompat with ToolBar not working (solved) - f0raster0    
Apr 15, 2020Hi Guys,
I just bought a new laptop last year.. today want to work with this AppCompat, then I download this example:
https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/
I think I read in somewhere about configuration of java or so don't remember..
anyway when i try to run the example I got this error:
Error occurred on line: 25 (Main)
java.lang....lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/Toolbar;
at java...
B4i Question ToolBar Button don not appear? - Star-Dust    
Aug 8, 2018Surely I'm doing something simple. But it's my first App in B4i.
In the Debug the TollBar Buttons appear to me while in release they do not appear. Why?
70794 70795...
B4A Tutorial Material Design 3 - Using a ToolBar as ActionBar - corwin42    
Jul 31, 2016   
(38 reactions)Note: You should use B4A 6.0 or above for this tutorial.
Google recommends to use a ToolBar... differences between a ToolBar and the standard ActionBar is that the ActionBar is a system component which is automatically added by the os and a ToolBar is part of our layout so we can add it to the activity with the designer or by code.
Using the ToolBar object
First we need to set up our project... Actionbars will replace the ToolBar and are not displayed above it.
Now we can create our layout. For...
Wish Cut-Copy-Paste toolbar buttons - aeric    
Jul 24, 2026Just a little design suggestion.
I prefer the buttons sequence to be Cut-Copy-Paste on the toolbar.
Currently all B4X IDEs are having Copy-Cut-Paste sequence. However, the Edit Menu is in correct order.
172571...
link: Windows File Explorer.
172573...
B4i Question Changing colors of navbar and toolbar seems not to work anymore - schimanski    
May 1, 2022I compiled one of my projects new and it seems, that it is no longer possible to change the colors o...
link: iOS 15 - changing toolbar and nav bar colors:
Private Sub SetColors(NavBarColor As Int...
link: I have spend some more time in changing the colors of bars, but i'm not able to set the toolbar...
link:
I compiled one of my projects new and it seems, that it is no longer possible to change the colors ...
B4A Question Show badge on ACMenuItem shown on ToolBar - Anser    
Jul 12, 2016Hi,
I am using AppCompat and on the ToolBar I have an icon which acts as a menu. I have used the following code
Private ActionBar As ACToolBarDark
'Set the ToolBar (it is called ActionBar in the layout file) as the ActionBar of this activity.
ActionBar.SetAsActionBar
#IgnoreWarnings: 11
Sub Activity_CreateMenu(Menu As ACMenu)
Menu.Clear
Dim Notifications As MSIconicDrawable : Notifications.Initialize("gmd_notifications") : Notifications.Color = 0xffffffff
Dim...
B4A Question Block buttons on the bottom toolbar - Alex_197    
Sep 1, 2023Hi all. Is it possible to disable circle and square buttons on the toolbar at the bottom of the screen (see the screenshot)?
I need to block them while the app is in sync mode with the server and unblock them right after it.
Thanks....
link: Only with kiosk mode.
Switch to B4XPages....
Wish Appcompat with toolbar : constraint Icon Nav size - lemonisdead    
May 30, 2017Hello,
I have tested the two samples provided on a small smartphone (Dogbie (almost no name phone), Android 6.0, 240x400) and found that the navigation icon's size was too big.
Of course, I could decide to use a smaller sized image for the navigation icon but in general, couldn't it be possible that those icon resize by themselves when in place ?
Many thanks
Example 1
56222
Example 2
...
B4i Question How to use an icon+text in ToolBar buttons ? - marcick    
Feb 1, 2023Hours searching througth samples and I can't find how to do .....
I want to use an Awesome or Material icon on the bottom ToolBar plus a text below, like whatsapp
Do I have to initialize...
link: Edit: in the page_resize event, I have started a timer 100mS and when it generate the event (after i...
link: Ok, I'm in the right direction.
I have 5 bar "button" that are panels containing two l...
link: I didn't worry about the Bar Button contents during these experiments and I used just one source...
Page: 1  
2  
3  
4  
5  
6  
7