Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,714 Members 46,986 Now Online
XDA Developers Android and Mobile Development Forum

Customize CM11 Holo Dark/Light Background

Tip us?
 
gkasunkodagoda
Old
(Last edited by gkasunkodagoda; Today at 04:11 AM.)
#1  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Video Customize CM11 Holo Dark/Light Background

Hi, Everyone. This is how we can change Holo Dark or Holo Light background in CM11.


Requirements -
  • A CM 11 or CM 10 ROM
  • Framework-res.apk of the ROM
  • Apk Tool - Get It

To Change Holo Dark Background


1st Step -

Decompile 'framework-res.apk'
Open 'res\drawable\background_holo_dark.xml'


2nd Step -

you can see this line in 'background_holo_dark.xml' file

Code:
<gradient android:startColor="#ff000000" android:endColor="#ff272d33" android:angle="270.0" />
In that line

This is the color in the top of the background

Code:
android:startColor="#ff000000"


This is the color in the bottom of the background

Code:
android:endColor="#ff272d33"

So you can change the hex color code to change the gradient background. To get some color codes Click Here


To Change Holo Light Background


1st Step -

Decompile 'framework-res.apk'
Open 'res\drawable\background_holo_light.xml'

2nd Step -

Follow Previous Method


So you can change the hex color code to change the gradient background. To get some color codes Click Here




Attention - Don't use too light colors in dark background and too dark colors in light background. It will make text unclear.


Screen Shots - Coming Soon



.
The Following 2 Users Say Thank You to gkasunkodagoda For This Useful Post: [ Click to Expand ]
 
gkasunkodagoda
Old
#2  
Member - OP
Thanks Meter 44
Posts: 61
Join Date: Nov 2013
Talking Reserved

Reserved
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes