Settings background (background_holo_dark) [SOLVED!]
[Using Android 4.3.1 (CM10.2) on a Galaxy Nexus]
I'm attempting to replace the stock gradient background of the settings menu. I was able to get it to show all black instead of the gradient but I can't seem to get it to show a PNG image.
This is what is found in the /res/drawable/background_holo_dark.xml file
android:endColor="#ff272d33" android:angle="270.0" />
Attempt at using a PNG image
<?xml version="1.0" encoding="utf-8"?>
<solid android:color="@color/black" />
(image placed in /drawable-nodpi/background_holo_dark.png) courtesy of this thread
Using the above code to use an image as the background causes settings to force close. When I open Root Browser (which uses background_holo_dark.xml) it says something along the lines of "size of image too large".
Anyone know why the code fails? 4.2.x only required you to delete the .xml file and add the .png file to nodpi which doesn't work for 4.3.x. Prior to 4.2.x all you had to do was replace the .png file.
Current Phone: Google G-nex
ROM: CyanogenMod v10.3.1
Kernel: LeanKernel v8.3
Recovery: ClockworkMod v18.104.22.168
Current Tablet: LG G-Pad 8.3
ROM: CyanogenMod v11 (nightly)
Kernel: Original CM11 Kernel
Recovery: TWRP v22.214.171.124