1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Where to edit power off dialog?

Discussion in 'Android Themes' started by MJ5150, Jul 24, 2010.

  1. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    What file contains the text for the dialog box that opens when you choose to turn the Droid off? I am looking to edit the line that says "Your phone will shut down".

    I know the DarkEdge guys have it edited, so there must be an XML somewhere I am guessing.

    -Mike
  2. thebowers
    Offline

    thebowers Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    2,548
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Iowa
    It's in the framework-res as strings.xml. Do a search for shutdown and go from there.
    Last edited: Jul 24, 2010
  3. MJ5150
    Offline

    MJ5150 New Member

    Joined:
    Dec 22, 2009
    Messages:
    1,040
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Lacey, Washington
    Thanks for the tip. Off I go to find the strongs.xml file. I didn't jump right out at me in any of the subfolders, so it must be hidden somewhere.

    -Mike
  4. thebowers
    Offline

    thebowers Premium Member Theme Developer Premium Member

    Joined:
    Nov 24, 2009
    Messages:
    2,548
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Iowa
    Decompile with apk manager. Then go to /res/values/ it's right there.
  5. qurtrn10
    Offline

    qurtrn10 New Member

    Joined:
    Jun 10, 2010
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    0
    I have the Incredible, and although I have no idea of the instructions you just gave, I'd also like to be able to edit the script that pops up with that window (something like 'This is what your dumbass gets for not charging me'). Is there a detailed how to or video anywhere that could show a programing ignorant person how to do it?

    Thanks!
Search tags for this page

android power dialog

,

android power dialog.xml

,

android power off from dialog

,

how change power dailog menu android