Fellow themers,
I have started putting together this guide for theming ICS. Some stuff I figured out myself and some was done by others so credit to all who figured it out first.
Please post your findings as well and I will add them here.
Happy theming.
GUIDE
Tools:
Update your sdk to 4.0
Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install/ Apk Multi-Tool
Latest Apktool
Install the framework:
Framework Compilation Errors:
You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.
You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.
For example in values/plurals.xml, change the following:
to:
It will compile ok after that.
Clock/Carrier/Ticker/Text Highlight colors:
In framework-res/res/values/colors.xml, change the following to your desired hex color code:
Notifications background color:
In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:
Changing the statusbar image:
In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:
Changing the notification pulldown image:
In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:
Removing the tint that Google inexplicably added to all the notifications:
In SystemUI/res/values/dimens.xml, change this value to anything you like:
Changing it to 100% will get rid of the tint altogether.
I have started putting together this guide for theming ICS. Some stuff I figured out myself and some was done by others so credit to all who figured it out first.
Please post your findings as well and I will add them here.
Happy theming.
GUIDE
Tools:
Update your sdk to 4.0
Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install/ Apk Multi-Tool
Latest Apktool
Install the framework:
Code:
apktool if framework-res.apk
Framework Compilation Errors:
You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.
You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.
For example in values/plurals.xml, change the following:
Code:
<item quantity="other">%d of %d</item>
to:
Code:
<item quantity="other">%d of %%d</item>
It will compile ok after that.
Clock/Carrier/Ticker/Text Highlight colors:
In framework-res/res/values/colors.xml, change the following to your desired hex color code:
Code:
<color name="holo_blue_light"></color>
<color name="holo_blue_dark"></color>
<color name="highlighted_text_holo_dark"></color>
<color name="highlighted_text_holo_light"></color>
Notifications background color:
In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:
Code:
<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>
</item>
Changing the statusbar image:
In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:
Code:
<drawable name="status_bar_background">@drawable/status_bar_bg_tile</drawable>
</item>
Changing the notification pulldown image:
In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:
Code:
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/pulldown" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
Removing the tint that Google inexplicably added to all the notifications:
In SystemUI/res/values/dimens.xml, change this value to anything you like:
Code:
<item type="dimen" name="status_bar_icon_drawing_alpha"></item>
</item>
Changing it to 100% will get rid of the tint altogether.
Last edited: