Android Question [SOLVED] [B4X] How to use the BorderColor property in IDE theme?

Sandman

Well-Known Member
Licensed User
This is a follow-up to this Wish:

Add theme setting for "Current Line Outline"
https://www.b4x.com/android/forum/threads/add-theme-setting-for-current-line-outline.94825/

It is done with a new BorderColor attribute
I'm unable to get it working. Has anyone figured it out? I tried looking at the available themes also, but none seemed to have the attribute added.

Here's what I've tried to add to my custom theme, without any visual change at all:
B4X:
<Item Name="Border Color" Foreground="0x0000FFFF" Background="0x0000FFFF" BoldFont="No"/>

<Item Name="BorderColor" Foreground="0x00FF00FF" Background="0x00FFFF00" BoldFont="No"/>

<Item Name="Border" Foreground="0x00FFFF00" Background="0x00FF00FF" BoldFont="No"/>
(I have restarted the IDE so that's not the problem.)
 

Erel

Administrator
Staff member
Licensed User
No need to restart the IDE.

It is an attribute so you need to set it like this:

<Item Name="Current Line" Foreground="0x02000000" Background="0x02000000" BoldFont="No" BorderColor="0x000000FF"/>
 
Top