DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Where is the XML file to make the Status Bar BACKGROUND transparent?

  1. Master Droid
    mike919's Avatar
    Member #
    50723
    Join Date
    Mar 2010
    Location
    Erie, PA
    Posts
    656
    Liked
    1 times
    Twitter
    mike91908
    Phone
    Samsung Galaxy Nexus
    #1

    Where is the XML file to make the Status Bar BACKGROUND transparent?

    I have all these backgrounds made through photoshop and i can't quite figure out how to find the code to change the background to transparency.. I have HxD editor and all necessary software... just need a little help... thanks!!

    Or A how to Link to somewhere would be perfect.
    Samsung Galaxy Nexus
    CM10 Nightly
    Stonedroid theme by mike919
  2.  
     
     
     
  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
    why don't you just use a transparent status_bar_background.png ?

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
  4. Master Droid
    mike919's Avatar
    Member #
    50723
    Join Date
    Mar 2010
    Location
    Erie, PA
    Posts
    656
    Liked
    1 times
    Twitter
    mike91908
    Phone
    Samsung Galaxy Nexus
    #3
    Quote Originally Posted by raidzero View Post
    why don't you just use a transparent status_bar_background.png ?

    I've created multiple PNG's of different color and all work on a ROM that already has a transparent notification bacground... i know how to swap pngs and have almost themed Pink Life over to BB froyo.02

    but for some reason, the transparent background png i made for this theme is showing solid. i didn't know if there's an XML file that controls this, since BB froyo 0.2 has a solid background and not transparent...
    Samsung Galaxy Nexus
    CM10 Nightly
    Stonedroid theme by mike919
  5. 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
    #4
    Nobody knows how to do that except xeudoxus. We will see a transparent notification background when darkedge comes out for froyo

    Apparently google changed the opacity of the notification background based on time of day, thats the rumor at least...

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
  6. Master Droid
    mike919's Avatar
    Member #
    50723
    Join Date
    Mar 2010
    Location
    Erie, PA
    Posts
    656
    Liked
    1 times
    Twitter
    mike91908
    Phone
    Samsung Galaxy Nexus
    #5
    Ahhhh..... I see! So it IS actually in XML though correct? I mean you can't just straight replace a transparent background with a solid unless its written into XML correct?
    Samsung Galaxy Nexus
    CM10 Nightly
    Stonedroid theme by mike919
  7. 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
    #6
    It has to be in either XML or java. I am betting it was found through smali since the source for froyo has not been released. Plus XML does not really do logic statements (correct me if I am wrong), so I am betting its actual java, but since the source is not out it had to have been decompiled and to dalvik bytecode. When I look at dalvik bytecode, I have no idea how anyone could understand it... But people do anyway haha

    edit: and yeah, you can replace an image with a transparent one and vice versa without any xml editing. I speak for 2.1 and earlier. with froyo, all bets are off.
    Last edited by raidzero; 06-17-2010 at 09:27 AM.

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
  8. Android For Life
    Mbk's Avatar
    Member #
    65152
    Join Date
    May 2010
    Posts
    4,170
    Liked
    48 times
    Phone
    Enter Current Phone Model Here
    DroidForums.net Theme Developer
    Premium Member
    #7
    The image png itself could be made transparent by specifying so in one of the layout XMLs...no? I'm figuring it has to be in an XML...

    a good example... it's the background png from SystemInfo Widget.... yet it displays as transparent on Froyo as well as 2.1...
    Last edited by Mbk; 06-17-2010 at 09:45 AM.
  9. 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
    #8
    Quote Originally Posted by Mbk View Post
    The image png itself could be made transparent by specifying so in one of the layout XMLs...no? I'm figuring it has to be in an XML...

    a good example... it's the background png from SystemInfo Widget.... yet it displays as transparent on Froyo as well as 2.1...
    I just said it was not XML since the darkedge team said the opacity of the notification background was altered by time of day in the google code for froyo in the framework. Other apks that are not controlled by the framework can work however their designer intended. If they want to make a png transparent and not rely on te framework, therefor making it android version independent, they could. As far as the time of day thing goes, I am pretty sure this type of logic operation could not be accomplished by XML alone.

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
  10. Android For Life
    Mbk's Avatar
    Member #
    65152
    Join Date
    May 2010
    Posts
    4,170
    Liked
    48 times
    Phone
    Enter Current Phone Model Here
    DroidForums.net Theme Developer
    Premium Member
    #9
    I was just pointing out that transparency does show on Froyo..using SystemInfo Widget as an example,
    ... so you don't feel that specifying opacity of any image in an XML could render any image transparent?
    Android XMLs seem slightly foreign to me, it seemed more straightforward with WindowsMobile...well to me atleast.
  11. 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
    #10
    Quote Originally Posted by Mbk View Post
    I was just pointing out that transparency does show on Froyo..using SystemInfo Widget as an example,
    ... so you don't feel that specifying opacity of any image in an XML could render any image transparent?
    Android XMLs seem slightly foreign to me, it seemed more straightforward with WindowsMobile...well to me atleast.
    I do feel that XML can set the opacity of an image. However, for the OP's specific request, I do not feel the answer is in XML. I think if it was, more people would have found out by now. The statement about the time of day setting the opacity only seems to further prove this. XML can very well change the opacity of an image, but if it has already been changed by the underlying system, then changing it back would not be a possibility, correct?

    "Success is going from failure to failure without loss of enthusiasm" - Winston Churchill
Page 1 of 2 12 LastLast

Links

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. Transparent Icon Text Background
    By Jasko in forum Android Hacks and Help
    Replies: 8
    Last Post: 09-01-2010, 02:09 PM
  2. Transparent Status Bar and Shade for Rooted Droid!
    By teenfaces in forum Android Themes
    Replies: 240
    Last Post: 06-04-2010, 02:28 PM
  3. Replies: 0
    Last Post: 05-27-2010, 01:18 AM
  4. Transparent background in the notification window?
    By lvlln in forum Android Hacks and Help
    Replies: 4
    Last Post: 01-22-2010, 08:29 AM
  5. Replies: 0
    Last Post: 12-17-2009, 09:00 PM

Search tags for this page

android status bar files
,
cm10 transparent status bar
,
how to change status bar background transparent
,
how to make transparent status bar on android
,

make status bar background transparent android

,
statusbar.xml
,
transparent status bar cm10
,
which xml do i edit to make status bar transparent
,

xml background transparent

,

xml transparent background

Click on a term to search our site for related topics.
Find us on Google+