[Q] windows phone 8 pushpin - C, C++, C# and Other Windows Phone Development

HI!! I need to replace the shape of my pushpins by an image! this is my xaml code
<maps:Map x:Name="myMap" Margin="-34,0,-36,10" WatermarkMode="On" LandmarksEnabled="True" ColorMode="Dark">
<toolkit:MapExtensions.Children>
<toolkit:MapItemsControl Name="PointItems">
<toolkit:MapItemsControl.ItemTemplate>
<DataTemplate>
<toolkitushpin x:Name="mypus" GeoCoordinate="{Binding Coordinate}" Content="{Binding Info}" BorderBrush="Black" Height="119" FontWeight="Bold" Background="YellowGreen" Foreground="Transparent" Width="29" FontSize="1" Tap="mypus_Tap" BorderThickness="2" Margin="2" />
</DataTemplate>
</toolkit:MapItemsControl.ItemTemplate>
</toolkit:MapItemsControl>
</toolkit:MapExtensions.Children>
</maps:Map>
help me please!

Adding image as pushpin
You need to define a static resource within your xaml where you'll include your image resources and all. From the, simply call it as a pushpin property.
LIke so:
<Style TargetType="myushpin" x:Key="customStyle">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="myushpin">
<Image Source="MapPin.png" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
then in your pushpin tag, add Style = {StaticResource customStyle}

Related

Which files has the progress bar Image ?

I want to mod the green progress bar in Froyo 2.2.1. Does anyone know which file holds this image ?. I tried framework-res, but it not in there...thanks
There is a File called progress_horizontal.xml in Folder /drawable and in this File you must change it the Hex for the color.
Not what i wanted to hear
I want to change it to a blue colour like the battery on the notification bar.
Would you know what i need to change in the following:
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#ff989898" android:endColor="#ff686868" android:angle="270.0" android:centerColor="#ff686868" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#5053ff53" android:endColor="#80029d02" android:angle="270.0" android:centerColor="#8030a030" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#ff53ff53" android:endColor="#ff029d02" android:angle="270.0" android:centerColor="#ff30a030" />
</shape>
</clip>
</item>
</layer-list>
ghosty7 said:
Not what i wanted to hear
I want to change it to a blue colour like the battery on the notification bar.
Would you know what i need to change in the following:
Click to expand...
Click to collapse
Should be secondaryProgress and progress
Change startColor, endColor and centerColor.
They are in ARGB format iirc
I found this was a good guide on how to change the values to mod the progress bar colour for theming.
great...that worked..Just one more thing. Is the green radio buttons the same situation ? . I have changed in framework, but it only effected some items. Items on menus are still green. Does anyone know the file to these radio buttons ?....thanks in advance
Never mind...found them...tricky little suckers

[Q] Noob developer need help.

Im writing my first app, and right off the start, when creating a new project in eclipse, I get 2 errors in the manifest.
this is my manifest, note that I didn't change anything. The line of *'s is where eclipse gives me the error. It says;
"no resource identifier found for attribute 'allowBackup' in package 'android' ... line 11"
"no resource identifier found for attribute 'tragetSdkVersion' in package 'android' ... line 7"
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.helloworld"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk ****************************************************************************************
android:minSdkVersion="3"
android:targetSdkVersion="3" />
<application ****************************************************************************************
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.helloworld.HelloWorld"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
thanks in advance!

[GUIDE][Ultimate]Theme Apps To Dark Theme | Theme Whole System | Newbies Here! 16/11

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 . @jitz975 thanks bro!
Black Text in Battery Usage. @Rajeev 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
HTML:
<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="CalendarTheme.WithActionBar" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="EditInfo_BtnLayout" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.Holo">
Replace To
HTML:
<style name="NotificationSecondaryText" parent="@android:style/TextAppearance.DeviceDefault">
Find
HTML:
<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="AvailabilityButton" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<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
HTML:
<style name="ToolbarDark">
<item name="android:theme">@android:style/ThemeOverlay.Material.ActionBar</item>
<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>
</style>
Find
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.Light" />
Replace To
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme" />
Find
HTML:
<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="CalendarTitleTheme" parent="@android:style/Theme.DeviceDefault">
Clock - Full App Theming
Navigate To res/values/colors.xml, Make the values like this :
HTML:
<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 :
HTML:
#969696
Navigate to res/drawable, Open button_stop.xml, Replace startColor & endColor values to this :
HTML:
#c9c9c9
Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.Light" />
Replace To
HTML:
<style name="AppBaseTheme" parent="@android:style/Theme.DeviceDefault" />
Find
HTML:
<style name="alarm_alert" parent="@android:style/Theme.Dialog">
Replace To
HTML:
<style name="alarm_alert" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">
Replace To
HTML:
<style name="TimePickerDialogTheme" parent="@android:style/Theme.DeviceDefault.VoiceInteractionSession">
Find
HTML:
<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="OrganizerDefaultTheme" parent="@android:style/Theme.DeviceDefault">
Making Analog Clock In White, Thanks @jitz975 :
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogClock.smali
Search for this line or code "0xc1c1c2"
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->strokePaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xc1c1c2
to this
Code:
const v1, -0x3e3e3f
Search for this line
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this line
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Search for this line(Again same code)
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogTimer.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this
Code:
iget-object v5, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v6, -0xcccccd
to this
Code:
const v6, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\StopwatchClock.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/StopwatchClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xcccccd
to this
Code:
const v1, -0x1
Home - Launcher Settings Theming ONLY
Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<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
HTML:
<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 :
HTML:
<color name="conversations_list_footer_background_color"> #2b2b2b</color>
Now, navigate to res/values/styles.xml, do the following :
Find
HTML:
<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
HTML:
<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 @NFS_FM , 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
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.Material.Light.ListView">
Replace To
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.Material.ListView">
Find
HTML:
<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="ContactListFilterTheme" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="Theme.InCallScreen" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="InCallPopupMenuStyle" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.Light.ActionBar">
Replace To
HTML:
<style name="InCallActionBarStyle" parent="@android:style/Widget.Material.ActionBar">
Find
HTML:
<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault.Light.DarkActionBar</item>
</style>
Replace To
HTML:
<style name="InCallActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault</item>
</style>
Find
HTML:
<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar">
Replace To
HTML:
<style name="SomcTestUIActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
LockscreenSettings-release Settings Theming ONLY
Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<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
HTML:
<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 :
HTML:
<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
HTML:
<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="CustomActionBarStyle" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
Replace To
HTML:
<style name="SEMCNotesTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
Find
HTML:
<style name="TextSmallSecondary" parent="@style/TextSmallInverse">
<item name="android:textColor">?android:textColorSecondary</item>
Replace To
HTML:
<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
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.Light.DialogWhenLarge.NoActionBar" />
Replace To
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.DialogWhenLarge.NoActionBar" />
Find
HTML:
<style name="Theme.AlertDialogActivity" parent="@android:style/Theme.DeviceDefault.Light.Panel">
Replace To
HTML:
<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 :
HTML:
<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
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.Light.ListView">
Replace To
HTML:
<style name="ListViewStyle" parent="@android:style/Widget.DeviceDefault.ListView">
Find
HTML:
<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="Theme.QuickContact" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
Replace To
HTML:
<style name="ContactsAlertDialogTheme" parent="@android:style/Theme.Material.Dialog">
Find
HTML:
<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">?android:colorPrimary</item>
</style>
Replace To
HTML:
<style name="Dialpad.DigitText" parent="@style/Dialpad">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Light.Spinner">
Replace To
HTML:
<style name="ContactEditorGroupListTheme" parent="@android:style/Widget.DeviceDefault.Spinner">
Find
HTML:
<style name="SelectableItem" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="SelectableItem" parent="@android:style/Theme.Material">
Find
HTML:
<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.Light.ActionButton.Overflow" />
Replace To
HTML:
<style name="ContactsActionBarOverflow" parent="@android:style/Widget.Material.ActionButton.Overflow" />
Find
HTML:
<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.Light.ActionBar.TabText">
Replace To
HTML:
<style name="ContactsActionBarTabTextStyle" parent="@android:style/Widget.Material.ActionBar.TabText">
Find
HTML:
<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="Widget.Button.Spb" parent="@android:style/Widget.DeviceDefault.Button">
Find
HTML:
<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="SemcActionBarMenuTextAppearance" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault.Light">
Replace To
HTML:
<style name="BackgroundOnlyTheme" parent="@android:style/Widget.DeviceDefault">
Find
HTML:
<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">?android:colorPrimary</item>
</style>
Replace To
HTML:
<style name="ListSeparatorBoxTextViewStyle">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="Theme.Spb.Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="Theme.Spb" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<item name="android:popupTheme">@android:style/ThemeOverlay.Material.Light</item>
Replace To
HTML:
<item name="android:popupTheme">@android:style/ThemeOverlay.Material</item>
Add " android:background="#ff303030" " to dialpad.xml in res/layout, right after "<LinearLayout androidrientation="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 :
HTML:
<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
HTML:
<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="EmailTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="PlainEditText" parent="@android:style/Widget.Holo.Light.EditText">
Replace To
HTML:
<style name="PlainEditText" parent="@android:style/Widget.Holo.EditText">
Find
HTML:
<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Light.Tab">
Replace To
HTML:
<style name="message_view_tab" parent="@android:style/Widget.DeviceDefault.Tab">
Find
HTML:
<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Light.Button">
Replace To
HTML:
<style name="MessageViewHeaderButton" parent="@android:style/Widget.DeviceDefault.Tab">
Find
HTML:
<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="AccountSetupProgressDialog" parent="@android:style/Theme.DeviceDefault.Dialog">
Now,Open AndroidManiFest.xml, Do The Following :
Find
HTML:
<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Light.Panel">
Replace To
HTML:
<activity android:name=".activity.Welcome" android:theme="@android:style/Theme.DeviceDefault.Panel">
Find
HTML:
<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog"/>
Replace To
HTML:
<activity android:launchMode="singleTask" android:name=".activity.CriticalIncidentNotifier" android:theme="@android:style/Theme.DeviceDefault.Dialog"/>
Find
HTML:
<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<activity android:enabled="false" android:name=".activity.ShortcutPicker" android:theme="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<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
HTML:
<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 :
HTML:
android:background="#242424"
In section_overlay_themed.xml, Make the value like this :
HTML:
android:color="#303030"
In messagelist_item_swipe_to_organize_ui.xml, Make the value like this :
HTML:
android:background="#303030"
In mailbox_list_fragment.xml, Make the value like this :
HTML:
android:background="#303030"
In message_view_pager.xml, Make the value in the last line, like this :
HTML:
android:background="#303030"
In email_activity_one_pane.xml, Make the value like this :
HTML:
android:background="#303030"
In message_compose.xml, Make the value in the first line, like this :
HTML:
android:background="#303030"
In raised_button.xml, Make the Value like this :
HTML:
android:color="#303030"
In message_list_last_update.xml, Make the Value like this :
HTML:
android:background="#b0b0b0"
Thanks to @NFS_FM
Modify account_setup_password_field.xml Like this :
HTML:
<View android:id="@id/dummy_password_divider" android:background="#3f3f3f"
Modify account_setup_email_field.xml :
HTML:
<View android:background="#3f3f3f"
Modify account_setup_divider.xml :
HTML:
<View android:background="#3f3f3f"
Modify account_setup_protocol_selector.xml:
HTML:
<View android:background="#3f3f3f"
Modify simple_list_item.xml:
HTML:
<View android:layout_gravity="bottom" android:background="#3f3f3f"
Modify waiting_for_sync_message.xml:
HTML:
android:id="@id/waiting_for_sync_message" android:background="@android:drawable/dialog_holo_dark_frame"
Modify message_list_titlebar_divider.xml:
HTML:
android:id="@id/message_list_header_container" android:background="#000000"
Modify message_list_last_update.xml:
HTML:
android:id="@id/last_update_container" android:background="#149dea"
Modify attachment_collaped.xml:
HTML:
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
HTML:
<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault.Settings" />
Replace To
HTML:
<style name="SEMCSettings" parent="@android:style/Theme.DeviceDefault" />
Settings - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="dashboard_background_color">#303030</color>
<color name="wifi_divider">#303030</color>
<color name="setup_wizard_navbar_bg_dark">#303030</color>
<color name="divider_color">#303030</color>
<color name="setup_divider_color_dark">#303030</color>
Now, Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="setup_wizard_navbar_style">
<item name="android:background">?setup_wizard_navbar_bg_color</item>
</style>
Replace To
HTML:
<style name="setup_wizard_navbar_style">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="setup_wizard_navbar_button_style" parent="@android:style/Widget.Material.Button.Borderless">
<item name="android:background">@drawable/setup_wizard_navbar_btn_bg</item>
</style>
Replace To
HTML:
<style name="setup_wizard_navbar_button_style" parent="@android:style/Widget.Material.Button.Borderless">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="StaminaItemLabel">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="StaminaItemLabel">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="TextAppearance.PasswordEntry" parent="@style/TextAppearance">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="TextAppearance.PasswordEntry" parent="@style/TextAppearance">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="TopDivider">
<item name="android:background">?setup_divider_color</item>
</style>
Replace To
HTML:
<style name="TopDivider">
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="wifi_item_label">
<item name="android:textColor">?android:textColorSecondary</item>
</style>
Replace To
HTML:
<style name="wifi_item_label">
<item name="android:textColor">#b3ffffff</item>
</style>
Find
HTML:
<style name="wifi_item_content">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="wifi_item_content">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="SecurityPreferenceButtonContainer" parent="@android:style/DeviceDefault.Light.SegmentedButton">
<style name="SecurityPreferenceButton" parent="@android:style/Widget.DeviceDefault.Light.Button.Borderless">
<style name="Widget.TimePicker" parent="@android:style/Widget.DeviceDefault.Light.TimePicker">
Replace To
HTML:
<style name="SecurityPreferenceButtonContainer" parent="@android:style/DeviceDefault.SegmentedButton">
<style name="SecurityPreferenceButton" parent="@android:style/Widget.DeviceDefault.Button.Borderless">
<style name="Widget.TimePicker" parent="@android:style/Widget.DeviceDefault.TimePicker">
Find
HTML:
<style name="SetupWizardTheme.Light" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
<item name="android:alertDialogTheme">@style/Theme.Light.WifiDialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_light</item>
<item name="ic_wps">@drawable/ic_wps_light</item>
<item name="setup_divider_color">@color/setup_divider_color_light</item>
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_light</item>
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
Replace To
HTML:
<style name="SetupWizardTheme.Light" parent="@android:style/Theme.DeviceDefault.NoActionBar">
<item name="android:alertDialogTheme">@style/Theme.WifiDialog</item>
<item name="ic_menu_add">@drawable/ic_menu_add_dark</item>
<item name="ic_wps">@drawable/ic_wps_dark</item>
<item name="setup_divider_color">@color/setup_divider_color_dark</item>
<item name="wifi_signal_color">@color/setup_wizard_wifi_color_dark</item>
<item name="wifi_signal">@drawable/wifi_signal_dark</item>
</style>
Find
HTML:
<style name="Theme.Light.WifiDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
<item name="ic_menu_add">@drawable/ic_menu_add_light</item>
<item name="ic_wps">@drawable/ic_wps_light</item>
<item name="wifi_signal">@drawable/wifi_signal_light</item>
</style>
Replace To
HTML:
<style name="Theme.Light.WifiDialog" parent="@android:style/Theme.DeviceDefault.Dialog.Alert">
<item name="ic_menu_add">@drawable/ic_menu_add_dark</item>
<item name="ic_wps">@drawable/ic_wps_dark</item>
<item name="wifi_signal">@drawable/wifi_signal_dark</item>
</style>
Find
HTML:
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault.Settings" />
Replace To & Add
HTML:
<style name="Theme.SettingsBase" parent="@android:style/Theme.DeviceDefault" />
<item name="android:textColorPrimary">#ffffffff</item>
<item name="android:textColorSecondary">#b3ffffff</item>
Find
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="Theme.CryptKeeper" parent="@android:style/Theme.DeviceDefault.Settings">
<style name="Theme.AlertDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert">
Replace To
HTML:
<style name="Theme.DialogWhenLarge" parent="@android:style/Theme.DeviceDefault">
<style name="Theme.CryptKeeper" parent="@android:style/Theme.DeviceDefault">
<style name="Theme.AlertDialog" parent="@android:style/Theme.DeviceDefault.Dialog.Alert">
Find
HTML:
<style name="VertDivider">
<item name="android:background">@color/divider_color</item>
</style>
Replace To
HTML:
<style name="VertDivider">
<item name="android:background">#303030</item>
</style>
In Layout/Dashboard_Category, Replace The " background " to this
HTML:
android:background="#303030"
In Layout/battery_history_chart, Replace android:textcolor to this
HTML:
android:textColor="#ffffffff"
In Layout/preference, repalce the first android:textcolor with primary, and the second one with secondary
HTML:
android:textColor="?android:textColorPrimary"
android:textColor="?android:textColorSecondary"
In Layout/Stamina_battery_time, replace all the android:textcolor with this :
HTML:
android:textColor="?android:textColorSecondary"
Settings - Connectivity Options Theming
enhancedusbux - USB Connectivity Option
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault">
DualShock3 - ( data/app/com.sony.nfx.service.WirelessControllerManagerService.apk ) - Full App Theming
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="black87percent">#ddffffff</color>
<color name="black54percent">#89ffffff</color>
<color name="black26percent">#42ffffff</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="settings" parent="@android:style/Theme.DeviceDefault">
This code in the last line of Styles.xml .​
SomcAutoPairing - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="OtsAppThemeBase" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="OtsAppThemeBase" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="OtsTabletActionBar" parent="@android:style/Widget.DeviceDefault.Light.ActionBar.Solid">
Replace To
HTML:
<style name="OtsTabletActionBar" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
[HTML]<style name="TranslucentStyle" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
Replace To
HTML:
<style name="TranslucentStyle" parent="@android:style/Theme.DeviceDefault.NoActionBar">
SomcDlna - Full App Theming
Open AndroidManiFest.xml, Do the following :
Find
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:launchMode="singleTop" android:name="com.sonyericsson.dlna.cta.CtaActivity" android:screenOrientation="user" android:theme="@android:style/Theme.DeviceDefault.Light.Dialog"/>
Replace To
HTML:
<activity android:configChanges="keyboardHidden|orientation|screenSize" android:enabled="false" android:excludeFromRecents="true" android:launchMode="singleTop" android:name="com.sonyericsson.dlna.cta.CtaActivity" android:screenOrientation="user" android:theme="@android:style/Theme.DeviceDefault.Dialog"/>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="DlnaTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="DlnaTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DlnaTheme.NoActionBar.TranslucentDecor" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor">
Replace To
HTML:
<style name="DlnaTheme.NoActionBar.TranslucentDecor" parent="@android:style/Theme.DeviceDefault.NoActionBar.TranslucentDecor">
SomcMirrorLink - Full App Theming :
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="MirrorLinkManualSwitchTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="MirrorLinkManualSwitchTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="MirrorLinkManualSwitchDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="MirrorLinkManualSwitchDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="MirrorLinkSettingsTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="MirrorLinkSettingsTheme" parent="@android:style/Theme.DeviceDefault">
SomcPlayAnywhere - Full App Theming
Navigate to res/values/colors.xml, Make the valeus like this :
HTML:
<color name="setting_background_color">#303030</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="PlayAnywhereTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="PlayAnywhereTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="ThrowSettingTheme_isNotHomeAsUpEnabled" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="ThrowSettingTheme_isNotHomeAsUpEnabled" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="ThrowSettingTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="ThrowSettingTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DeviceCardProgressTheme" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="DeviceCardProgressTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DeviceCardProgressDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="DeviceCardProgressDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="GuidancesTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="GuidancesTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="DeviceCardAlreadyDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="DeviceCardAlreadyDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="Translucent" parent="@android:style/Theme.Holo.Light">
Replace To
HTML:
<style name="Translucent" parent="@android:style/Theme.Holo">
Find
HTML:
<style name="CtaDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="CtaDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog">
SomcSeamlessTethering - Full App Theming :
Navigate to res/values/style.xml, Do the following :
Find
HTML:
<style name="Dialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
</style>
Replace To
HTML:
<style name="Dialog" parent="@android:style/Theme.DeviceDefault.Dialog">
</style>
Find
HTML:
<style name="DialogLegacy" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
</style>
Replace To
HTML:
<style name="DialogLegacy" parent="@android:style/Theme.DeviceDefault.Dialog">
</style>
Find
HTML:
<style name="Default" parent="@android:style/Theme.DeviceDefault.Light">
</style>
Replace To
HTML:
<style name="Default" parent="@android:style/Theme.DeviceDefault">
</style>
SomcWifiDisplay - Full App Theming
Navigate to res/values/style.xml, Do the following :
Find
HTML:
<style name="App" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="App" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Black" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
Replace To
HTML:
<style name="Black" parent="@android:style/Theme.DeviceDefault.NoActionBar.Fullscreen">
Find
HTML:
<style name="Transparent" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="Transparent" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="NotificationButton" parent="@android:style/Widget.Material.Light.Button.Borderless.Small" />
Replace To
HTML:
<style name="NotificationButton" parent="@android:style/Widget.Material.Button.Borderless.Small" />
Skin-Core-Release - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/styles.xml, Do The Following :
Find
HTML:
<style name="Theme.Picker.Base" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar" />
Replace To
HTML:
<style name="Theme.Picker.Base" parent="@android:style/Theme.DeviceDefault" />
Find
HTML:
<style name="common_subheader" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="common_subheader" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="skin_preview_text" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="skin_preview_text" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="tab_item" parent="@android:style/Widget.DeviceDefault.TextView">
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:background">?android:selectableItemBackground</item>
</style>
Replace To
HTML:
<style name="tab_item" parent="@android:style/Widget.DeviceDefault.TextView">
<item name="android:textColor">#ffffffff</item>
<item name="android:background">#303030</item>
</style>
Find
HTML:
<style name="item_skin_skinTitle" parent="@android:style/Widget.DeviceDefault.Light.TextView">
Replace To
HTML:
<style name="item_skin_skinTitle" parent="@android:style/Widget.DeviceDefault.TextView">
Find
HTML:
<style name="item_skin">
<item name="android:background">?android:selectableItemBackground</item>
</style>
Replace To
HTML:
<style name="item_skin">
<item name="android:background">#303030</item>
</style>
SmallAppLauncher - Full App Theming
Download The Following Drawable From Here, Replace it with Yours.
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="listpopupwindow_divider">#ff000000</color>
Add this to res/layout/smallapp_menu_item.xml :
HTML:
android:background="#303030" android:textColor="#ffffffff", After android:textSize="18.0sp".
Download this pack, compare it with your layout files ( Z5's one is different ) .
Now,Navigate to values/res/styles.xml, Do the following :
Find
HTML:
<style name="SmallAppHeaderLayoutStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
Replace To
HTML:
<style name="SmallAppHeaderLayoutStyle" parent="@android:style/Widget.DeviceDefault.ActionBar.Solid">
Find
HTML:
<style name="SmallAppRenameDescriptStyle">
<item name="android:textColor">#ff000000</item>
</style>
Replace To
HTML:
<style name="SmallAppRenameDescriptStyle">
<item name="android:textColor">#ffffffff</item>
</style>
Find
HTML:
<style name="SmallAppContentLayoutStyle">
<item name="android:background">@drawable/semc_bg_light</item>
</style>
Replace To
HTML:
<style name="SmallAppContentLayoutStyle">
<item name="android:background">@drawable/semc_bg_dark</item>
</style>
Find
HTML:
<style name="SmallAppIconStyle">
<item name="android:textColor">#ff000000</item>
<item name="android:lines">2</item>
</style>
Replace To
HTML:
<style name="SmallAppIconStyle">
<item name="android:textColor">#ffffffff</item>
<item name="android:lines">2</item>
Sound Enhancement - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="DefaultLightFromSettingsTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="DefaultLightFromSettingsTheme" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="AccessoryTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
Replace To
HTML:
<style name="AccessoryTheme" parent="@android:style/Theme.DeviceDefault">
Sound Picker - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SoundPickerListView" parent="@android:style/Widget.DeviceDefault.Light.ListView">
Replace To
HTML:
<style name="SoundPickerListView" parent="@android:style/Widget.DeviceDefault.ListView">
Find
HTML:
<style name="SoundPickerRadioButton" parent="@android:style/Widget.DeviceDefault.Light.CompoundButton.RadioButton">
Replace To
HTML:
<style name="SoundPickerRadioButton" parent="@android:style/Widget.DeviceDefault.CompoundButton.RadioButton">
Find
HTML:
<style name="AppThemeBase" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar" />
Replace To
HTML:
<style name="AppThemeBase" parent="@android:style/Theme.DeviceDefault" />
Telecom - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="Theme.Telecomm.Transparent" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="Theme.Telecomm.Transparent" parent="@android:style/Theme.Material">
Find
HTML:
<style name="SomcAmSettingsLight">
<item name="android:textColor">?android:textColorPrimary</item>
</style>
Replace To
HTML:
<style name="SomcAmSettingsLight">
<item name="android:textColor">#ffffffff</item>
</style>
TeleService - Full App Theming
Navigate to res/values/colors.xml, Make the values like this :
HTML:
<color name="background_dialpad">#303030</color>
<color name="dialpad_icon_tint">#ffffffff</color>
<color name="dialpad_digits_text_color">#ffffffff</color>
<color name="dialpad_secondary_text_color">#b3ffffff</color>
<color name="background_dialpad_pressed">#303030</color>
<color name="phone_settings_background_color">#303030</color>
<color name="incall_secondary_info_background">#303030</color>
<color name="incall_call_banner_background">#303030</color>
Now,Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="EmergencyDialerTheme" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="EmergencyDialerTheme" parent="@android:style/Theme.Material">
Find
HTML:
<style name="SimImportTheme" parent="@android:style/Theme.Material.Light">
Replace To
HTML:
<style name="SimImportTheme" parent="@android:style/Theme.Material">
Find
HTML:
<style name="Empty" parent="@android:style/Theme.DeviceDefault.Light">
Replace To
HTML:
<style name="Empty" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="DialerAlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
Replace To
HTML:
<style name="DialerAlertDialogTheme" parent="@android:style/Theme.Material.Dialog">
Find
HTML:
<style name="DialerSettingsLight" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
</style>
Replace To
HTML:
<style name="DialerSettingsLight" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
</style>
Find
HTML:
<style name="SettingsLight" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.Light.ActionBar.Solid</item>
</style>
Replace To
HTML:
<style name="SettingsLight" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarStyle">@android:style/Widget.DeviceDefault.ActionBar.Solid</item>
</style>
Find
HTML:
<style name="SettingsActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault.Light.DarkActionBar</item>
</style>
Replace To
HTML:
<style name="SettingsActionBarTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:actionBarTheme">@android:style/Theme.DeviceDefault</item>
</style>
Find
HTML:
<style name="SomcDialerSettingsLight" parent="@style/SomcSettingsLight">
<item name="android:dialogTheme">@android:style/Theme.DeviceDefault.Light.Dialog</item>
</style>
Replace To
HTML:
<style name="SomcDialerSettingsLight" parent="@style/SomcSettingsLight">
<item name="android:dialogTheme">@android:style/Theme.DeviceDefault.Dialog</item>
</style>
Find
HTML:
<style name="SomcEmergencyDialerTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="android:alertDialogTheme">@android:style/Theme.DeviceDefault.Light.Dialog.Alert</item>
</style>
Replace To
HTML:
<style name="SomcEmergencyDialerTheme" parent="@android:style/Theme.DeviceDefault">
<item name="android:alertDialogTheme">@android:style/Theme.DeviceDefault.Dialog.Alert</item>
</style>
Find
HTML:
<style name="PhoneTheme" parent="@android:style/Theme.DeviceDefault.Light">
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
</style>
Replace To
HTML:
<style name="PhoneTheme" parent="@android:style/Theme.DeviceDefault">
<item name="com.sonyericsson.uxp:extendedLookAndFeel">true</item>
</style>
Find
HTML:
<style name="PhoneAlertDialog" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
Replace To
HTML:
<style name="PhoneAlertDialog" parent="@android:style/Theme.DeviceDefault.Dialog">
Find
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSettingsLight" parent="@android:style/Theme.DeviceDefault">
Find
HTML:
<style name="SomcSimImportTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="SomcSimImportTheme" parent="@android:style/Theme.DeviceDefault">
Find
<style name="Theme.Material.Settings" parent="@android:style/Theme.Material.Settings">
Replace To
HTML:
<style name="Theme.Material.Settings" parent="@android:style/Theme.Material">
Update Center - Full App Theming
Navigate to res/values/colors.xml, Do the following :
HTML:
<color name="secondary_text_color">#89ffffff</color>
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="SystemDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog.NoActionBar">
Replace To
HTML:
<style name="SystemDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog.NoActionBar">
Find
HTML:
<style name="MainTheme" parent="@android:style/Theme.DeviceDefault.Light.DarkActionBar">
Replace To
HTML:
<style name="MainTheme" parent="@android:style/Theme.DeviceDefault">
Whie Balance - Full App Theming
Navigate to res/values/styles.xml, Do the following :
Find
HTML:
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault.Settings">
Replace To
HTML:
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault">
SystemUI - Notifications Theming
In this stage, you have to modify Framework-res.apk, So Decompile it and Navigate to Styles, Search and make the styles like this :
HTML:
<style name="TextAppearance.Material.Notification" parent="@style/TextAppearance.Material">
<item name="textSize">@dimen/notification_text_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Emphasis" parent="@style/TextAppearance.Material.Notification">
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Info" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Line2" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Time" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_subtext_size</item>
<item name="textColor">#b3ffffff</item>
</style>
<style name="TextAppearance.Material.Notification.Title" parent="@style/TextAppearance.Material.Notification">
<item name="textSize">@dimen/notification_title_text_size</item>
<item name="textColor">#ffffffff</item>
</style>
Modify The Following From Framework-res/res/values/colors, And make it like this :
HTML:
<color name="notification_icon_bg_color">#636363</color>
<color name="notification_action_color_filter">@color/secondary_text_material_dark</color>
<color name="notification_media_primary_color">@color/primary_text_material_dark</color>
<color name="notification_media_secondary_color">@color/secondary_text_material_dark</color>
<color name="notification_progress_background_color">@color/secondary_text_material_dark</color>
Make The Following Values Like This in SystemUI.apk/res/values/colors.xml :
<color name="notification_legacy_background_color">#303030</color>
<color name="notification_material_background_color">#303030</color>
<color name="notification_material_background_dimmed_color">#d4000000</color>
<color name="notification_material_background_low_priority_color">#3d3d3d</color>
<color name="notification_material_background_media_default_color">#4a4a4a</color>
Download Layout files from Here, Replace with your Layout xml files.
Recompile,Sign .. Congrats!.
Calendar - Continue :
Now, Search For btn_default_mtrl_shape.xml, Replace The value and make it like this : android:color="#303030"
Modify refresh_bar.xml :
HTML:
android:background="#303030"
android:textColor="#ffffffff"
Modify hint_and_promo_item.xml :
HTML:
<TextView android:textStyle="bold" android:textColor="@android:color/primary_text_light" --> <TextView android:textStyle="bold" android:textColor="@android:color/primary_text_dark"
Modify skip_color.xml :
HTML:
<item android:color="#ffffffff" />
Modify event_info_title_bar.xml :
HTML:
<item android:icon="@drawable/ic_delete_w" android:id="@id/delete" --> <item android:icon="@drawable/ic_delete_w" android:id="@id/delete"
Modify event_info_fragment.xml :
HTML:
<Toolbar android:gravity="center_vertical" android:id="@id/toolbar" android:background="?android:colorPrimary" style="@style/ToolbarStyle" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<ScrollView android:id="@id/event_info_scroll_view" android:background="#303030" style="@style/MatchParent">
Modify btn_default_mtrl_shape.xml
HTML:
android:color="#3f3f3f"
Modify event_info_divider.xml
HTML:
android:background="#6f6f6f"
Modify edit_event.xml
HTML:
<ImageButton android:id="@id/event_color_button" android:background="#303030"
<ImageButton android:id="@id/maps_button" android:background="#303030"
<ImageButton android:id="@id/to_plus_required" android:background="#303030"
<ImageButton android:id="@id/to_plus_optional" android:background="#303030"
Modify sync_with_linkedin.xml
HTML:
android:src="@drawable/ic_close" to android:src="@drawable/ic_close_w"
Replace The following Drawables, with yours .
Here's The Most Awaited Guide!, Be sure to press thanks.
And PLEASE, When Following & Making Dark Apps According to this guide, Don't forget to put Credits And a link for the tutorial!
And there are tons of guide are coming soon
abo hani said:
Here's The Most-Waiting Guide!, Be sure to press thanks.
And PLEASE, When Following & Making Dark Apps According to this guide, Don't forget to put Credits And a link for the tutorial!
And there are tons of guide are coming soon
Click to expand...
Click to collapse
Awesome work bro, been waiting so long Thank you for all your guides and eagerly waiting for more :good:
Edit: Small correction bro, calculator background colour "#303030", you didn't change it in code (<color name="display_background_color">#ffffffff</color>)
jitz975 said:
Awesome work bro, been waiting so long Thank you for all your guides and eagerly waiting for more :good:
Edit: Small correction bro, calculator background colour "#303030", you didn't change it in code (<color name="display_background_color">#ffffffff</color>)
Click to expand...
Click to collapse
Oops , It's added now .. thanks for the tip! & glad you liked the guide :highfive:
abo hani said:
Oops , It's added now .. thanks for the tip! & glad you liked the guide :highfive:
Click to expand...
Click to collapse
@abo hani
You added that code without deleting :laugh: Bro, i fixed that analog clock in black visual bug. You need to edit smali files
Here is the step..
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogClock.smali
Search for this line or code "0xc1c1c2"
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->strokePaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xc1c1c2
to this
Code:
const v1, -0x3e3e3f
Search for this line
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this line
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Search for this line(Again same code)
Code:
iget-object v2, p0, Lcom/sonyericsson/organizer/components/AnalogClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v3, -0xcccccd
to this
Code:
const v3, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\AnalogTimer.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v2, -0xcccccd
to this
Code:
const v2, -0x1
Search for this
Code:
iget-object v5, p0, Lcom/sonyericsson/organizer/components/AnalogTimer;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v6, -0xcccccd
to this
Code:
const v6, -0x1
Navigate to smali\cpm\sonyericson\orgaizer\components\StopwatchClock.smali
Search for this
Code:
iget-object v0, p0, Lcom/sonyericsson/organizer/components/StopwatchClock;->fillPaint:Landroid/graphics/Paint;
and change this below line
Code:
const v1, -0xcccccd
to this
Code:
const v1, -0x1
This will fix that analog black bug bro :good:
Finally, hopefully more People can make their own apps dark from now on. Never had to edit smali to make any app dark though.
XperienceD said:
Finally, hopefully more People can make their own apps dark from now on. Never had to edit smali to make any app dark though.
Click to expand...
Click to collapse
:laugh: ya..may be this time, no pngs for clock layout. So it should be smali only
nice guide brov..... keep flying high brov!!!
@abo hani i pressed 4 thanks button.
thanks a lot for your great tut and hope bug will fixes soon
thanks
Hamidreza2010 said:
@abo hani i pressed 4 thanks button.
thanks a lot for your great tut and hope bug will fixes soon
thanks
Click to expand...
Click to collapse
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs, I'm working on Email bug now.
abo hani said:
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs, I'm working on Email bug now.
Click to expand...
Click to collapse
Fixed that email and phonebook bug too
For phonebook FIX,
Navigate to res\layout\dialpad_fragment.xml
Edit this line
Code:
<RelativeLayout android:background="@color/call_button_container_color" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
To this
Code:
<RelativeLayout android:background="#ff303030" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
Regarding that email, i will send you pm. No time.. working on PhoeniX v2.
jitz975 said:
So it should be smali only
Click to expand...
Click to collapse
I've not had to for my clock , depends on the look you're going for I guess, and nice to know.
abo hani said:
Analog bug is fixed now, thanks to @jitz975 .
We still have the Email & Phonebook bugs
Click to expand...
Click to collapse
I've listed some code in my Xperia guide that might be of help for the Phonebook, and you can see how it looks HERE.
jitz975 said:
Fixed that email and phonebook bug too
For phonebook FIX,
Navigate to res\layout\dialpad_fragment.xml
Edit this line
Code:
<RelativeLayout android:background="@color/call_button_container_color" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
To this
Code:
<RelativeLayout android:background="#ff303030" android:clickable="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
Regarding that email, i will send you pm. No time.. working on PhoeniX v2.
Click to expand...
Click to collapse
XperienceD said:
I've not had to for my clock , depends on the look you're going for I guess, and nice to know.
I've listed some code in my Xperia guide that might be of help for the Phonebook, and you can see how it looks HERE.
Click to expand...
Click to collapse
Phonebook bug is now fixed, I'm gonna try SemcEmail now, will see if the bug is fixed or not, thanks for the big help guys! :highfive:
Hi,
Very nice tutorial.
Being one of the target users wanted to try it by testing on the Calculator app - as this one only requires 5 inputs- but have run into a snag.
Have a rooted Z3C on LP 5.1.1 (.232) and when I go to /RES folder (using ES File Explorer) there is only one folder: images - nothing else??
Unable to find colors.xml via ES search at all??
Being the Newbie what am I missing/ doing wrong??
Norup58 said:
Hi,
Very nice tutorial.
Being one of the target users wanted to try it by testing on the Calculator app - as this one only requires 5 inputs- but have run into a snag.
Have a rooted Z3C on LP 5.1.1 (.232) and when I go to /RES folder (using ES File Explorer) there is only one folder: images - nothing else??
Unable to find colors.xml via ES search at all??
Being the Newbie what am I missing/ doing wrong??
Click to expand...
Click to collapse
You need to decompile it, not view it
Use AdvancedApkTool, install your framework using the tool, then decompile the apk, modify it, compile it, sign it, finally push to system and replace the existing apk.
unbelievable
Can`t read
I am joking bro.Thanks for your hard work.This is hammer of Guide that i have ever seen before:good::good::good:
6 thanks from me
Hello bro @abo hani
One small bug in settings.apk tutorial. We can't read battery history texts. Its all black. I have made a fix for that. Simply copy the xml fies to res/layout folder and re compile..
Here is the fixed files
https://drive.google.com/file/d/0BzhU-xAQX1qTa2F0ODdfZXVxRG8/view?usp=sharing
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rajeev said:
Hello bro @abo hani
One small bug in settings.apk tutorial. We can't read battery history texts. Its all black. I have made a fix for that. Simply copy the xml fies to res/layout folder and re compile..
Here is the fixed files
https://drive.google.com/file/d/0BzhU-xAQX1qTa2F0ODdfZXVxRG8/view?usp=sharing
Click to expand...
Click to collapse
Thanks bro, added to the main guide .

[TUT][CM12.1] Adding Xperia Lockscreen Clock Style to CM12.1 SystemUI

I want to share how I add Xperia lockscreen clock style including analog, vertical, & horizontal clock to CM12.1 (or other rom based on it)
REQUIREMENT:
Before applying this guide, u have to:
- Know how to decompile, recompile, sign apk
- Know how to compare xml & smali
- Use this Sony fonts
- Apply this guide & this
STEPS:
SystemUI.apk
- Apply this
- Decompile SystemUI.apk
- Download attachment, merge to decompiled SystemUI.apk
- Open /res/values/styles.xml, add this
PHP:
<style name="502_hour">
<item name="android:textSize">114.0dip</item>
<item name="android:fontFamily">x-sst-medium</item>
</style>
<style name="502_minute">
<item name="android:textSize">114.0dip</item>
<item name="android:fontFamily">x-sst-ultralight</item>
</style>
<style name="511">
<item name="android:textSize">114.0dip</item>
<item name="android:fontFamily">x-sst</item>
</style>
<style name="601">
<item name="android:textSize">114.0dip</item>
<item name="android:fontFamily">x-sst-light</item>
</style>
<style name="502h_hour">
<item name="android:textSize">88.0dip</item>
<item name="android:fontFamily">x-sst-medium</item>
</style>
<style name="502h_minute">
<item name="android:textSize">88.0dip</item>
<item name="android:fontFamily">x-sst-ultralight</item>
</style>
<style name="511h">
<item name="android:textSize">88.0dip</item>
<item name="android:fontFamily">x-sst</item>
</style>
<style name="601h">
<item name="android:textSize">88.0dip</item>
<item name="android:fontFamily">x-sst-light</item>
</style>
- Recompile it
- Decompile again
- Open /res/values/public.xml
- Open /smali/com/dhian/clock/AnalogClock.smali, change id's with urs
Line 132: const v3, 0x7f0204ba <public type="drawable" name="somc_themeable_analog_clock_face" id="
Line 141: const v3, 0x7f0204bb <public type="drawable" name="somc_themeable_analog_clock_hour_hand" id="
Line 150: const v3, 0x7f0204bc <public type="drawable" name="somc_themeable_analog_clock_minute_hand" id="
Line 159: const v3, 0x7f0204bd <public type="drawable" name="somc_themeable_analog_clock_second_hand" id="
Click to expand...
Click to collapse
- Open /smali/com/dhian/clock2/AnalogClock.smali, change id's with urs
Line 132: const v3, 0x7f02030e <public type="drawable" name="plain_dial" id="
Line 141: const v3, 0x7f0204c0 <public type="drawable" name="plain_hour" id="
Line 150: const v3, 0x7f0204c1 <public type="drawable" name="plain_minute" id="
Line 159: const v3, 0x7f0204c2 <public type="drawable" name="plain_second" id="
Click to expand...
Click to collapse
- Open /smali/com/dhian/clock3/AnalogClock.smali, change id's with urs
Line 132: const v3, 0x7f0204c5 <public type="drawable" name="xplain_dial" id="
Line 141: const v3, 0x7f0204c8 <public type="drawable" name="xplain_hour" id="
Line 150: const v3, 0x7f0204c9 <public type="drawable" name="xplain_minute" id="
Line 159: const v3, 0x7f0204ca <public type="drawable" name="xplain_second" id="
Click to expand...
Click to collapse
- Save all changes
- Recompile, sign, push
NEXT TO POST #2
STEPS:
Settings.apk
- Apply this
- Decompile Settings.apk
- open /res/xml/zen_prefs.xml, add this
PHP:
<PreferenceScreen android:title="Lock screen"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="Status bar" />
<SwitchPreference android:title="Sony battery icon" android:key="kg_sony_battery" android:defaultValue="true" />
<SwitchPreference android:title="Percentage (right)" android:key="kg_sony_percent_right" android:defaultValue="true" />
<SwitchPreference android:title="Sony battery icon with percentage" android:key="kg_sony_battery_percent" android:defaultValue="false" />
<PreferenceCategory android:title="Analog clock" />
<SwitchPreference android:title="Standard" android:key="analog_clock" android:defaultValue="false" />
<SwitchPreference android:title="Sony" android:key="analog_sony" android:defaultValue="false" />
<SwitchPreference android:title="Xperia" android:key="analog_xperia" android:defaultValue="false" />
<PreferenceCategory android:title="Vertical clock" />
<SwitchPreference android:title="5.0.2 style" android:key="502" android:defaultValue="false" />
<SwitchPreference android:title="5.1.1 style" android:key="511" android:defaultValue="false" />
<SwitchPreference android:title="6.0.1 style (left)" android:key="601_left" android:defaultValue="false" />
<SwitchPreference android:title="6.0.1 style (center)" android:key="601_center" android:defaultValue="true" />
<SwitchPreference android:title="6.0.1 style (right)" android:key="601_right" android:defaultValue="false" />
<PreferenceCategory android:title="Horizontal clock" />
<SwitchPreference android:title="5.0.2 style" android:key="502h" android:defaultValue="false" />
<SwitchPreference android:title="5.1.1 style" android:key="511h" android:defaultValue="false" />
<SwitchPreference android:title="6.0.1 style" android:key="601h" android:defaultValue="false" />
<PreferenceCategory android:title="Others" />
<SwitchPreference android:title="Sony date" android:key="sony_date" android:defaultValue="false" />
<SwitchPreference android:title="RR date" android:key="rr_date" android:defaultValue="false" />
<SwitchPreference android:title="Alarm" android:key="alarm" android:defaultValue="true" />
</PreferenceScreen>
- Save all changes
- Recompile, sign, push
VIDEO PREVIEW
This guide is tested on Xperia M running CM12.1 & Resurrection Remix 5.5.9
For other rom just compare it
CREDITS
Thanks to Dhian Rusdiana for analog clock
Thanks to venkat kamesh, bamzzz, vandroid7
boro2 mo nyobain om, cm12.1 di m2 kaga stable2 ???
Is possible to make swipe to right to unlock?
please dont use such words to critique your nasty government. and I think you should rename your attachment file to more friendly language (or words), especially for user from indonesian.
and sorry for my bad english, coz you know? I am indonesian.

[Mod][stock N 7.1.1] Customize Status and Navigation Bars

Here's what I did:
- Decompile SystemUI.
- Create 2 xml drawable files, one for status bar,
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:startColor="#ff607d8b" android:endColor="#ff121518" android:angle="270" />
<stroke android:width="1.0dip" android:color="#ffbdbdbd" />
<corners android:radius="-10.0dip" />
<padding android:bottom="-2dip" />
</shape>
And one for navigation bar,
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:startColor="#ff607d8b" android:endColor="#ff121518" android:angle="90" />
<stroke android:width="1.0dip" android:color="#ffbdbdbd" />
<corners android:radius="-10.0dip" />
<padding android:top="-2dip" />
</shape>
(Note the difference; the gradient radius of one is 180 degrees different than the other, so the gradients work towards each other from the edges, and the negative padding is on the top for the navigation bar, but the bottom for the status bar, because I wanted the 'stroke' to show on the edge of the screen only.)
Name them whatever you want, and copy the 2 files to /res/drawable.
- Open /res/layout/status_bar xml, and find
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents"
and after that, add 'android:background="@drawable/(name of status bar file)'.
- Open res/layout/navigation_layout.xml and find
Code:
<FrameLayout android:id="@id/nav_buttons"
and do the same thing, but using the name of your navigation bar file.
(you may have to do the same to 'navigation_bar.xml and/or 'navigation_layout_rot90'. I did it just in case, but not sure if necessary)
- Recompile, sign, push, reboot.
My files are attached, but you can edit or mod or make your own however you want...
Note: If your status bar background is too small on lock screen, go to /res/values/dimens.xml, and find
Code:
<dimen name="status_bar_header_height_keyguard">32.0dip</dimen>
and make it smaller, like 32 instead of 40...
Variation -
Status bar
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<gradient
android:angle="90"
android:startColor="#1a000000"
android:endColor="#ff297aff"
android:type="linear" />
<size android:width="24dp"
android:height="24dp"/>
</shape>
</item>
<item
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp">
<shape android:shape="rectangle" >
<gradient
android:angle="90"
android:startColor="#1a121518"
android:endColor="#66121518"
android:centerColor="#d978909c"
android:type="linear" />
</shape>
</item>
</layer-list>
Nav bar
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:startColor="#1a000000"
android:endColor="#ff297aff"
android:type="linear" />
<size android:width="24dp"
android:height="24dp"/>
</shape>
</item>
<item
android:bottom="2dp"
android:left="2dp"
android:right="2dp"
android:top="2dp">
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:startColor="#1a121518"
android:endColor="#66121518"
android:centerColor="#d978909c"
android:type="linear" />
</shape>
</item>
</layer-list>
- Screenshot 1 and 2 -
(Note - I don't think 'size' line is important here. I used it for something else, and just decided to leave it...)
Adjust as you like...
_____________
If you like rounded corners
Status bar
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<gradient
android:angle="90"
android:startColor="#1a000000"
android:endColor="#ff297aff"
android:type="linear" />
[COLOR="red"]<corners android:topLeftRadius="20.0dip" android:topRightRadius="20.0dip" />[/COLOR]
</shape>
</item>
<item
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp">
<shape android:shape="rectangle" >
<gradient
android:angle="90"
android:startColor="#1a121518"
android:endColor="#66121518"
android:centerColor="#d978909c"
android:type="linear" />
[COLOR="red"]<corners android:topLeftRadius="20.0dip" android:topRightRadius="20.0dip" />[/COLOR]
</shape>
</item>
</layer-list>
(lines in red)
Nav bar
Code:
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item>
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:startColor="#1a000000"
android:endColor="#ff297aff"
android:type="linear" />
[COLOR="red"]<corners android:bottomLeftRadius="20.0dip" android:bottomRightRadius="20.0dip" />[/COLOR]
</shape>
</item>
<item
android:bottom="2dp"
android:left="2dp"
android:right="2dp"
android:top="2dp">
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:startColor="#1a121518"
android:endColor="#66121518"
android:centerColor="#d978909c"
android:type="linear" />
[COLOR="red"]<corners android:bottomLeftRadius="20.0dip" android:bottomRightRadius="20.0dip" />[/COLOR]
</shape>
</item>
</layer-list>
- Screenshot 3 and 4 -
how can i have a rounded corner status bar & nav bar?
is it tha xmls on tha first post i ll use or what brov?
i just want tha rounded corner.
whalesplaho said:
how can i have a rounded corner status bar & nav bar?
is it tha xmls on tha first post i ll use or what brov?
i just want tha rounded corner.
Click to expand...
Click to collapse
You can do this
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="1.0dip" android:color="#(whatever you want)" />
<corners android:bottomLeftRadius="(whatever you want)" android:bottomRightRadius="(whatever you want)" />
</shape>
Or Roundr - https://play.google.com/store/apps/...app&pcampaignid=APPU_1_BVR0WvTWO4TykwW06r_4DA
levone1 said:
You can do this
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="1.0dip" android:color="#(whatever you want)" />
<corners android:bottomLeftRadius="(whatever you want)" android:bottomRightRadius="(whatever you want)" />
</shape>
Or Roundr - https://play.google.com/store/apps/...app&pcampaignid=APPU_1_BVR0WvTWO4TykwW06r_4DA
Click to expand...
Click to collapse
I prefer tha modding style but I dnt know where to add that code buddy...
Thanks.
whalesplaho said:
I prefer tha modding style but I dnt know where to add that code buddy...
Thanks.
Click to expand...
Click to collapse
Follow op of this thread - Make an xml, put it in drawable folder of systemui, then add 'android:background...' code to status bar and nav bar layouts. Note that for status bar, you want round corners on top, and for nav bar on bottom, ('topLeftRadius' + 'topRightRadius' vs. 'bottomLeftRadius' + 'bottomRightRadius')...
Lemme try modding and see tha outcome buddy....

Categories

Resources