On TWRP website they tell you that you can have a different background color for every page. I'm gonna show you how to add a background for whatever page you'd like. I'm gonna mention three pages; the main page (this one we all know), wipe page, and the lockscreen page.
We all add our own background to the main page now lets add a background for the wipe page.
Just like the main page you have to add the wipe page background to your resources in the same way you added the background for the main page.
I have mine like this
Once you add your line in resource go to line 1089 for the wipe page. (In both of the ui.xml I've used it was around that area). What you are looking for is this:
Now you are gonna add this
Once this is added it should look like this:
Just one more thing to add and you'll have an image for your wipe page. Under the above code add this:
It all should look like this:
This doesn't add the home and back button to the wipe page; the action is there but the buttons are not. If you want to add them place the code under the "object type image" lines. You can also add the simulating actions and others if you'd like. You can copy n paste form your ui.xml.
Now lets go to line 2677 for the lockscreen. The above steps are the same but I have my lockscreen background named: lockbg. So in the code replace wipebg with lockbg and make sure you add it to your resources. Don't add the it's not needed. What it should look like:
Just like the wipe page you can add any other parts of the code as well. Again you can do this for every page in the xml. I only do it for those I just mentioned. You can use my ui.xml to study if you'd like. I'll do my best to keep up with this thread but I work 3rd shift so I'm gonna rely on the help of others to answer ones questions (Thanks in advance).
My xml
HAPPY THEMING!!!
Edut: Mod; what happened to the examples of the xml code I used? I did an edit to remove an ' from your and now all my examples are gone. I haven't received a pm stating I did something wrong. How can I get it back without retyping them?
We all add our own background to the main page now lets add a background for the wipe page.
Just like the main page you have to add the wipe page background to your resources in the same way you added the background for the main page.
I have mine like this
Once you add your line in resource go to line 1089 for the wipe page. (In both of the ui.xml I've used it was around that area). What you are looking for is this:
Now you are gonna add this
Once this is added it should look like this:
Just one more thing to add and you'll have an image for your wipe page. Under the above code add this:
It all should look like this:
This doesn't add the home and back button to the wipe page; the action is there but the buttons are not. If you want to add them place the code under the "object type image" lines. You can also add the simulating actions and others if you'd like. You can copy n paste form your ui.xml.
Now lets go to line 2677 for the lockscreen. The above steps are the same but I have my lockscreen background named: lockbg. So in the code replace wipebg with lockbg and make sure you add it to your resources. Don't add the it's not needed. What it should look like:
Just like the wipe page you can add any other parts of the code as well. Again you can do this for every page in the xml. I only do it for those I just mentioned. You can use my ui.xml to study if you'd like. I'll do my best to keep up with this thread but I work 3rd shift so I'm gonna rely on the help of others to answer ones questions (Thanks in advance).
My xml
HAPPY THEMING!!!
Edut: Mod; what happened to the examples of the xml code I used? I did an edit to remove an ' from your and now all my examples are gone. I haven't received a pm stating I did something wrong. How can I get it back without retyping them?