Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4android > Basic4android Getting started & Tutorials
Documentation Wiki Register Members List Windows Mobile Search Today's Posts Mark Forums Read

Basic4android Getting started & Tutorials Android development starts here. Please do not post questions in this sub-forum.

IDE Color Schemes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-12-2012, 07:27 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 25,807
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default IDE Color Schemes

Starting with Basic4androdi v1.8 it is possible to modify the code editor colors.
This is done by editing the file B4A.xml that is located in the installation folder.

The colors are set in the "styles" node.
You should restart the IDE for the changes to take effect.

You are welcomed to share your schemes.

The default values are:
Code:
    <!-- Highlighting Styles -->    
<Styles>
    <Style Key=
"IdeBackground" ForeColor="White"/>
    <Style Key=
"ContentDivider" ForeColor="ControlDark"/>
    <Style Key=
"LineNumber" ForeColor="Teal" />
    <Style Key=
"ToolTipBackground" ForeColor="Info" />
    <Style Key=
"ToolTipDefaultStyle" ForeColor="Black" />
    <Style Key=
"DefaultStyle" ForeColor="Black"/>
    <Style Key=
"GlobalVariablesStyle" ForeColor="#6600CC"/>
    <Style Key=
"ReservedWordStyle" ForeColor="Blue" />
    <Style Key=
"NumberStyle" ForeColor="Purple" />
    <Style Key=
"TypeWordStyle" ForeColor="DarkCyan" />
    <Style Key=
"StringDefaultStyle" ForeColor="Maroon" />
    <Style Key=
"CommentDefaultStyle" ForeColor="Green" />
    <Style Key=
"SelectionHighlight" ForeColor="PaleTurquoise" />
    <Style Key=
"ReferenceHighlight" ForeColor="#00FFEF" />
    <Style Key=
"UndeclaredIdentifier" ForeColor="Red" />
    <Style Key=
"PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="Gray" />
</Styles>
COBRASoft has created a soft color scheme:
Code:
<Styles>
        <Style Key=
"IdeBackground" ForeColor="#1D314C"/>
        <Style Key=
"ContentDivider" ForeColor="#C2D5DC"/>
        <Style Key=
"LineNumber" ForeColor="#58859B" />
        <Style Key=
"ToolTipBackground" ForeColor="#36598A" />
        <Style Key=
"ToolTipDefaultStyle" ForeColor="#F0F0F0"/>
        <Style Key=
"DefaultStyle" ForeColor="#F0F0F0"/>
        <Style Key=
"GlobalVariablesStyle" ForeColor="#D8CFA0"/>
        <Style Key=
"ReservedWordStyle" ForeColor="#9CC4D2" />
        <Style Key=
"NumberStyle" ForeColor="#F4AF82" />
        <Style Key=
"TypeWordStyle" ForeColor="#45B6DC" />
        <Style Key=
"StringDefaultStyle" ForeColor="#F4AF82" />
        <Style Key=
"CommentDefaultStyle" ForeColor="#85DE6D" />
        <Style Key=
"SelectionHighlight" ForeColor="#2B70B6" />
        <Style Key=
"ReferenceHighlight" ForeColor="#E0E0E0" />
        <Style Key=
"UndeclaredIdentifier" ForeColor="#FF1E1E" />
        <Style Key=
"PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="#FFE5C2" />
</Styles>
Which looks like:


The following attributes are supported (IdeBackground, LineNumber, ContentDivider and UndeclaredIdentifier are treated specially and do not support additional attributes):

Reply With Quote
  #2 (permalink)  
Old 01-12-2012, 09:43 AM
Junior Member
 
Join Date: Sep 2011
Posts: 47
Default

Really nice!
__________________
I'm from Spain.
I don't know speak english, sorry for my bad english!
Reply With Quote
  #3 (permalink)  
Old 01-12-2012, 01:19 PM
alwaysbusy's Avatar
Junior Member
 
Join Date: Oct 2007
Location: Belgium
Posts: 94
Default

Nice one COBRASoft, very easy on the eyes!
__________________
Check out Alwaysbusy's Corner for more tips and tricks.

Click here to if you like my work
Reply With Quote
  #4 (permalink)  
Old 01-12-2012, 01:56 PM
rbsoft's Avatar
Senior Member
 
Join Date: Jul 2011
Location: Bochum, Germany
Posts: 343
Send a message via Skype™ to rbsoft
Default

The CobraSoft look is very pleasant.

Rolf
__________________
"I like to cook with wine, sometimes I even add it to the food." (W. C. Fields)
Reply With Quote
  #5 (permalink)  
Old 01-12-2012, 03:31 PM
vb1992's Avatar
Basic4android Expert
 
Join Date: Oct 2011
Location: USA
Posts: 921
Default

more on the unix/vt100 Black/Green scheme here:

Code:


<Styles>
        <Style Key=
"IdeBackground" ForeColor="#212121"/>
        <Style Key=
"ContentDivider" ForeColor="#7CFF85"/>
        <Style Key=
"LineNumber" ForeColor="#7CFF85" />


           <Style Key=
"ToolTipBackground" ForeColor="#6C9861" />
        <Style Key=
"ToolTipDefaultStyle" ForeColor="#FFFFFF"/>


        <Style Key=
"DefaultStyle" ForeColor="#FFFFFF"/>
        <Style Key=
"GlobalVariablesStyle" ForeColor="#FFFF91"/>
        <Style Key=
"ReservedWordStyle" ForeColor="#7CFF85" />
        <Style Key=
"NumberStyle" ForeColor="#7CFF85" />
        <Style Key=
"TypeWordStyle" ForeColor="#F7FF00" />
        <Style Key=
"StringDefaultStyle" ForeColor="#7CFF85" />
        <Style Key=
"CommentDefaultStyle" ForeColor="#AEADB0" />
        <Style Key=
"SelectionHighlight" ForeColor="#FFEF00" />
        <Style Key=
"ReferenceHighlight" ForeColor="#292929" />
        <Style Key=
"UndeclaredIdentifier" ForeColor="#cccccc" />
        <Style Key=
"PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="#FF0000" />
</Styles>



Darker look

Quote:
<Styles>
<Style Key="IdeBackground" ForeColor="#000100"/>
<Style Key="ContentDivider" ForeColor="#7CFF85"/>
<Style Key="LineNumber" ForeColor="#7CFF85" />


<Style Key="ToolTipBackground" ForeColor="#9CAC94" />
<Style Key="ToolTipDefaultStyle" ForeColor="#FFFFFF"/>


<Style Key="DefaultStyle" ForeColor="#689258"/>
<Style Key="GlobalVariablesStyle" ForeColor="#FFFFFF"/>

<Style Key="ReservedWordStyle" ForeColor="#44FF51" />
<Style Key="NumberStyle" ForeColor="#7CFF85" />
<Style Key="TypeWordStyle" ForeColor="#E0E800" />
<Style Key="StringDefaultStyle" ForeColor="#7CFF85" />
<Style Key="CommentDefaultStyle" ForeColor="#323232" />
<Style Key="SelectionHighlight" ForeColor="#FFEF00" />
<Style Key="ReferenceHighlight" ForeColor="#292929" />
<Style Key="UndeclaredIdentifier" ForeColor="#cccccc" />
<Style Key="PreProcessorDirectiveKeywordStyle" Name="Pre-Processor Directive Keyword" ForeColor="#FF0000" />
</Styles>


Attached Images
File Type: jpg screen.jpg (24.4 KB, 173 views)
File Type: jpg Noname.jpg (13.1 KB, 99 views)

Last edited by vb1992 : 01-12-2012 at 04:10 PM.
Reply With Quote
  #6 (permalink)  
Old 01-12-2012, 04:17 PM
COBRASoft's Avatar
Knows the basics
 
Join Date: Dec 2011
Location: Oudenburg, Belgium
Posts: 259
Send a message via MSN to COBRASoft
Default

Thx Erel and other . Nice ones vb1992. Erel, I have 1 more setting I would like to have. The default color for the tooltips is only working for the first line (parameters). The explanation is still in black. Perhaps you could add another setting for this one for the next update .
Reply With Quote
  #7 (permalink)  
Old 01-12-2012, 04:22 PM
vb1992's Avatar
Basic4android Expert
 
Join Date: Oct 2011
Location: USA
Posts: 921
Default

Quote:
Originally Posted by COBRASoft View Post
The default color for the tooltips is only working for the first line (parameters). The explanation is still in black.

That would be helpful..
Reply With Quote
  #8 (permalink)  
Old 01-13-2012, 12:34 AM
clx clx is offline
Junior Member
 
Join Date: Oct 2011
Posts: 29
Default

These are great, Thanks!
Reply With Quote
  #9 (permalink)  
Old 01-13-2012, 11:46 AM
Junior Member
 
Join Date: May 2011
Posts: 45
Default Thanks

My old eyes very much appreciate this. Thank you, sir.
Reply With Quote
  #10 (permalink)  
Old 01-13-2012, 12:03 PM
COBRASoft's Avatar
Knows the basics
 
Join Date: Dec 2011
Location: Oudenburg, Belgium
Posts: 259
Send a message via MSN to COBRASoft
Default

I'm working on a colorscheme editor (VB.Net 4.0). It's based on HTML + CSS. The VB part will be in changing the CSS file and changing the color of some pictures (collapsed/expanded).
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic4Android v1.8 Color Schemes COBRASoft Basic4android Updates and Questions 19 06-15-2012 02:25 PM
Color jgcote Basic4ppc Wishlist 1 12-19-2011 07:31 PM
color jgcote Bugs & wishlist 0 12-19-2011 04:36 PM
convert Color to B4ppc's color? Byak@ Questions (Windows Mobile) 2 07-13-2009 11:52 AM
VB color value Leginus Questions (Windows Mobile) 6 01-19-2008 10:58 AM


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0