[Android Themes] Vivek_Neel:
AN EASY GUIDE TO THEME LOLLIPOP AND MARSHMALLOW ROMS​

Introduction:

Hello,

This is a simple guide which you can follow to make your own lollipop theme.If you dont want to follow and want to use a premade theme made specifically for Nexus5 then go Here

If you are here for the first time, check the next post for links and external guides to get started, by @nicholaschum!

Note:As a Human I tend to make mistakes , so if u find any mistakes then let me know. And Share your work here if you follow this guide .:)And give proper credits for my hardwork

What we are going to theme?

1.framework-res.apk

2.Settings.apk

3.SystemUI.apk

4.GoogleContacts.apk

5.GoogleDialer.apk

1.How to theme framework-res.apk

Decompile your framework-res.apk

*How to change the primary , secondary &Other text colors?

#Open colors.xml and look for

[B][COLOR="Red"] <color name="primary_text_default_material_light">#ffb0f40c</color>[/COLOR][/B] and [B][COLOR="Red"]<color name="primary_text_default_material_dark">#ffb0f40c</color>[/COLOR][/B]

/* This color corresponds to the primary color of whole system

#Open colors.xml and look forr

[B][COLOR="Red"] <color name="secondary_text_default_material_light">#ff029789</color>[/COLOR][/B] and [B][COLOR="Red"] <color name="secondary_text_default_material_dark">#b3029789</color>[/COLOR][/B]

/* This color corresponds to the seconday color of whole system

#Open res/layout/global_actions_item.xml and addr

[B][COLOR="Red"] android:textColor="#ffffffff"[/COLOR][/B] [B][COLOR="Red"]for the first TextView[/COLOR][/B]

/* This color corresponds to the Reboot , power text color in dialog (when you press the power button)

#Open res/values/styles.xml and add search for r

[B][COLOR="Red"] <style name="TextAppearance.Material.Notification" parent="@style/TextAppearance.Material">[/COLOR][/B] and [B][COLOR="Red"] <style name="TextAppearance.Material.Notification.Title" parent="@style/TextAppearance.Material.Notification">[/COLOR][/B]

and <style name="TextAppearance.Material.Notification.Time" parent="@style/TextAppearance.Material.Notification">[/CODE] /* Change the textColor or if its not present then add yourself as <item name="textColor">#ffcfcfcf</item>

/* Above styles corresponds to the Notification text colors.

*How to change button bg color?

#Go to drawable folder and Open btn_default_mtrl_shape.xml and look for

[B][COLOR="Red"] <solid android:color="#64212121" />

[/COLOR][/B] /* This color corresponds to the button background color

*How to change icon tint colors?

These are usually present in drawables witht the name starting from ic_lock... such as

[B]ic_lock_reboot
ic_lock_airplane_mode
ic_lock_settings
ic_lock_screen_record
ic_lock_screenshot
ic_lock_profile
ic_lock_power_off
ic_lock_power_reboot
ic_lock_airplane_mode_off
ic_lock_idle_alarm[/B]

*How to change ripple color (color you see when u touch something)?

#Go to values folder and Opencolors.xml and look for

[B][COLOR="Red"] <color name="ripple_material_light">#40009688</color>

[/COLOR][/B]

*How to theme pop up and dialogs?

#Go to drawable folder and Open popup_background_material.xml and look for

[B][COLOR="Red"] <solid android:color="#ff272d33" />

[/COLOR][/B] /* This color corresponds to the pop up background color

#Go to drawable folder and Open dialog_background_material.xml and look for

[B][COLOR="Red"] <solid android:color="#ff272d33" />[/COLOR][/B]

/* This color corresponds to the dialog background color

#Go to values folder and Open styles.xml and look for

[B][COLOR="Red"] <style name="Theme.Material.Light.Dialog" parent="@style/Theme.Material.Light.BaseDialog" />
[/COLOR][/B]

/* Remove the Light from the above

Similarly you can do the same for spinner . just search for

[COLOR="Red"][B]spinner_background_material[/B][/COLOR]

in drawable folder and see.

2.How to theme Settings.apk?

Decompile your Settings.apk

*How to change Settings background?

First change

<style name="Theme.SettingsBase" parent="@android:style/Theme.Material.Settings" />

to

#Search for

[B][COLOR="Red"]<style name="Theme.Settings" parent="@style/Theme.SettingsBase">[/COLOR][/B]

and add

[COLOR="Red"][B]<item name="android:colorBackground">#ff272d33</item>[/B][/COLOR]

and#Search for

[B][COLOR="Red"]dashboard_category.xml in layout...change android:background="#ff212121"[/COLOR][/B]

Replace the color code to whatever you want.

Change swithbar background:

This is called switchbar background:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="switchbar_background_color">#ff00bcd4</color>[/COLOR][/B]

Change texts color:

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="theme_accent">#ffffffff</color>[/COLOR][/B]

#Search for

[B][COLOR="Red"]<style name="Theme.Settings" parent="@style/Theme.SettingsBase">[/COLOR][/B]

and add

[COLOR="Red"][B]<item name="android:textColorPrimary">#ffffffff</item>[/B][/COLOR]

andand add

[B][COLOR="Red"]<item name="android:textColorSecondary">#ffffffff</item>[/COLOR][/B]

Replace the color code to whatever you want.(These are primary and secondary text color of settings

Change About phone/status background and primary/secondary text colors:

#Go to styles.xml and search for

[COLOR="Red"][B] <style name="Theme.SubSettingsDialogWhenLarge" parent="@style/Theme.DialogWhenLarge">[/B][/COLOR]

and add

[B][COLOR="Red"] <item name="android:textColorPrimary">#ffcfcfcf</item>,<item name="android:textColorSecondary">#ffffffff</item> ,<item name="android:background">#ff212121</item>[/COLOR][/B]

Change Action bar and status bar tint color:

#Search for

[B][COLOR="Red"]<style name="Theme.Settings" parent="@style/Theme.SettingsBase">[/COLOR][/B]

and add

[COLOR="Red"][B] <item name="android:colorPrimary">#ff009688</item>[/B][/COLOR]

and add

[B][COLOR="Red"]<item name="android:colorPrimaryDark">#ff009688</item>[/COLOR][/B]

Replace the color code to whatever you want.(These are primary and secondary text color of settings

Change wifi label and content text color:

#Search for

[B][COLOR="Red"] <style name="wifi_item_label">[/COLOR][/B]

and search for

[COLOR="Red"][B] <style name="wifi_item_edit_content">[/B][/COLOR]

and change the

[B][COLOR="Red"]textColor (if that attr is not present then add it yourself [/COLOR][/B]

Replace the color code to whatever you want

3.How to theme SystemUI.apk?

Decompile your SystemUI.apk

*Change status bar expanded header color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="system_secondary_color">#fff44336</color>[/COLOR][/B]

#Change QuickSettings background color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="system_primary_color">#ff9c27b0</color>[/COLOR][/B]

#Change notification background color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="notification_material_background_color">#ffe91e63</color>[/COLOR][/B]

#Change QuickSettings Divider color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="qs_tile_divider">#00000000</color>[/COLOR][/B]

#Change QuickSettings icon text color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="qs_tile_text">#ffffffff</color>[/COLOR][/B]

*Change ripple color:

Go to drawable folder and open

[COLOR="Red"][B]ripple_drawable[/B][/COLOR]

, Search for

[B][COLOR="Red"]<ripple android:color="?android:colorControlHighlight"[/COLOR][/B]

4.How to theme GoogleDialer.apk?

Decompile your GoogleDialer.apk

#Change status bar tint color

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialer_theme_color_dark">#ff4caf50</color>[/COLOR][/B]

#Change dialpad primary , Secondary Digits , and other text color:

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialpad_primary_text_color">#fff4511e</color>[/COLOR][/B]

/* This corresponds to primary text color of dialpad

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialpad_secondary_text_color">#ff737373</color>[/COLOR][/B]

/* This corresponds to secondary text color of dialpad

#Below is the image showing you which is the digits text color

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialpad_digits_text_color">#ff00bcd4</color>[/COLOR][/B]

/* This corresponds to Digits text color of dialpad

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="call_log_extras_text_color">#ff4caf50</color>[/COLOR][/B]

/* This corresponds to call log extras text color (i.e the color of (add to contacts , caller by google is enabled)

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="dialtacts_primary_text_color">#ff6d4c41</color>[/COLOR][/B]

/* This corresponds to contacts name text and also the on create option menu text color. See the below image

Change the background colors:

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="background_dialpad">#ff272d33</color>[/COLOR][/B]

/* This corresponds to background color of dialpad

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="background_dialpad">#ff272d33</color>[/COLOR][/B]

/* This corresponds to background color of dialpad

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="searchbox_background_color">#ffffffff</color>[/COLOR][/B]

/* This corresponds to Searchbox background color and similarly you can search for the keyword searchbox ..change text color and all.

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="setting_background_color">#ff272d33</color>[/COLOR][/B]

/* This corresponds to Settings background color of dialer.

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="call_log_expanded_background_color">#ff9c27b0</color>[/COLOR][/B]

/* This corresponds expanded log background color .

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="dialtacts_theme_color">#ff272d33</color>[/COLOR][/B]

/* This corresponds contact background color .

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="dialer_theme_color">#fff44336</color>[/COLOR][/B]

/* This corresponds to below image background color

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="background_dialer_results">#ffcddc39</color>[/COLOR][/B]

/* This corresponds to background list color

5.How to theme GoogleContacts.apk?

Decompile your GoogleContacts.apk

##Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialer_theme_color_dark">#ff8bc34a</color>[/COLOR][/B]

/* This corresponds to status bar tint color

#Change status bar tint color

##Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="dialer_theme_color_dark">#ff8bc34a</color>[/COLOR][/B]

/* This corresponds to status bar tint color

Change text colors:

##Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="actionbar_text_color">#ff272d33</color> [/COLOR][/B]

/* This corresponds to action bar text color

##Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="primary_text_color">#ff673ab7</color> [/COLOR][/B]

/* This corresponds to oncreate option menu text color and may be some other text color shown below

##Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="actionbar_background_color">@color/primary_color</color> [/COLOR][/B]

/* This corresponds to section header text color

Change the background colors:

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="actionbar_background_color">@color/primary_color</color>[/COLOR][/B]

/* This corresponds to action bar background color

#Go to res/colors.xml and search for

[B][COLOR="Red"]<color name="background_primary">#ff9c27b0</color>[/COLOR][/B]

/* This corresponds to Background color of contacts

#Go to res/colors.xml and search for

[B][COLOR="Red"] <color name="searchbox_background_color">#ffff5722</color>[/COLOR][/B]

/* This corresponds to Searchbox background color and similarly you can search for the keyword searchbox ..change text color and all.

Happy theming!

You can appreciate my hard work by buying me some chocolates and pink cakes :D EVERY DONATION is much appreciated

Thank you!!

​

​

​

​

XDA:DevDB Information

How to theme Lollipop and Marshmallow ROMs!, Theme for the Android General

Contributors

Vivek_Neel, nicholaschum

Version Information

Status: Stable

Created 2014-12-19

Last Updated 2016-01-13