Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Customize CM11 Holo Dark/Light Background

OP gkasunkodagoda

17th September 2014, 11:44 PM   |  #1  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
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



.
Last edited by gkasunkodagoda; 19th September 2014 at 05:11 AM.
The Following 2 Users Say Thank You to gkasunkodagoda For This Useful Post: [ View ]
17th September 2014, 11:50 PM   |  #2  
OP Member
Flag ගම්පහ
Thanks Meter: 46
 
66 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Talking Reserved
Reserved
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes