[GUIDE] T-mobile theme engine for the faint at heart (non-linux users)

djdarkknight96

Recognized Themer
Nov 2, 2009
16,838
46,953
263
Springfield
www.designrifts.com
How do I define it??
Ok, I see the error...Your styles line should be like this:

Code:
    <style name="TextAppearance.StatusBar.Battery" parent="@android:style/TextAppearance.StatusBar.Icon">
        <item name="android:textSize">14.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffbebebe</item>
    </style>

No "*" between @ and android That's why your getting that error!

I wasn't paying attention to the lines you posted...sorry

Usually if @android is not in the parent you need to add the parent to styles but this is not the case.
 
  • Like
Reactions: ronak.super

MrDSL

Senior Member
Nov 17, 2006
7,456
2,598
253
With the newer apktool 1.5.0 it always decompiles mine with @*android

So far I haven't noticed any issue with or without it when building.
 

djdarkknight96

Recognized Themer
Nov 2, 2009
16,838
46,953
263
Springfield
www.designrifts.com
With the newer apktool 1.5.0 it always decompiles mine with @*android

So far I haven't noticed any issue with or without it when building.
That's odd, it shouldn't have the * there but I use apk multitool to build my themes. I only decompile with apktool but I only use the new one on apps that give me problems decompiling.

DarkJelly Gnex on JellyBro sent this from the app.
 

MrDSL

Senior Member
Nov 17, 2006
7,456
2,598
253
That's odd, it shouldn't have the * there but I use apk multitool to build my themes. I only decompile with apktool but I only use the new one on apps that give me problems decompiling.
yeah it definitely threw me off..i wasnt going to try and removed them all so i was happy it works fine.
 

kroz

Senior Member
Nov 14, 2010
4,184
9,800
0
Lipa
They who? Pretty sure it was already merged in AOKP, and it has been submitted to CM gerrit so it should be merged soon.
http://review.cyanogenmod.com/#/c/23232/

I think the only thing holding it up is how to deal with the quick reply, since it's not easy to theme parts of it as it's partially themed in the java source code. Check the comments on the commit.

Oh, and thank you sir. I think I have finally got the transparent Mms and transparent Contacts finished. :) I did add the DialtactsTheme1 and CallDetailActivityTheme1 to it as well though.

Here's my Contacts files (minus the images).
hi mate i tried this template,
i don't know what went wrong but the font under contacts/favorites tab/frequently contacted lists are not white,


Sent from my SimpleSoft themed Galaxy S2 using Tapatalk 2
 

Attachments

Last edited:

MrDSL

Senior Member
Nov 17, 2006
7,456
2,598
253
hi mate i tried this template,
i don't know what went wrong but the font under contacts/favorites tab/frequently contacted lists are not white,
in /color/ folder you should have two files

com_android_contacts_primary_text_color.xml
com_android_contacts_secondary_text_color.xml

text color inside set to white or whatever you want and also defined in com_android_contacts.xml like so

Code:
    <item name="color/primary_text_color">@color/com_android_contacts_primary_text_color</item>
    <item name="color/secondary_text_color">@color/com_android_contacts_secondary_text_color</item>
 
Last edited:
  • Like
Reactions: kroz

kroz

Senior Member
Nov 14, 2010
4,184
9,800
0
Lipa
in /color/ folder you should have two files

com_android_contacts_primary_text_color.xml
com_android_contacts_secondary_text_color.xml

text color inside set to white or whatever you want and also defined in com_android_contacts.xml like so

Code:
    <item name="color/primary_text_color">@color/com_android_contacts_primary_text_color</item>
    <item name="color/secondary_text_color">@color/com_android_contacts_secondary_text_color</item>
thanks mate, will try that,
any news regarding mms theme chooser compatible being merged on cm10?

Sent from my SimpleSoft themed Galaxy S2 using Tapatalk 2
 

ronak.super

Senior Member
Aug 9, 2011
818
1,099
0
25
bangalore Occupation:-Student
Ok, I see the error...Your styles line should be like this:

Code:
    <style name="TextAppearance.StatusBar.Battery" parent="@android:style/TextAppearance.StatusBar.Icon">
        <item name="android:textSize">14.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffbebebe</item>
    </style>

No "*" between @ and android That's why your getting that error!

I wasn't paying attention to the lines you posted...sorry

Usually if @android is not in the parent you need to add the parent to styles but this is not the case.
Thanks mate!

Btw How to theme the notification bar??, I found the close switch in systemUI, but not the background!
Please help!
 

kroz

Senior Member
Nov 14, 2010
4,184
9,800
0
Lipa
in /color/ folder you should have two files

com_android_contacts_primary_text_color.xml
com_android_contacts_secondary_text_color.xml

text color inside set to white or whatever you want and also defined in com_android_contacts.xml like so

Code:
    <item name="color/primary_text_color">@color/com_android_contacts_primary_text_color</item>
    <item name="color/secondary_text_color">@color/com_android_contacts_secondary_text_color</item>
sory mate but that did'nt work,
all fonts were already white

these two are already present in colors

com_android_contacts_primary_text_color.xml
com_android_contacts_secondary_text_color.xml


that part is the only font that is not white


It was last updated on 21 Sep. Still in review
looks like it was abandoned, :(

Sent from my SimpleSoft themed Galaxy S2 using Tapatalk 2
 

MrDSL

Senior Member
Nov 17, 2006
7,456
2,598
253
sory mate but that did'nt work,
all fonts were already white

these two are already present in colors

com_android_contacts_primary_text_color.xml
com_android_contacts_secondary_text_color.xml


that part is the only font that is not white




looks like it was abandoned, :(
paste me your /values/colors.xml contents
 
  • Like
Reactions: kroz

kroz

Senior Member
Nov 14, 2010
4,184
9,800
0
Lipa
paste me your /values/colors.xml contents
this is the same as m4570d0n's template

Code:
<color name="com_android_contacts_account_container">#00000000</color>
    <color name="com_android_contacts_action_bar_button_text_color">#ffffffff</color>
    <color name="com_android_contacts_background_primary">#00000000</color>
    <color name="com_android_contacts_background_social_updates">#00000000</color>
    <color name="com_android_contacts_black_text">#ff000000</color>
    <color name="com_android_contacts_call_detail_background">#00000000</color>
    <color name="com_android_contacts_call_detail_blank_background">#ff000000</color>
    <color name="com_android_contacts_call_detail_photo_bg">#7f000000</color>
    <color name="com_android_contacts_call_detail_separator">#ff33b5e5</color>
    <color name="com_android_contacts_call_log_divider">#55ffffff</color>
    <color name="com_android_contacts_call_log_missed_call_highlight_color">#ffff0000</color>
    <color name="com_android_contacts_call_log_primary_text_color">#ffffffff</color>
    <color name="com_android_contacts_call_log_primary_background_color">#00000000</color>
    <color name="com_android_contacts_call_log_secondary_text_color">#ffaaaaaa</color>
    <color name="com_android_contacts_call_log_secondary_background_color">#60000000</color>
    <color name="com_android_contacts_call_log_header_color">#ff33b5e5</color>
    <color name="com_android_contacts_call_log_tab_divider">#00000000</color>
    <color name="com_android_contacts_call_log_voicemail_highlight_color">#ff33b5e5</color>
    <color name="com_android_contacts_call_log_voicemail_status_background_color">#60000000</color>
    <color name="com_android_contacts_call_log_voicemail_status_text_color">#ff888888</color>
    <color name="com_android_contacts_call_log_voicemail_status_action_text_color">#ff33b5e5</color>
    <color name="com_android_contacts_contact_count_text_color">#ffbfbfbf</color>
    <color name="com_android_contacts_contact_detail_fragment">#ffffffff</color>
    <color name="com_android_contacts_contact_tile_name_text">#ffffffff</color>
    <color name="com_android_contacts_contact_tile_shadow_box_color">#7f000000</color>
    <color name="com_android_contacts_detail_tab_carousel_tab_label_Background_color">#7f000000</color>
    <color name="com_android_contacts_detail_tab_carousel_tab_label_color">#ffeeeeee</color>
    <color name="com_android_contacts_detail_update_tab_text_color">#ff33b5e5</color>
    <color name="com_android_contacts_dialpad_switch_bg">#66000000</color>
    <color name="com_android_contacts_dialtacts_secondary_text_color">#ffcfcfcf</color>
    <color name="com_android_contacts_image_placeholder">#ffdddddd</color>
    <color name="com_android_contacts_item_selected">#660099cc</color>
    <color name="com_android_contacts_people_app_theme_color">#ff33b5e5</color>
    <color name="com_android_contacts_people_contact_tile_status_color">#ffcccccc</color>
    <color name="com_android_contacts_photo_backdrop">#ff000000</color>
    <color name="com_android_contacts_photo_container">#4cffffff</color>
    <color name="com_android_contacts_quickcontact_list_divider">#ffcdcdcd</color>
    <color name="com_android_contacts_quickcontact_list_background">#60000000</color>
    <color name="com_android_contacts_quickcontact_tab_indicator">#ff33b5e5</color>
    <color name="com_android_contacts_section_header_text_color">#ffbfbfbf</color>
    <color name="com_android_contacts_shortcut_overlay_text_background">#7f000000</color>
    <color name="com_android_contacts_social_widget_bg">#00000000</color>
    <color name="com_android_contacts_stream_item_stripe_color">#ff555555</color>
    <color name="com_android_contacts_textColorIconOverlay">#ffffffff</color>
    <color name="com_android_contacts_textColorIconOverlayShadow">#ff000000</color>
    <color name="com_android_contacts_voicemail_playback_ui_background">#60000000</color>
    <color name="com_android_contacts_voicemail_playback_seek_bar_yet_to_play">#44ffffff</color>
    <color name="com_android_contacts_voicemail_playback_seek_bar_already_played">#ccffffff</color>
    <color name="com_android_contacts_white_text">#ffffffff</color>
 

nitinvaid

Senior Member
Mar 7, 2011
6,112
4,802
253
31
New Delhi
I am not able to theme the date and clock font
i added in styles.xml
Code:
<style name="TextAppearance.StatusBar.Expanded" parent="@android:style/TextAppearance.Small.CalendarViewWeekDayView" />
    <style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
        <item name="android:textSize">32.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffffffff</item>
        <item name="android:textAppearanceAutoCorrectionSuggestion">sans-serif-light</item>
    </style>
    <style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
        <item name="android:textSize">12.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffcccccc</item>
        <item name="android:textAllCaps">true</item>
    </style>
    <style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded.Date">
        <item name="android:textColor">#ff999999</item>
    </style>
but no difference



Uploaded with ImageShack.us
 

kroz

Senior Member
Nov 14, 2010
4,184
9,800
0
Lipa
let me see styles.xml

just the contact ones
sorry for the trouble mate, i just can't see what is wrong,
oh btw, can i use your mms template too, all credits to you of course...

Code:
     <style name="DialtactsTheme1" parent="android:Theme.Holo.Wallpaper">
        <item name="android:textColorSecondary">@color/com_android_contacts_dialtacts_secondary_text_color</item>
        <item name="android:windowActionBarOverlay">true</item>
        <item name="android:actionBarStyle">@style/DialtactsActionBarStyle</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
    </style>
    <style name="CallDetailActivityTheme1" parent="android:Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:gravity">top</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
    </style>
    <style name="DetailActivityTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:textColorPrimary">@color/com_android_contacts_primary_text_color</item>
        <item name="android:textColorSecondary">@color/com_android_contacts_secondary_text_color</item>
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/com_android_contacts_action_bar_item_background</item>
    </style>
    <style name="EditorActivityTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:textColorPrimary">@color/com_android_contacts_primary_text_color</item>
        <item name="android:textColorSecondary">@color/com_android_contacts_secondary_text_color</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/com_android_contacts_action_bar_item_background</item>
    </style>
    <style name="BackgroundOnlyTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:windowNoDisplay">true</item>
    </style>
    <style name="Theme.QuickContact" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowFrame">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsFloating">false</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:colorBackgroundCacheHint">@null</item>
    </style>
    <style name="PeopleTheme1" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:textColorPrimary">@color/com_android_contacts_primary_text_color</item>
        <item name="android:textColorSecondary">@color/com_android_contacts_secondary_text_color</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
        <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item>
        <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item>
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/com_android_contacts_action_bar_item_background</item>
    </style>
    <style name="ContactsActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
        <item name="android:background">@drawable/com_android_contacts_ab_solid_custom_blue_inverse_holo</item>
        <item name="android:displayOptions"></item>
        <item name="android:backgroundStacked">@drawable/com_android_contacts_ab_solid_custom_blue_inverse_holo</item>
    </style>
    <style name="ContactsActionBarDropDownStyle" parent="@android:style/Widget.Holo.Spinner">
        <item name="android:background">@drawable/com_android_contacts_ab_dropdown_navigation_item_background</item>
    </style>
    <style name="ContactsActionBarTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:dropDownListViewStyle">@style/ListViewDropdownStyle</item>
        <item name="android:textColor">@color/com_android_contacts_white_text</item>
        <item name="android:popupMenuStyle">@android:style/Widget.Holo.PopupMenu</item>
    </style>
    <style name="ContactsActionBarTabView" parent="@android:style/Widget.Holo.ActionBar.TabView">
        <item name="android:background">@drawable/com_android_contacts_action_bar_tab</item>
    </style>
    <style name="ListViewDropdownStyle" parent="@android:style/Widget.ListView.DropDown">
        <item name="android:listSelector">?android:listChoiceBackgroundIndicator</item>
    </style>
    <style name="ListViewStyle" parent="@android:style/Widget.Holo.ListView">
        <item name="android:overScrollMode">always</item>
    </style>
    <style name="ContactsPreferencesTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
    </style>
    <style name="ContactListFilterTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
    </style>
    <style name="CustomContactListFilterView" parent="@style/ContactListFilterTheme">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
    </style>
    <style name="NonPhoneActivityTheme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar" />
    <style name="NonPhoneDialogTheme" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@drawable/semi_transparent_bg</item>
    </style>
    <style name="ConfirmAddDetailDialogTheme" parent="@android:style/Theme.Holo.Dialog.MinWidth">
        <item name="android:windowCloseOnTouchOutside">true</item>
    </style>
    <style name="ContactEditorAccountsChangedActivityTheme" parent="@android:style/Theme.Holo.Dialog.NoActionBar.MinWidth">
        <item name="android:textColorPrimary">@color/com_android_contacts_primary_text_color</item>
        <item name="android:textColorSecondary">@color/com_android_contacts_secondary_text_color</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="android:windowCloseOnTouchOutside">true</item>
    </style>
    <style name="DialtactsActionBarStyle" parent="@android:style/Widget.Holo.ActionBar">
        <item name="android:displayOptions"></item>
        <item name="android:backgroundStacked">@drawable/com_android_contacts_ab_stacked_opaque_dark_holo</item>
        <item name="android:backgroundSplit">@null</item>
    </style>
    <style name="QuickContactListBottomStyle">
        <item name="android:background">@color/com_android_contacts_quickcontact_tab_indicator</item>
        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">2.0dip</item>
    </style>
    <style name="Theme.PhotoSelector" parent="@android:style/Theme.Holo.Wallpaper">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowFrame">@null</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:backgroundDimEnabled">false</item>
    </style>
    <style name="ContactListSeparatorTextViewStyle">
        <item name="android:textAppearance">?android:textAppearanceSmall</item>
        <item name="android:textStyle">bold</item>
        <item name="android:textColor">@color/com_android_contacts_people_app_theme_color</item>
        <item name="android:ellipsize">end</item>
        <item name="android:gravity">center_vertical</item>
        <item name="android:background">@drawable/com_android_contacts_list_section_divider_holo_custom</item>
        <item name="android:paddingLeft">8.0dip</item>
        <item name="android:layout_width">fill_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:minHeight">@dimen/list_section_divider_min_height</item>
        <item name="android:singleLine">true</item>
        <item name="android:textAllCaps">true</item>
    </style>
    <style name="PeopleNavigationDropDownTextAppearance">
        <item name="android:textSize">18.0sp</item>
        <item name="android:textColor">#ffd7d7d7</item>
    </style>
    <style name="PeopleNavigationDropDownHeaderTextAppearance">
        <item name="android:textSize">18.0sp</item>
        <item name="android:textColor">#cdffffff</item>
    </style>
 

m1keyb

Senior Member
Dec 23, 2011
399
247
0
Could someone say the names of the .png/.9.png that are used for dial upper background(black)/marker(blue)?
It's CM9.

http://forum.xda-developers.com/showpost.php?p=32081053&postcount=264

EDIT:

Also, the names of an image between phone icon and 0
I may be wrong as I'm on cm10 and after you've changed lots of things it can be quite hard to keep track :eek:

dial upper background try com_android_contacts_ab_stacked_opaque_dark_holo.9

marker is com_android_contacts_tab_selected_holo

image between phone icon and 0 on mine is <item name="color/dialpad_switch_bg">@color/dialpad_switch_bg</item>
 
Last edited:
  • Like
Reactions: Ramazor
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone