Changing Multiple Notification FONT color (not image)

This is a discussion on Changing Multiple Notification FONT color (not image) within the Droid Themes forums, part of the Droid Hacking category; Quick question for all the theming gurus... I am looking to change the font color for the multiple notification icon. See the following picture for ...

+ Reply to Thread
Results 1 to 6 of 6

Thread: Changing Multiple Notification FONT color (not image)

  1. Droid
    mattXdezzi's Avatar
    Member #
    169094
    Join Date
    Feb 2011
    Posts
    50
    Phone
    Droid2
    #1

    Changing Multiple Notification FONT color (not image)

    Quick question for all the theming gurus... I am looking to change the font color for the multiple notification icon. See the following picture for reference:



    I have already changed the stock red .9.png to a yellow one to match the rest of my Liberty ROM. However the white text doesn't show up well on a yellow background. Does anyone know how to change it to a different color?

    Thanks,
    Matt
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. n00b.
    raidzero's Avatar
    Member #
    59181
    Join Date
    Apr 2010
    Location
    Denver, CO
    Posts
    1,054
    Liked
    4 times
    Twitter
    raidzero_
    Phone
    Samsung Nexus S 4G
    DroidForums.net Developer
    DroidForums.net Theme Developer
    Premium Member
    #2
    decompile the framework-res.apk search the framework XML's for the image name and see if that dictates its color. either way, knowing the image name gives you a better chance. if you determine the color not to be set in xml, you will have to baksmali basically all of the framework jars (I'd start with services.jar) and search the smali files for the resource ID of that image (find it in public.xml of the framework-res.apk). Once you find that, you can search the surrounding code for the color value, or it could be another resource ID of a color set in colors.xml.... good luck

    edit: if that is the case, and it is simply calling, say , foreground_dark (which I guess would be white, I havent themed in a very long time...) your only choice is to edit the smali code to use a direct color code rather than pull from a pre-set color from the framework. I'll try to help if you make it this far.
    Last edited by raidzero; 03-25-2011 at 08:43 PM.

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
  4. Senior Droid
    ahC_hED's Avatar
    Member #
    180328
    Join Date
    Mar 2011
    Location
    Chattanooga, Tn
    Posts
    171
    Phone
    Droid2 of Shame!
    #3
    what theme is that? i want the battery icon, please.
  5. Droid
    mattXdezzi's Avatar
    Member #
    169094
    Join Date
    Feb 2011
    Posts
    50
    Phone
    Droid2
    #4
    Quote Originally Posted by ahC_hED View Post
    what theme is that? i want the battery icon, please.

    http://www.droidforums.net/forum/up-...ery-icons.html
  6. Senior Droid
    ahC_hED's Avatar
    Member #
    180328
    Join Date
    Mar 2011
    Location
    Chattanooga, Tn
    Posts
    171
    Phone
    Droid2 of Shame!
    #5
    Thanks, just noticed that you made those...good job, thanks again.

    Sent from my DROID2 of shame.
  7. Droid
    mattXdezzi's Avatar
    Member #
    169094
    Join Date
    Feb 2011
    Posts
    50
    Phone
    Droid2
    #6
    for anyone who finds this thread and is having the same problem. I figured it out. the color code is in status_bar_icon.xml in framework-res/res/layout: (line 5 i believe)

    Code:
    <TextView android:textSize="10.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:gravity="center" android:layout_gravity="bottom|right|center" android:id="@id/number" android:background="@drawable/ic_notification_overlay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="1.0dip" android:layout_marginBottom="1.0dip" />
    just change the android:textColor. It is in the format AARRGGBB

    hope this helps.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. Changing font color on Facebook widget
    By Capt_X in forum Droid Development
    Replies: 2
    Last Post: 01-25-2011, 01:54 AM
  2. Help changing font color
    By Vandy343 in forum Droid Themes
    Replies: 10
    Last Post: 01-18-2011, 04:17 PM
  3. Change font color on notification bar
    By Berry2Droid in forum Droid Hacks
    Replies: 4
    Last Post: 02-22-2010, 07:57 PM
  4. Font color notification bar - how are people changing?
    By Stormwulf in forum Droid Themes
    Replies: 0
    Last Post: 01-07-2010, 03:09 PM

Search tags for this page

android razor. how to change font and text color background
,
change font color htc thunder bolt
,
change font colour android
,
change notification font color htc thunderbolt
,
change notification text color android
,
how do you change the text color on thunderbolt
,

how to change font color on droid 2

,
how to change font color on htc thunderbolt
,
how to change notification text color
,
how to change text color on htc rhyme
,
how to change text fontand color on htc rhyme phone
,
how to change text notification color on rhyme
,
how to change the font on the htc rhyme
,
htc rhyme text font change color
,
multiple changing color font
Click on a term to search our site for related topics.