MicroDrie Well-Known Member Licensed User Longtime User Jul 7, 2022 #1 I can make a background of a Listview transparent with CSSUtils in the 64 bit 9.80 B4J version with this code: Code: Copy ' --- Standard Listview works with FX CSSUtils.SetBackgroundColor(ListView1, fx.Colors.Transparent) ' --- Standard Listview works with XUI Dim clr As Paint = fx.Colors.From32Bit(XUI.Color_Transparent) CSSUtils.SetBackgroundColor(ListView1, clr) Using a xCustomListView gives an error when in both cases the Color As Paint is required. How do I make the xCustomListView in B4J transparent?
I can make a background of a Listview transparent with CSSUtils in the 64 bit 9.80 B4J version with this code: Code: Copy ' --- Standard Listview works with FX CSSUtils.SetBackgroundColor(ListView1, fx.Colors.Transparent) ' --- Standard Listview works with XUI Dim clr As Paint = fx.Colors.From32Bit(XUI.Color_Transparent) CSSUtils.SetBackgroundColor(ListView1, clr) Using a xCustomListView gives an error when in both cases the Color As Paint is required. How do I make the xCustomListView in B4J transparent?
Alexander Stolte Expert Licensed User Longtime User Jul 7, 2022 #2 Try xCustomListView1.AsView Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 10, 2022 #3 See tip #2: https://www.b4x.com/android/forum/threads/b4x-bitmapcreator-blurreddialog.92214/#content Upvote 0
MicroDrie Well-Known Member Licensed User Longtime User Jul 17, 2022 #4 thanks for helping me. I was able to make the background transparent by the use of Steve05 routine. Upvote 0