B4A Question ACToolBarLight from code - fishwolf    Apr 20, 2023 is 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(ACToolBarLight1, 0, 0, 10 B4A Question Placing panel to far left on ACToolbar - Erel (first post)    Dec 28, 2020 105003
ACToolBarLight1.AddView(b, 100dip, 50dip, Gravity.LEFT) 'b = button
Dim jo As JavaObject = b.Parent
jo.RunMethod("setContentInsetsAbsolute", Array(0, 0)) B4A Library [B4X] [XUI] AS SegmentedTab - Ulhas Rane (first post)    Apr 14, 2021 Hello,
Is it possible to add scrollview or similar to assegmented tab so that for large no of tabs say 8-9 can be scrolled horizontally.
Currently if i increase the width say ASSegmentedTab1.Base.Width=550dip only initial tabs are visible
Sub Activity_Create(FirstTime As Boolean)
If FirstTime B4A Question [SOLVED] How to implement Click Handler on Title of ActionBar - JMB (first post)    Oct 02, 2019   (1 reaction) Thank you DonManfred. That was it. Just thought I'd post my code in case anyone else was wondering... Having added access to the AppCompat library, and using the following definitions, Private ActionBar As ACToolBarLight Private ACTestButton As ACButton Private ACTestFlatButton As ACFlatButton B4A Question B4XDrawer Button - DonManfred (first post)    Nov 09, 2018   (2 reactions) and what did you tried for days then when you say
??? 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./?query=ACToolBarLight.addview
https://www.b4x.-acpopupme B4A Question AppCompat - ACPopupMenu Usage - Erel (first post)    Jun 26, 2017   (1 reaction) You can add a custom view instead of a standard menu item: https://www.b4x.com/basic4android/images/SS-2017-06-26_10.50.34.png Dim b As Button b.Initialize("menuButton") b.Text = "Click" ACToolBarLight1.AddView(b, 60dip, 40dip, Gravity.CENTER) pp.Initialize("pp", b) 'global ACPopu B4A Question AppCompat SearchView - jcesar    Dec 13, 2018 Hi 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:3 B4A Question Droppy library - RB Smissaert (first post)    Aug 17, 2019 Initialize(LoadBitmap(File.DirAssets, "smiley.png"))
ACToolBarLight1.NavigationIconDrawable = bd
btnOverflow.Initialize("btnOverflow")
btnOverflow.Text = "3 Dots :-)"
btnOverflow.TextSize = 12
ACToolBarLight1.AddView(btnOverflow,75dip,50dip,Gravity.RIGHT)
ToolbarHelper.Initialize
ToolbarH 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 Editfield on ActionBar - Erel (first post)    May 22, 2018 Yes. The best way to do it is with AppCompat. Example: https://www.b4x.-with-toolbar-minimal-example.79896/ You can add views with ACToolbarLight.AddView. Page: 1   2   3   4   5   6   7   Powered by ColBERT |