Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
06/28/14 11:07 AM (10 years ago)

The Eclipse Color Theme Plugin

If you want to change the basic color theme in Eclipse, here is an elegant way of doing it: http://eclipsecolorthemes.org/?view=plugin You can choose from 23 predefined styles or create your own.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/28/14 02:53 PM (10 years ago)
This looks really nice, Dusko! I've always hated trying to modify android, lol! This might make it much easier. Thanks for the share!! Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
06/28/14 05:34 PM (10 years ago)
Dusko,you've found alot of useful android stuff over the past few days! gracias!
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
06/28/14 09:55 PM (10 years ago)
>gracias! You are welcome!
 
Nicks App
Code is Art
Profile
Posts: 426
Reg: May 21, 2014
Las Vegas
6,010
like
06/29/14 08:22 AM (10 years ago)
How can that link help me fix Self Hosted 3.0 so Menu Simple rows are solid black, as iOS 7 rows are?
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
06/29/14 09:25 AM (10 years ago)
>How can that link help me fix Self Hosted 3.0 so Menu Simple rows are solid black, as iOS 7 rows are? It cannot. It is a link to change colors in the Eclipse, the Android editor, not in Menu Simple rows. Yes, you would use the Eclipse editor to change the code that generates colors in Menu Simple rows, but the colors in the editor and the color within the app have nothing to do with each other. >Menu Simple rows are solid black Find the following code in BT_screen_menuListSimple: listBackgroundColor = BT_strings.getStyleValueForScreen(this.screenData, "listBackgroundColor", "0"); preventAllScrolling = BT_strings.getStyleValueForScreen(this.screenData, "preventAllScrolling", "0"); listBackgroundColor = BT_strings.getStyleValueForScreen(this.screenData, "listBackgroundColor", "#000000"); listRowBackgroundColor = BT_strings.getStyleValueForScreen(this.screenData, "listRowBackgroundColor", "#000000"); listRowSelectionStyle = BT_strings.getStyleValueForScreen(this.screenData, "listRowSelectionStyle", ""); listTitleFontColor = BT_strings.getStyleValueForScreen(this.screenData, "listTitleFontColor", ""); listRowSeparatorColor = BT_strings.getStyleValueForScreen(this.screenData, "listRowSeparatorColor", ""); then change the values for colors, if needed, use method call getColorFromHexString from BT_color class to change them. Experiment!
 
Nicks App
Code is Art
Profile
Posts: 426
Reg: May 21, 2014
Las Vegas
6,010
like
06/29/14 09:42 AM (10 years ago)
I had done that. I clicked on some of the Menu Simple files (in Eclipse), and even though I have this in my Control Panel "itemType": "BT_screen_menuListSimple", "itemNickname": "Main", "navBarTitleText": "Main", "listRowBackgroundColor": "#000000", "listTitleFontColor": "#FFFF33", "listRowSelectionStyle": "none", All of the Menu List Simple files in Eclipse were "listRowBackgroundColor": "clear". I changed them to "listRowBackgroundColor": "#000000"... but in the Simulator, and on my device, the rows are still clear, then transparent blue after selected. My Simulator is using API 19. My Eclipse is set for API 18.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.