[Sony Cross-Device General] Rajeev:
[TUTORIAL] [4.1+] [UPDATE :- 24.06.2014] Changing Theme Color For Phonebook & Dialer

Dear Friends

Here I Am Presenting You Another Coolest Tutorial For Changing Phonebook and Dialer Run Time Theme Color According To System Theme Change. U Don't Need To Edit Any Smali Files For This. All Are Just XML Editing Only. For This Mod U Need Only Two APKs. Phonebook and SemcPhone. This Tutorial Should Work In Android 4.1+.

So Lets Begin ...

De Compile Phonebook.apk

Go To res/values/Styles.xml

Find These Lines

<style name="Dialpad.Digit" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_digit_text_size</item>
<item name="android:gravity">center</item>
<item name="android:includeFontPadding">false</item>
<item name="android:layout_centerVertical">true</item>

And Add The Red Marked Lines

<style name="Dialpad.Digit" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_digit_text_size</item>
[COLOR="Red"]<item name="android:textColor">@color/theme_accent_color_dark</item>[/COLOR]
<item name="android:gravity">center</item>
<item name="android:includeFontPadding">false</item>
[COLOR="red"]<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">5.0</item>
<item name="android:shadowDy">5.0</item>
<item name="android:shadowRadius">5.0</item>
[/COLOR]<item name="android:layout_centerVertical">true</item>

Find These Lines

<style name="Dialpad.Star" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_star_text_size</item>
<item name="android:gravity">center_horizontal</item>
<item name="android:includeFontPadding">false</item>
<item name="android:layout_centerVertical">true</item>
</style>

And Add The Red Marked Lines

<style name="Dialpad.Star" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_star_text_size</item>
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color_dark</item>[/COLOR]
<item name="android:gravity">center_horizontal</item>
<item name="android:includeFontPadding">false</item>
[COLOR="red"]<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">5.0</item>
<item name="android:shadowDy">5.0</item>
<item name="android:shadowRadius">5.0</item>
[/COLOR]<item name="android:layout_centerVertical">true</item>
</style>

Find These Lines

<style name="Dialpad.Pound" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_pound_text_size</item>
<item name="android:gravity">center</item>
<item name="android:includeFontPadding">false</item>
<item name="android:layout_centerVertical">true</item>
</style>

And Add The Red Marked Lines

<style name="Dialpad.Pound" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_pound_text_size</item>
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color_dark</item>[/COLOR]
<item name="android:gravity">center</item>
<item name="android:includeFontPadding">false</item>
[COLOR="red"]<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">5.0</item>
<item name="android:shadowDy">5.0</item>
<item name="android:shadowRadius">5.0</item>
[/COLOR]<item name="android:layout_centerVertical">true</item>
</style>

Find These Lines

<style name="Dialpad.Plus" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_plus_text_size</item>
</style>

And Add The Red Marked Lines

<style name="Dialpad.Plus" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_plus_text_size</item>
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color</item>
<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
[/COLOR]</style>

Find These Lines

<style name="Dialpad.Label" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_label_text_size</item>
<item name="android:includeFontPadding">false</item>
</style>

And Add The Red Marked Lines

<style name="Dialpad.Label" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_label_text_size</item>
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color</item>[/COLOR]
<item name="android:includeFontPadding">false</item>
[COLOR="red"]<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
[/COLOR]</style>

Find These Lines

<style name="Dialpad.Call" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_call_text_size</item>
<item name="android:textColor">@android:color/white</item>
</style>

And Add The Red Marked Lines

<style name="Dialpad.Call" parent="@style/Dialpad">
<item name="android:textSize">@dimen/dialpad_call_text_size</item>
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color_dark</item>[/COLOR]
</style>

Find These Lines

<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:windowActionBar">true</item>
<item name="android:actionBarStyle">@style/SemcActionBar</item>
<item name="android:actionBarTabStyle">@style/SemcActionBarTabView</item>
<item name="android:actionBarTabBarStyle">@style/SemcActionBarTabBar</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="android:actionBarWidgetTheme">@style/SemcActionBarWidget</item>
<item name="android:layoutDirection">ltr</item>
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
<item name="listSeparatorBoxTextViewStyle">@style/ListSeparatorBoxTextViewStyle</item>
<item name="textAppearanceExtraLargeInverse">@style/Default.TextAppearance.ExtraLarge.Inverse</item>
</style>

And Add The Red Marked Lines

<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault.Light">
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color_neutral</item>
<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">3.0</item>
<item name="android:shadowDy">3.0</item>
<item name="android:shadowRadius">2.0</item>
[/COLOR]<item name="android:windowActionBar">true</item>
<item name="android:actionBarStyle">@style/SemcActionBar</item>
<item name="android:actionBarTabStyle">@style/SemcActionBarTabView</item>
<item name="android:actionBarTabBarStyle">@style/SemcActionBarTabBar</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="android:actionBarWidgetTheme">@style/SemcActionBarWidget</item>
<item name="android:layoutDirection">ltr</item>
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
<item name="listSeparatorBoxTextViewStyle">@style/ListSeparatorBoxTextViewStyle</item>
<item name="textAppearanceExtraLargeInverse">@style/Default.TextAppearance.ExtraLarge.Inverse</item>
</style>

Find These Lines

<style name="Theme.Default" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:windowActionBar">true</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
<item name="listSeparatorBoxTextViewStyle">@style/ListSeparatorBoxTextViewStyle</item>
<item name="textAppearanceExtraLargeInverse">@style/Default.TextAppearance.ExtraLarge.Inverse</item>
</style>

And Add The Red Marked Lines

<style name="Theme.Default" parent="@android:style/Theme.DeviceDefault.Light">
[COLOR="red"]<item name="android:textColor">@color/theme_accent_color</item>
<item name="android:shadowColor">@android:color/black</item>
<item name="android:shadowDx">2.0</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
[/COLOR]<item name="android:windowActionBar">true</item>
<item name="android:windowEnableSplitTouch">false</item>
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
<item name="listSeparatorBoxTextViewStyle">@style/ListSeparatorBoxTextViewStyle</item>
<item name="textAppearanceExtraLargeInverse">@style/Default.TextAppearance.ExtraLarge.Inverse</item>
</style>

Done. Save and Exit From The Editor

Now Go To res/values/Colors.xml

Find This Line

<color name="theme_accent_color">@com.sonyericsson.uxp:color/somc_theme_accent_color_light</color>

And Change To This Line

<color name="theme_accent_color">@com.sonyericsson.uxp:color[COLOR="red"]/semc_theme_accent_color[/COLOR]</color>

Scroll Down To Last and Add These Lines To There

<color name="add_edit_header_background">#ffefefef</color>
<color name="theme_accent_color_neutral">@com.sonyericsson.uxp:color/somc_accent_color_neutral</color>
<color name="theme_illumination_color">@com.sonyericsson.uxp:color/semc_theme_illumination_color</color>
<color name="theme_accent_color_dark">@com.sonyericsson.uxp:color/somc_theme_accent_color_dark</color>
<color name="theme_accent_color_light">@com.sonyericsson.uxp:color/somc_theme_accent_color_light</color>

Important Note :

First Look For " <color name="add_edit_header_background">#ffefefef</color> In Ur Res/values/colors.xml. If The Line Is Already There Means Do Not Add It Again.

Done. Save and Exit From The Editor

NOTE:- THIS TUT IS INCOMPLETE. I AM CURRENTLY MAKING THE THREAD.. I DON'T HAVE A PC WITH ME. IT WILL TAKE SOME MONTHS. SO PLEASE WAIT FOR TWO OR 3 MONTHS