Android One Expanding to Bangladesh, Nepal, and Sri Lanka

At Google I/O 2013, Google proudly announced that the Android operating system was … more

Android 5.0.2 Fixes 2012 Nexus 7! Sony’s Making a Google Glass Competitor? – XDA TV

Android 5.0.2 Lollipop is available for the … more

Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] smali color coding???????

OP gufemur

19th October 2010, 03:09 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
I've searched and searched and can't find my answer, so if this has already been discussed, I appoligize. I'm trying to edit colors in various smali files and am trying to understand the breakdown of the color coding. ie const/high16 v6, -0x100. I've seen that some of you are simply taking out the high16 and then entering a standard hex color code. Could someone just explain what the different portions of that code stand for? If I sound like a NOOB, it's because I am. Please have mercy on my soul
22nd October 2010, 04:10 AM   |  #2  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
anyone?????????? I don't need tons of details, just a little understanding.

Thanks
14th November 2011, 08:31 PM   |  #3  
Junior Member
Thanks Meter: 47
 
9 posts
Join Date:Joined: May 2010
If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r
Last edited by -= sk0t =-; 14th November 2011 at 08:41 PM.
The Following 39 Users Say Thank You to -= sk0t =- For This Useful Post: [ View ]
28th November 2011, 01:58 PM   |  #4  
iridaki's Avatar
Retired Forum Moderator / Recognized Themer
Flag Edinburgh, Scotland
Thanks Meter: 4,883
 
3,960 posts
Join Date:Joined: Feb 2007
Donate to Me
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

Hands down the most useful thing I have seen in a while!!!!
28th November 2011, 06:32 PM   |  #5  
lufc's Avatar
Retired Senior Moderator / Resident Priest
Flag Blackpool UK
Thanks Meter: 1,545
 
9,528 posts
Join Date:Joined: Oct 2007
Donate to Me
More
Please use the Q&A Forum for questions Thanks
Moving to Q&A
11th December 2011, 02:46 PM   |  #6  
gunnermike's Avatar
Senior Member
Flag Crestview
Thanks Meter: 502
 
1,854 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

if i were a woman, id totally have your baby!
3rd January 2012, 12:22 AM   |  #7  
robm1911's Avatar
Recognized Contributor / Themer
Flag Weatherford Tx.
Thanks Meter: 2,132
 
1,251 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

very handy tool thank you for this
25th January 2012, 05:05 AM   |  #8  
OP Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2010
How do you know whether to use const/high16 or const?
18th April 2012, 09:10 AM   |  #9  
Pneuma1985's Avatar
Recognized Themer
Flag Around
Thanks Meter: 1,028
 
790 posts
Join Date:Joined: Jan 2011
Donate to Me
More
Most useful smali color coding tool out there that I have found... Anyone find better please let us know... Id like to have one that helps with the variables as well that would be nice...
27th May 2013, 01:20 AM   |  #10  
Senior Member
Thanks Meter: 64
 
133 posts
Join Date:Joined: Jul 2012
Quote:
Originally Posted by -= sk0t =-

If still need
const/high16 v6, -0x100 = const v6, -0x1000000 = FF000000
const/high16 v6, -0x1 = const v6, -0x10000 = FFFF0000
const v6, -0x100 = FFFFFF00
const v6, -0x1 = FFFFFFFF


http://www.mediafire.com/?xyl88qzm6m7652r

Really, really useful app, thanks m8

Post Reply Subscribe to Thread

Tags
smali color
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes