[Sony Cross-Device Development Themes and Apps] abo hani:
Please Welcome My New & The First & The Ultimate Guide For Full Dark Theming On LP!.

I Recommend To Drink Coffee Before Starting And Playing A Startset Song ;)​

Notes :

I've Really Worked Hard on this, And i would like a hand to help me in fixing the Bugs.

This Guide is tested on Xperia Z1 Lollipop 5.1, LP 5.0 Will be different.

Don't request to Theme your apps, Here's the guide don't be a lazy person .

There are some new modifications on new updated apps, Check this post here for updated guides .

Bugs :

SemcEmail, Days BG & Sender BG In White .

Phonebook, Numbers Field BG In White ( Dialer Section ) .

Clock Buttons In White.

SmallAppLauncher Option In White .

Phonebook Favorites In White & Contact Info In Black .

Clock, The Analog Clock In Black . [MENTION=5451607]jitz975[/MENTION] thanks bro!

Black Text in Battery Usage. [MENTION=4970751]Rajeev[/MENTION] thanks bro :highfive:

To Theme List :

Setup Wizard .

SystemUI Notifications .

Sketch .

Index :

Calculator

Calendar

Clock

Home

InCallUI

LockscreenSettings-release (LS Settings)

Messages

Notes

Package-Installer

Phonebook

SemcEmail

SemcSettings (SystemUI Quick Settings Icons)

Settings - Connectivity (enhancedusbux,DualShock3,SomcAutoPairing,SomcDlna,SomcMirrorLinkManualSwitch,SomcPlayAnywhere,SomcSeamlessTethering,SomcWifiDisply)

Skin-Core-Release (Theme Picker)

Small App Launcher

Sound Enhancment

Sound-Picker

Telecom (Xperia Call Machine)

TeleService (Call Settings Option & Emergency Dialer)

Update Center

White Balance

SystemUI

Caculator - Full App Theming :

Navigate To res/values/colors.xml, Make the values like this :

[HTML

<color name="pad_numeric_background_color">#303030</color>

<color name="pad_operator_background_color">#525252</color>

<color name="display_formula_text_color">#6cffffff</color>

<color name="display_result_text_color">#6cffffff</color>

<color name="display_background_color">#303030</color>[/HTML]

Calendar - Full App Theming :

Download The Following Colors.xml From Here, Compare it with yours and make the changes.

Download the Following Drawable Folder From Here, Replace it with yours, Modify if you are xhdpi or hdpi with the same style.

Navigate to res/values/styles.xml, And Do The Following :

Find

<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">

Replace To

<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault">

Find

<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Light.Button">

Replace To

<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Button">

Find

<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.Holo">

Replace To

<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.DeviceDefault">

Find

<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Light.Button">

Replace To

<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Button">

Find

<style name="ToolbarDark">
<item name="android:theme">@android:style/ThemeOverlay.Material.Dark.ActionBar</item>
<item name="android:popupTheme">@android:style/ThemeOverlay.Material.Light</item>
</style>

Replace To

<style name="ToolbarDark">
<item name="android:theme">@android:style/ThemeOverlay.Material.ActionBar</item>
<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>
</style>

Find

<style name="AppBaseTheme" parent="@android:style/Theme.Light" />

Replace To

<style name="AppBaseTheme" parent="@android:style/Theme" />

Find

<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault.Light">

Replace To

<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault">

Clock - Full App Theming

Navigate To res/values/colors.xml, Make the values like this :

<color name="snooze_text_color">#ffffffff</color>
<color name="list_color_enabled">#cccccc</color>
<color name="reset_button_color">#212121</color>
<color name="weekdays_color_disabled">#a8a8a8</color>

Navigate to res/drawable, Open button_start.xml, Replace startColor & endColor values to this :

#969696

Navigate to res/drawable, Open button_stop.xml, Replace startColor & endColor values to this :

#c9c9c9

Navigate to res/values/styles.xml, Do The Following :

Find

<style name="AppBaseTheme" parent="@android:style/Theme.Light" />

Replace To

<style name="AppBaseTheme" parent="@android:style/Theme.DeviceDefault" />

Find

<style name="alarm_alert" parent="@android:style/Theme.Dialog">

Replace To

<style name="alarm_alert" parent="@android:style/Theme.DeviceDefault">

Find

<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">

Replace To

<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">

Find

<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">

Replace To

<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault">

Making Analog Clock In White, Thanks [MENTION=5451607]jitz975[/MENTION] :

Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogClock.smali

Search for this line or code "0xc1c1c2"

iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->strokePaint:Landroid/graphics/Paint;

and change this below line

const v1, -0xc1c1c2

to this

const v1, -0x3e3e3f

Search for this line

iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v2, -0xcccccd

to this

const v2, -0x1

Search for this line

iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v3, -0xcccccd

to this

const v3, -0x1

Search for this line(Again same code)

iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v3, -0xcccccd

to this

const v3, -0x1

Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogTimer.smali

Search for this

iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v2, -0xcccccd

to this

const v2, -0x1

Search for this

iget-object v5, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v6, -0xcccccd

to this

const v6, -0x1

Navigate to smali\cpm\sonyericson\orgaizer\components\StopwatchClock.smali

Search for this

iget-object v0, p0, Lcom/sonyericsson/organizer/components/StopwatchClock;->fillPaint:Landroid/graphics/Paint;

and change this below line

const v1, -0xcccccd

to this

const v1, -0x1

Home - Launcher Settings Theming ONLY

Open AndroidManiFest.xml, Do The Following :

Find

<activity android:label="@string/interal_settings_activity_title" android:launchMode="singleTop" android:name="com.sonymobile.home.settings.HomeSettingsActivity" android:theme="@android:style/Theme.DeviceDefault.Settings">

Replace To

<activity android:label="@string/interal_settings_activity_title" android:launchMode="singleTop" android:name="com.sonymobile.home.settings.HomeSettingsActivity" android:theme="@android:style/Theme.DeviceDefault">

Messages - Full App Theming

Ignore the colors.xml in the package on ThinkDroid, And Download THIS, Compare it with yours.

Extra - Modify This Color :

<color name="conversations_list_footer_background_color"> #2b2b2b</color>

Now, navigate to res/values/styles.xml, do the following :

Find

<style name="EditorialTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
<style name="EditorialTheme.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.MinWidth">
<style name="EditorialTheme.Settings" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="EditorialActionBarTransparent" parent="@android:style/Widget.Material.Light.ActionBar.Solid">
<style name="EditorialListViewStyle" parent="@android:style/Widget.Material.Light.ListView">
<item name="android:popupMenuStyle">@android:style/Widget.Holo.Light.PopupMenu</item>

Replace To

<style name="EditorialTheme" parent="@android:style/Theme.DeviceDefault">
<style name="EditorialTheme.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog.MinWidth">
<style name="EditorialTheme.Settings" parent="@android:style/Theme.DeviceDefault">
<item name="android:colorBackground">#303030</item>
<style name="EditorialActionBarTransparent" parent="@android:style/Widget.Material.ActionBar.Solid">
<style name="EditorialListViewStyle" parent="@android:style/Widget.Material.ListView">
<item name="android:popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item>

[B [MENTION=5337462]NFS_FM[/MENTION] , Thanks .[/B]

Delete All "tint" references in spinner_background_tinted.xml

"Push settings" are controlled by WapPush. Its theme is located at AndroidManifest.xml, change it to android:theme="@android:style/Theme.DeviceDefault"

InCallUI - Full App Theming

Download The Following Colors.xml From Here, Compare it with yours and make the changes.

Find

<style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView">

Replace To

<style name="ListViewStyle" parent="@android:style/Widget.Material.ListView">

Find

<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo.Light">

Replace To

<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo">

Find

<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">

Replace To

<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo">

Find

<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault.Light">

Replace To

<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault">

Find

<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault.Light">

Replace To

<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault">

Find

<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.Light.ActionBar">

Replace To

<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.ActionBar">

Find

<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault.Light.DarkActionBar</item>
</style>

Replace To

<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault</item>
</style>

Find

<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar">

Replace To

<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">

LockscreenSettings-release Settings Theming ONLY

Open AndroidManiFest.xml, Do The Following :

Find

<application android:allowBackup="true" android:hardwareAccelerated="true" android:label="@string/lockscreen_app_name" android:requiredForAllUsers="true" android:supportsRtl="true" android:theme="@android:style/Theme.DeviceDefault.Settings">

Replace To

<application android:allowBackup="true" android:hardwareAccelerated="true" android:label="@string/lockscreen_app_name" android:requiredForAllUsers="true" android:supportsRtl="true" android:theme="@android:style/Theme.DeviceDefault">

Notes - Full App Theming

Download The Following Drawable From Here, Replace it with Yours.

Navigate to res/values/colors.xml, Make the values like this :

<color name="notes_default_bg_color">#303030</color>
<color name="notes_default_text_color">#ffffffff</color>

[*}Navigate to res/values/styles.xml, Do The Following :

Find

<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">

Replace To

<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">

Find

<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>

Replace To

<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>

Find

<style name="TextSmallSecondary" parent="@style/TextSmallInverse">
<item name="android:textColor">?android:textColorSecondary</item>

Replace To

<style name="TextSmallSecondary" parent="@style/TextSmallInverse">
<item name="android:textColor">#b3ffffff</item>

Package Installer - Full App Theming

Navigate to res/values/styles.xml, Do The Following :

Find

<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" />

Replace To

<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.DialogWhenLarge.NoActionBar" />

Find

<style name="Theme.AlertDialogActivity" parent="@android:style/Theme.DeviceDefault.Light.Panel">

Replace To

<style name="Theme.AlertDialogActivity" parent="@android:style/Theme.DeviceDefault.Panel">

Phonebook - Full App Theming

Download the Following Drawable Folder From Here, Replace it with yours, Modify if you are xhdpi or hdpi with the same style.

Color this drawable to "#414141", "ic_hint_bg.9", And you may need to re-color some icons to white.

[*\Navigate to res/values/colors.xml, Make the values like this :

<color name="common_signin_btn_light_text_default">#ffffffff</color>
<color name="common_signin_btn_light_text_disabled">#b3ffffff</color>
<color name="generic_primary_background_color">#303030</color>
<color name="generic_secondary_background_color">#303030</color>
<color name="dialpad_text_color">#ffffffff</color>
<color name="icon_overlay_text_color">#ffffffff</color>
<color name="quickcontact_list_background">#303030</color>
<color name="background_primary">#303030</color>
<color name="call_button_container_color">#303030</color>
<color name="smart_search_background_color">#303030</color>
<color name="add_edit_account_chooser_background">#303030</color>
<color name="cardview_light_background">#303030</color>
<color name="expanding_entry_card_button_text_color">@android:color/white</color>
<color name="expanding_entry_card_default_text_and_icon_color">@android:color/white</color>
<color name="card_margin_color">#4a4a4a</color>
<color name="quickcontact_name_detail_background">@android:color/white</color>
<color name="quickcontact_entry_sub_header_text_color">@android:color/white</color>

Now, Navigate to res/values/styles.xml, Make the following :

Find

<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.Light.ListView">

Replace To

<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.ListView">

Find

<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">

Replace To

<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault">

Find

<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">

Replace To

<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Dialog">

Find

<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">?android:colorPrimary</item>
</style>

Replace To

<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">#ffffffff</item>
</style>

Find

<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Light.Spinner">

Replace To

<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Spinner">

Find

<style name="SelectableItem" parent="@android:style/Theme.Material.Light">

Replace To

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

Find

<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.Light.ActionButton.Overflow" />

Replace To

<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.ActionButton.Overflow" />

Find

<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.Light.ActionBar.TabText">

Replace To

<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.ActionBar.TabText">

Find

<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Light.Button">

Replace To

<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Button">

Find

<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">

Replace To

<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">

Find

<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault.Light">

Replace To

<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault">

Find

<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">?android:colorPrimary</item>
</style>

Replace To

<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">#ffffffff</item>
</style>

Find

<style name="Theme.Spb.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">

Replace To

<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">

Find

<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">

Replace To

<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">

Find

<item name="android:popupTheme">@android:style/ThemeOverlay.Material.Light</item>

Replace To

<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>

Add " android:background="#ff303030" " to dialpad.xml in res/layout, right after "<LinearLayout android:orientation="vertical" android:id="@id/dialpad""

Add " android:background="#ff303030" " to dialpad_fragment.xml in res/layout, instead of "@color/call_button_container_color".

Add android:background="#303030" to group_detail_member_item.xml, after " android:id="@id/contacts_list_item" .

Add android:textColor="#ffffffff" to group_detail_member_item.xml, before android:id="@id/list_item_status" .

Add android:textColor="#ffffffff" to group_detail_member_item.xml, before android:id="@id/list_item_name" .

Replace background value with #303030 in dial_background.xml .

SemcEmail - Full App Theming

Download The Following Drawable From Here, Replace it with Yours.

Download The Following Colors.xml From Here, Compare it with yours and make the changes. NOTE:CHANGE THESE LINES TO THESE VALUES :

<color name="message_view_background_color">#303030</color>
<color name="message_unread_background">#4a4a4a</color>

Now,Navigate to res/values/styles.xml, Do The Following :

Find

<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">

Replace To

<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault">

Find

<style name="PlainEditText" parent="@android:style/Widget.Holo.Light.EditText">

Replace To

<style name="PlainEditText" parent="@android:style/Widget.Holo.EditText">

Find

<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Light.Tab">

Replace To

<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Tab">

Find

<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Light.Button">

Replace To

<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Tab">

Find

<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">

Replace To

<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Dialog">

Now,Open AndroidManiFest.xml, Do The Following :

Find

<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Light.Panel">

Replace To

<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Panel">

Find

<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog"/>

Replace To

<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Dialog"/>

Find

<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog">

Replace To

<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Dialog">

Find

<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:name=".widget.WidgetConfiguration" android:taskAffinity="" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog">

Replace To

<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:name=".widget.WidgetConfiguration" android:taskAffinity="" android:theme="@android:style/Theme.DeviceDefault.Dialog">

In message_list_view_fragment_common.xml, Make the value like this :

android:background="#242424"

In section_overlay_themed.xml, Make the value like this :

android:color="#303030"

In messagelist_item_swipe_to_organize_ui.xml, Make the value like this :

android:background="#303030"

In mailbox_list_fragment.xml, Make the value like this :

android:background="#303030"

In message_view_pager.xml, Make the value in the last line, like this :

android:background="#303030"

In email_activity_one_pane.xml, Make the value like this :

android:background="#303030"

In message_compose.xml, Make the value in the first line, like this :

android:background="#303030"

In raised_button.xml, Make the Value like this :

android:color="#303030"

In message_list_last_update.xml, Make the Value like this :

android:background="#b0b0b0"

Thanks to [MENTION=5337462]NFS_FM[/MENTION]

Modify account_setup_password_field.xml Like this :

<View android:id="@id/dummy_password_divider" android:background="#3f3f3f"

Modify account_setup_email_field.xml :

<View android:background="#3f3f3f"

Modify account_setup_divider.xml :

<View android:background="#3f3f3f"

Modify account_setup_protocol_selector.xml:

<View android:background="#3f3f3f"

Modify simple_list_item.xml:

<View android:layout_gravity="bottom" android:background="#3f3f3f"

Modify waiting_for_sync_message.xml:

android:id="@id/waiting_for_sync_message" android:background="@android:drawable/dialog_holo_dark_frame"

Modify message_list_titlebar_divider.xml:

android:id="@id/message_list_header_container" android:background="#000000"

Modify message_list_last_update.xml:

android:id="@id/last_update_container" android:background="#149dea"

Modify attachment_collaped.xml:

somc:drawable="@drawable/ic_attachment_holo_dark" somc:color="@android:color/white"

Install The Following Drawable, and replace it with yours ( if found ) .

SemcSettings - Full Appp Theming

Download The Following Drawable From Here, Replace it with Yours.

Navigate to res/values/styles.xml, Do the Following :

Find

<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault.Settings" />

Replace To

<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault" />