About :
This is for make CM7 ROM like Jellybean ROM layout on statusbar.
Credits :
- To Cool
- GDX Team
- DCSMS
- big thanks goes to AChep
Contents :
Post one:
-> Set up
-> Make Clock, date and day
-> Make Network speed on statusbar
-> Customize clear button
Tool used :
-> Apk Tool / Apk Manager / ToolAlite
-> SystemUI.apk
-> Notepad++
Screenshot :
{
"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"
}
Click to expand...
Click to collapse
Guide 1.0 : How To Make Date, Time and Day on Status Bar Expanded
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my jelly.zip.. download on attachment below
3. copy 2 files blablablajellyblablabla.smali to SystemUI.apk/smali/com/android/systemui/statusbar/here
4. now you need to modify status_bar_expanded.xml find on SystemUI.apk/res/layout/here
for first you need to find this line :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
paste this code below :
Code:
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
5. now recompile your file and push to system/app
=======================================================================================================
Screenshot :
Click to expand...
Click to collapse
Guide 2.0 : How To Create Network Traffic Speed on Status Bar
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my network.zip.. download on attachment below
3. copy folder smali to SystemUI.apk/here
4. now you need to modify status_bar.xml find on SystemUI.apk/res/layout/here
for first you need to find this line :
Code:
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
paste this code below :
Code:
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
5. now recompile your file and push to system/app
=======================================================================================================
Screenshot :
Click to expand...
Click to collapse
Guide 3.0 : How To Make Customization Your Clear Button
1. you need to decompile your SystemUI.apk (please dont tell me how to do that)
2. extract my clearbutton.zip.. download on attachment below
3. copy 3 files to drawable-xxxx (xxxx is by your phone, mdpi, hdpi, ldpi or xhdpi)
4. now you need to modify xxx.xml (create by your self), styles.xml, status_bar_expanded.xml
for first you need to create clear_button.xml on drawable folder and copy this line to your xml file :
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_window_focused="false" android:state_enabled="false" android:drawable="@drawable/btn_clear" />
<item android:state_pressed="true" android:drawable="@drawable/btn_clear_pressed" />
<item android:state_focused="true" android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_enabled="true" android:drawable="@drawable/btn_clear_focus" />
<item android:state_focused="true" android:drawable="@drawable/btn_clear_focus" />
<item android:drawable="@drawable/btn_clear_focus" />
</selector>
now, open the styles.xml on SystemUI.apk/res/values/here and copy this line in the end before </resources> line :
Code:
<style name="Awesome.Button" parent="@android:style/Widget.Button">
<item name="android:textAppearance">?android:textAppearanceSmallInverse</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:gravity">center</item>
<item name="android:background">@drawable/clear_button</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
</style>
note : this line on red colors is pointed to your new xml file
Code:
<item name="android:background">@drawable/[COLOR="Red"]clear_button[/COLOR]</item>
now, open the status_bar_expanded.xml on SystemUI.apk/res/layout/here and find this line :
Code:
<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button"
modify the line styles or paste my line like this :
Code:
<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="@style/Awesome.Button" />
5. now recompile your file and push to system/app
Guide 4.0 : How to add settings button on Status Bar Expdanded
1. you need to decompile SystemUI.apk (please dont tell me how to do that)
2. download my zip from here and extract it
3. now you must modify status_bar_expanded.xml
for first you need to find this line :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
after that line, add this line :
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/settings_button" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:contentDescription="@string/accessibility_settings_button" />
now, you must open string.xml and add this line on bottom :
Code:
<string name="accessibility_settings_button">System settings.</string>
open ids.xml and add this line on bottom :
Code:
<item type="id" name="settings_button">false</item>
now, you must extract settingsshortcut.zip.. extract to your decompiled folder and then compile your SystemUI.apk this is for got public id number.. so after compiled, you must decompile again.
open public.xml and StatusBarService.smali. Find this line on public.xml :
Code:
<public type="id" name="settings_button" id="[COLOR="Red"]0x7f090027[/COLOR]" />
the red color may be different
find this line on StatusBarService.smali :
Code:
.field mScrollView:Landroid/widget/ScrollView
and then add this line below :
Code:
.field mSettingsBut:Landroid/view/View;
.field private mSettingsButListener:Landroid/view/View$. OnClickListener;
now, find this line :
Code:
iput-object v0, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStopTracing:Ljava/lang/Runnable;
and then add this line below :
Code:
.line 1703
new-instance v0, Lcom/android/systemui/statusbar/StatusBarService$8;
invoke-direct {v0, p0}, Lcom/android/systemui/statusbar/StatusBarService$8;-><init>
(Lcom/android/systemui/statusbar/StatusBarService;)V
iput-object v0, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
return-void.
find this line again :
Code:
iput v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I
If not find, change v7 to v8
and then add this line below :
Code:
.line 333
const v7, [COLOR="Red"]0x7f090027[/COLOR]
invoke-virtual {v1, v7}, Lcom/android/systemui/statusba/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v7
iput-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
.line 334
iget-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
invoke-virtual {v7, v8}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
*for the red color on .line 333 you must change to your settings_button on your public.xml
*if your find iput v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I so v7 change to v8. and the line will be like this :
Code:
.line 333
const v8, 0x7f090029
invoke-virtual {v2, v8}, Lcom/android/systemui/statusbar/ExpandedView;->findViewById(I)Landroid/view/View;
move-result-object v8
iput-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
.line 334
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;
iget-object v9, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View $OnClickListener;
invoke-virtual {v8, v9}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
now, copy StatusBarService$8.smali to SystemUI.apk/smali/com/android/systemui/statusbar/here after that compile and push to system/app.
================================================== ================================================== ===
Guide 5.0 : How to add carrier label on statusbar close on
1. you need to decompile SystemUI.apk (please dont tell me how to do that)
2. now you must modify status_bar_tracking.xml
for first you need to find this line :
Code:
<com.android.systemui.statusbar.CloseDragHandle
and then paste this line below :
Code:
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" />
re-compile and push to system/app
for update
Nice tutorial
thanks
ariadelvana95 said:
Nice tutorial
thanks
Click to expand...
Click to collapse
with my pleasure..
I would spam your thanks button if you do this status bar for latest minicm7 2.2.1
Sent from my E15i using xda app-developers app
mantap !!! nice tutorial ! i've been searching for this tutorial and now i found it
what cm7 theme your using can u share?
heheh, that's my jelly bean statusbar
Where have I gone wrong?? Clear text is also displayed along with the image.
Have attached SystemUI.apk after doing all the mods (except network thing)
-------------------EDIT-----------------------------------
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Nice..
I like your guide..
Sent from my GT-S5660 using Tapatalk 2
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
m.ali.ozkaya said:
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
Click to expand...
Click to collapse
What is the point of your question??
:what:
Sent from my GT-S5660 using Tapatalk 2
Thanks man! nice guide
Next.....!
Guide 4.0 : How To Make Customization Your Setting Button ^0^
---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------
Xr01d_GT said:
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Click to expand...
Click to collapse
how to edit strings.xml?
thanks
Doesn't work for me unfortunately. CM7 on LG P990. No status bar.
Xr01d_GT said:
Where have I gone wrong?? Clear text is also displayed along with the image.
Have attached SystemUI.apk after doing all the mods (except network thing)
-------------------EDIT-----------------------------------
solved. Had to edit strings.xml
Now the problem is the clear button won't stay at the right corner. Screenshot attached..
Click to expand...
Click to collapse
sorry mate I late for reply just have low connection on Indonesia.. for make dissapear "clear" text on clear button you need to edit string.xml
so, this is guide for it..
Open your string.xml on SystemUI.apk/res/values/here and find this line :
Code:
<string name="blablabla_clear_button">Clear</string>
now, you must modify the syntact like this :
Code:
<string name="blablabla_clear_button"/string>
do the same if you want dissapear the text for Notifications, On Going, No Notifications
Imperticus said:
Doesn't work for me unfortunately. CM7 on LG P990. No status bar.
Click to expand...
Click to collapse
please attach your logcat mate, maybe i can help you
x-dira said:
Thanks man! nice guide
Next.....!
Guide 4.0 : How To Make Customization Your Setting Button ^0^
---------- Post added at 02:49 AM ---------- Previous post was at 02:47 AM ----------
how to edit strings.xml?
thanks
Click to expand...
Click to collapse
Yes i will add this guide, but not now.. so wait for my guide updates..
m.ali.ozkaya said:
CWM or AROMA installer???
Mobil cihazdan gönderildi..
aOS 2.3.6 BNC-GIO-R2
MMB-Tweaks_0.9_Fix
Click to expand...
Click to collapse
This is mod guide, so you can modding systemui.apk by your self.. not flasable.zip
AiphNday said:
Nice..
I like your guide..
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
thanks mate will update if i not busy
Mockingbird said:
I would spam your thanks button if you do this status bar for latest minicm7 2.2.1
Sent from my E15i using xda app-developers app
Click to expand...
Click to collapse
just attach your systemui.apk
saldymhmd said:
mantap !!! nice tutorial ! i've been searching for this tutorial and now i found it
Click to expand...
Click to collapse
haha.. sama2 master
english : haha.. your welcome master
dredremon said:
what cm7 theme your using can u share?
Click to expand...
Click to collapse
i use my own rom.. not a theme
AChep said:
heheh, that's my jelly bean statusbar
Click to expand...
Click to collapse
yes mate.. hey everyone give thanks to AChep his owner of jelly layout date, time and day.. on updates i will add your name on OP post.. sorry i forget that.. i just remember you're a part of ginger dx team
Got it to work now
petrukgrinder said:
just attach your systemui.apk
Click to expand...
Click to collapse
Can u share systemui.apk
thanks
Related
Hello guys, long time no see and long time to find this source code..
this source code made by Jmkl six and my alien friend Rizaleon give me this source. This source only for Samsung Galaxy Young Phone with stock ROM, but here i has been change some code for working on CM7 ROM. So, here we go!!
First you need to see my screenshot :
{
"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"
}
First Step :
1. you must know how to decompiling/compiling apk
2. knowledge about editing smali/xml
3. you must have apktool/apkmanager
Second Step :
1. Pull your SystemUI.apk and Framework-res.apk
2. Do if framework on apktool/apkmanager
3. Decompile your SystemUI.apk and open statusbarservice.smali
Third Step :
1. Find this line :
Code:
.method getExpandedHeight()I
- And delete this line :
Code:
iget-object v1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;
invoke-virtual {v1}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I
move-result v1
sub-int/2addr v0, v1
2. Find this line :
Code:
const v4, 0x20300
- Change this line :
Code:
const/16 v3, 0x7de
- To this line :
Code:
const/16 v3, 0x7d3
3. Find this line :
Code:
method onTrackingViewAttached()V
- Change this line :
Code:
const/16 v4, 0x7de
- To this line :
Code:
const/16 v4, 0x7d3
4. Find this line :
Code:
.method updateExpandedViewPos(I)V
- Look at this line :
Code:
.line 1627
.end local v2 #disph:I
.end local v3 #h:I
:cond_2
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;
invoke-virtual {v8}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I
move-result v8
move v3, v8
- Delete this line :
Code:
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;
invoke-virtual {v8}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I
move-result v8
move v3, v8
- And now paste this line after :cond_2 :
Code:
const/4 v3, 0x0
- So will look like this :
Code:
.line 1627
.end local v2 #disph:I
.end local v3 #h:I
:cond_2
const/4 v3, 0x0
5. Save your smali file and close.
Fourth Step :
1. Open status_bar.xml and find this line :
Code:
<com.android.systemui.statusbar.DateView
- Change the this line :
Code:
android:background="@drawable/xxxxx"
- To this line :
Code:
android:background="@drawable/trans"
- So will look like this :
Code:
<com.android.systemui.statusbar.DateView android:background="@drawable/trans"
2. Save your XML file and Recompile your SystemUI.apk then push it to /system/app
3. Goodluck
Click to expand...
Click to collapse
NB :
1. you must have a transparant picture and rename it to "trans.png" and move it to "drawable-xxxx" folder. look at below for resolution :
hdpi : 480x25 pixels
mdpi : 320x25 pixels
ldpi : 240x25 pixel
Credit :
- Jmkl six
- Rizaleon
- Samsung Galaxy Young Official Group Indonesian
- Alien Inside Themer Team
- Tiny Anastasia Development
petrukgrinder said:
Hello guys, long time no see and long time to find this source code..
this source code made by Jmkl six and my alien friend Rizaleon give me this source. This source only for Samsung Galaxy Young Phone with stock ROM, but here i has been change some code for working on CM7 ROM. So, here we go!!
First you need to see my screenshot :
NB :
1. you must have a transparant picture and rename it to "trans.png" and move it to "drawable-xxxx" folder. look at below for resolution :
hdpi : 480x25 pixels
mdpi : 320x25 pixels
ldpi : 240x25 pixel
Credit :
- Jmkl six
- Rizaleon
- Samsung Galaxy Young Official Group Indonesian
- Alien Inside Themer Team
- Tiny Anastasia Development
Click to expand...
Click to collapse
ohh menn.. your awesome.. !
nice guide.. :thumbup:
Sent from my GT-I8150 using xda premium
---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------
Hello guys, long time no see and long time to find this source code..<br />
this source code made by Jmkl six and my alien friend Rizaleon give me this source. This source only for <font color="Red">Samsung Galaxy Young Phone with stock ROM</font>, but here i has been change some code for <font color="Red">working on CM7 ROM</font>. So, here we go!!<br />
<br />
<b>First you need to see my screenshot :</b><br />
<br />
<br />
<b>First Step :</b><br />
1. you must know how to decompiling/compiling apk<br />
2. knowledge about editing smali/xml<br />
3. you must have apktool/apkmanager<br />
<br />
<b>Second Step :</b><br />
1. Pull your <font color="Blue">SystemUI.apk</font> and <font color="Blue">Framework-res.apk</font><br />
2. Do <font color="Blue">if framework</font> on apktool/apkmanager<br />
3. Decompile your <font color="Blue">SystemUI.apk</font> and open <font color="Blue">statusbarservice.smali</font><br />
<br />
<b>Third Step :</b><br />
1. Find this line :<br />
.method getExpandedHeight()I
Click to expand...
Click to collapse
<br />
- And delete this line :<br />
iget-object v1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;<br />
<br />
invoke-virtual {v1}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I<br />
<br />
move-result v1<br />
<br />
sub-int/2addr v0, v1
Click to expand...
Click to collapse
<br />
<br />
2. Find this line :<br />
const v4, 0x20300
Click to expand...
Click to collapse
<br />
- Change this line :<br />
const/16 v3, 0x7de
Click to expand...
Click to collapse
<br />
- To this line :<br />
const/16 v3, 0x7d3
Click to expand...
Click to collapse
<br />
<br />
3. Find this line :<br />
method onTrackingViewAttached()V
Click to expand...
Click to collapse
<br />
- Change this line : <br />
const/16 v4, 0x7de
Click to expand...
Click to collapse
<br />
- To this line : <br />
const/16 v4, 0x7d3
Click to expand...
Click to collapse
<br />
<br />
4. Find this line :<br />
.method updateExpandedViewPos(I)V
Click to expand...
Click to collapse
<br />
- Look at this line :<br />
.line 1627<br />
.end local v2 #disph:I<br />
.end local v3 #h:I<br />
:cond_2<br />
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;<br />
<br />
invoke-virtual {v8}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I<br />
<br />
move-result v8<br />
<br />
move v3, v8
Click to expand...
Click to collapse
<br />
- Delete this line :<br />
iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/CmStatusBarView;<br />
<br />
invoke-virtual {v8}, Lcom/android/systemui/statusbar/CmStatusBarView;->getHeight()I<br />
<br />
move-result v8<br />
<br />
move v3, v8
Click to expand...
Click to collapse
<br />
- And now paste this line after <font color="Blue">:cond_2</font> :<br />
const/4 v3, 0x0
Click to expand...
Click to collapse
<br />
- So will look like this :<br />
.line 1627<br />
.end local v2 #disph:I<br />
.end local v3 #h:I<br />
:cond_2<br />
const/4 v3, 0x0
Click to expand...
Click to collapse
<br />
5. Save your smali file and close.<br />
<br />
<b>Fourth Step :</b><br />
1. Open <font color="Blue">status_bar.xml</font> and find this line :<br />
<com.android.systemui.statusbar.DateView
Click to expand...
Click to collapse
<br />
- Change the this line :<br />
android:background="@drawable/xxxxx"
Click to expand...
Click to collapse
<br />
- To this line :<br />
android:background="@drawable/trans"
Click to expand...
Click to collapse
<br />
- So will look like this :<br />
<com.android.systemui.statusbar.DateView android:background="@drawable/trans"
Click to expand...
Click to collapse
<br />
<br />
2. Save your XML file and Recompile your SystemUI.apk then push it to /system/app<br />
3. Goodluck
Click to expand...
Click to collapse
<br />
<br />
<b>NB :</b><br />
1. you must have a transparant picture and rename it to "trans.png" and move it to "drawable-xxxx" folder. look at below for resolution :<br />
<br />
hdpi : 480x25 pixels<br />
mdpi : 320x25 pixels<br />
ldpi : 240x25 pixel<br />
<br />
<b>Credit :</b><br />
- Jmkl six<br />
- Rizaleon<br />
- Samsung Galaxy Young Official Group Indonesian<br />
- Alien Inside Themer Team<br />
- Tiny Anastasia Development
Click to expand...
Click to collapse
Sent from my GT-I8150 using xda premium
thanks for this useful guide
edit nevermind got it working xD
geva28 said:
thanks for this useful guide
Click to expand...
Click to collapse
your welcome my bro..
SpaceCaker said:
edit nevermind got it working xD
Click to expand...
Click to collapse
what your rom? cm7? if different please tell me.
Send from my fvckin fingers
petrukgrinder said:
your welcome my bro..
what your rom? cm7? if different please tell me.
Send from my fvckin fingers
Click to expand...
Click to collapse
on stock rom
i did this
Remove
Code:
- iget-object v1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/StatusBarView;
-
- invoke-virtual {v1}, Lcom/android/systemui/statusbar/StatusBarView;->getHeight()I
-
- move-result v1
-
- sub-int/2addr v0, v1
-
change
Code:
const/16 v3, 0x7de
to
Code:
const/16 v3, 0x7d3
chagne
Code:
const/16 v3, 0x7de
to
Code:
const/16 v3, 0x7d3
remove
Code:
- .line 1388
- iget-object v8, p0, Lcom/android/systemui/statusbar/StatusBarService;->mStatusBarView:Lcom/android/systemui/statusbar/StatusBarView;
-
- invoke-virtual {v8}, Lcom/android/systemui/statusbar/StatusBarView;->getHeight()I
-
- move-result v3
-
Code:
.line 1410
:cond_2
add
Code:
const/4 v3, 0x0
so it looks like this
Code:
.line 1410
:cond_2
const/4 v3, 0x0
const/16 v8, -0x2711
i git diffed my changes to my original systemui and this is the diff
https://github.com/spacecaker/git_status_xp/commit/59a39cd9181cf5241960c105e3d3fb607ce9a59a
Could u send me your .png file responsible for background of clock, date and setting button ?
BlackLie said:
Could u send me your .png file responsible for background of clock, date and settings button ?
Click to expand...
Click to collapse
u can do it by your self with knowledge of photoshop or search any psd files with keywords "emboss style". sorry i can't give your png, cause now i don't using a systemui like that and i forgot where i save it.
Send from my fvckin fingers
petrukgrinder said:
u can do it by your self with knowledge of photoshop or search any psd files with keywords "emboss style". sorry i can't give your png, cause now i don't using a systemui like that and i forgot where i save it.
Send from my fvckin fingers
Click to expand...
Click to collapse
Okey dokey, thanks anyway Your tut is great
---------- Post added at 06:20 PM ---------- Previous post was at 05:59 PM ----------
petrukgrinder said:
u can do it by your self with knowledge of photoshop or search any psd files with keywords "emboss style". sorry i can't give your png, cause now i don't using a systemui like that and i forgot where i save it.
Send from my fvckin fingers
Click to expand...
Click to collapse
Ok, I had made it... which file should I replace ? (I tried trans.png, but it does not work)
Sorry for bothering you ;<
Thank brò ! work on cyanogenmod 7.2 !
BlackLie said:
Could u send me your .png file responsible for background of clock, date and setting button ?
Click to expand...
Click to collapse
how did you get the clock and date above the toggles? i'm trying to do that also, but no luck so far
even when i move the time and date layout all the way to the bottom, it doesn't move
mjz2cool said:
how did you get the clock and date above the toggles? i'm trying to do that also, but no luck so far
even when i move the time and date layout all the way to the bottom, it doesn't move
Click to expand...
Click to collapse
It's not my ss, sorry :<
{
"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"
}
We need
Apktool - apktool Guidehttp://forum.xda-developers.com/showpost.php?p=50181967&postcount=57
Download here: http://forum.xda-developers.com/showpost.php?p=50205159&postcount=90
or
GUI program
Notepad++
Resources for all resolutions (PNGs & .9.PNGs)
View attachment resources_follow_KK_last.zip
Fixed Text Fields Resources for all res (use if You have visual artifacts with )
View attachment fixed_textfield_resources_all_resolutions.zip
Fixed TAB Resources for mdpi (use if You have visual artifacts with )
View attachment fix_tab_mdpi.rar
Alternative resources for mdpi devices by @Diaz1999
http://forum.xda-developers.com/showpost.php?p=50830840&postcount=379
Thanks rush25 for support and kroz for his great work!
Click to expand...
Click to collapse
+ = Add or Replace
- = Remove or to be Replaced
1) Settings.apk
FIRST: ADD THE DRAWABLE-NODPI RESOURCE AND ALL OTHERS RESOURCES, ACCORDING TO YOUR RESOLUTION, INSIDE RESPECTIVE FOLDERS. CHECK ALSO OTHER FOLDERS (e.g. drawable-hdpi, drawable-xhpi TO SEE IF THERE ARE OTHER HOLO RESOURCES TO OVERWRITE!!!
\Settings\smali\com\android\settings\applications\LinearColorBar.smali
Search for (row 67 on Stock ROM)
Code:
.prologue
[B]-[/B] const v0, -0x[COLOR="red"][B]ff6634[/B][/COLOR]
Code:
.prologue
[B]+[/B] const v0, -0x[COLOR="SeaGreen"][B]333334[/B][/COLOR]
\Settings\smali\com\android\settings\applications\ManageApplications.smali
Code:
.line 914
.local v4, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]-[/B] const v5, [COLOR="Red"][B]0x1060012[/B][/COLOR]
Code:
.line 914
.local v4, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]+[/B] const v5, [B][COLOR="SeaGreen"]0x106000b[/COLOR][/B]
\Settings\smali\com\android\settings\applications\AppOpsSummary.smali
Code:
.line 107
.local v2, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]-[/B] const v3, 0x[COLOR="Red"][B]1060012[/B][/COLOR]
Code:
.line 107
.local v2, tabs:Landroid/support/v4/view/PagerTabStrip;
[B]+[/B] const v3, 0x[COLOR="SeaGreen"][B]106000b[/B][/COLOR]
\Settings\res\drawable\data_usage_bar.xml
Code:
<item android:id="@*android:id/secondaryProgress">
<clip>
<shape>
[B]-[/B] <solid android:color="#[COLOR="Red"][B]c050ade5[/B][/COLOR]" />
Code:
<item android:id="@*android:id/secondaryProgress">
<clip>
<shape>
[B]+[/B] <solid android:color="#[COLOR="SeaGreen"][B]c0ffffff[/B][/COLOR]" />
Code:
<item android:id="@*android:id/progress">
<clip>
<shape>
[B]-[/B] <solid android:color="#[COLOR="Red"][B]c050ade5[/B][/COLOR]" />
Code:
<item android:id="@*android:id/progress">
<clip>
<shape>
[B]+[/B] <solid android:color="#[COLOR="SeaGreen"][B]c0ffffff[/B][/COLOR]" />
\Settings\res\layout\data_usage_chart.xml
Code:
[B]-[/B] <com.android.settings.widget.ChartGridView android:layout_gravity="start|bottom|center" android:id="@id/grid" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:labelColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" settings:primaryDrawable="@drawable/data_grid_primary" settings:secondaryDrawable="@drawable/data_grid_secondary" settings:borderDrawable="@drawable/data_grid_border" />
[B]-[/B] <com.android.settings.widget.ChartNetworkSeriesView android:layout_gravity="start|bottom|center" android:id="@id/series" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:strokeColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" settings:fillColor="#c0[COLOR="Red"][B]33b5e5[/B][/COLOR]" settings:fillColorSecondary="#66[COLOR="Red"][B]33b5e5[/B][/COLOR]" />
Code:
[B]+[/B] <com.android.settings.widget.ChartGridView android:layout_gravity="start|bottom|center" android:id="@id/grid" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:labelColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" settings:primaryDrawable="@drawable/data_grid_primary" settings:secondaryDrawable="@drawable/data_grid_secondary" settings:borderDrawable="@drawable/data_grid_border" />
[B]+[/B] <com.android.settings.widget.ChartNetworkSeriesView android:layout_gravity="start|bottom|center" android:id="@id/series" android:layout_width="fill_parent" android:layout_height="fill_parent" settings:strokeColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" settings:fillColor="#c0[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" settings:fillColorSecondary="#66[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" />
\Settings\res\values\colors.xml
ADD THIS AT THE END OF THE .XML:
Code:
[B]+[/B] [COLOR="SeaGreen"][B]<item type="color" name="tab_indicator">@*android:color/white</item>[/B][/COLOR]
2) framework-res.apk
FIRST: ADD THE DRAWABLE-NODPI RESOURCE AND ALL OTHERS RESOURCES, ACCORDING TO YOUR RESOLUTION, INSIDE RESPECTIVE FOLDERS. CHECK ALSO OTHER FOLDERS (e.g. drawable-hdpi, drawable-xhpi TO SEE IF THERE ARE OTHER HOLO RESOURCES TO OVERWRITE!!!
framework-res\res\layout\alert_dialog_holo.xml
Code:
[B]-[/B] <View android:id="@id/titleDividerTop" android:background="@color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]+[/B] <View android:id="@id/titleDividerTop" android:background="@color/[COLOR="SeaGreen"][B]default_dialog_divider_holo_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]-[/B] <View android:id="@id/titleDivider" android:background="@color/[COLOR="red"][B]holo_blue_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
Code:
[B]+[/B] <View android:id="@id/titleDivider" android:background="@color/[COLOR="SeaGreen"][B]default_dialog_divider_holo_light[/B][/COLOR]" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="2.0dip" />
framework-res\res\layout\immersive_mode_cling.xml
Code:
<TextView android:textSize="16.0sp" android:textColor="#80[COLOR="Red"][B]000000[/B][/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/immersive_mode_confirmation" />
Code:
<TextView android:textSize="16.0sp" android:textColor="#80[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/immersive_mode_confirmation" />
framework-res\res\values\colors.xml
ADD THIS AT THE END OF THE XML:
Code:
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_text_holo_dark">@android:color/background_holo_light</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_text_holo_light">@android:color/background_holo_dark</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_divider_holo_dark">@android:color/background_holo_light</color>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<color name="default_dialog_divider_holo_light">#ffacacac</color>[/B][/COLOR]
Code:
- <color name="holo_blue_light">#ff[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
+ <color name="holo_blue_light">#ff[B][COLOR="SeaGreen"]bdbdbd[/COLOR][/B]</color>
Code:
- <color name="highlighted_text_holo_dark">#66[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
- <color name="highlighted_text_holo_light">#66[B][COLOR="Red"]33b5e5[/COLOR][/B]</color>
Code:
+ <color name="highlighted_text_holo_dark">#66[COLOR="SeaGreen"][B]ffffff[/B][/COLOR]</color>
+ <color name="highlighted_text_holo_light">#66[COLOR="SeaGreen"][B]000000[/B][/COLOR]</color>
framework-res\res\values\styles.xml
Code:
<style name="TextAppearance.Holo.DialogWindowTitle" parent="@style/TextAppearance.Holo">
<item name="textSize">22.0sp</item>
[B]-[/B] <item name="textColor">@color/[COLOR="red"][B]holo_blue_light[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.DialogWindowTitle" parent="@style/TextAppearance.Holo">
<item name="textSize">22.0sp</item>
[B]+[/B] <item name="textColor">@color/[COLOR="SeaGreen"][B]default_dialog_text_holo_dark[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.DialogWindowTitle" parent="@style/TextAppearance.Holo.Light">
<item name="textSize">22.0sp</item>
[B]-[/B] <item name="textColor">@color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.DialogWindowTitle" parent="@style/TextAppearance.Holo.Light">
<item name="textSize">22.0sp</item>
[B]+[/B] <item name="textColor">@color/[COLOR="SeaGreen"][B]default_dialog_text_holo_light[/B][/COLOR]</item>
</style>
Code:
- <style name="Widget.Holo.Light.ProgressBar.Horizontal" parent="@style/Widget[COLOR="Red"][B].Holo[/B][/COLOR].ProgressBar.Horizontal">
<item name="progressDrawable">@drawable/progress_horizontal_holo_light</item>
</style>
Code:
<style name="Widget.Holo.Light.ProgressBar.Horizontal" parent="@style/Widget.ProgressBar.Horizontal">
[B]+[/B] [COLOR="SeaGreen"][B]<item name="maxHeight">16.0dip</item>[/B][/COLOR]
[B]+[/B] [COLOR="SeaGreen"][B]<item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal_holo_light</item>[/B][/COLOR]
<item name="progressDrawable">@drawable/progress_horizontal_holo_light</item>
[B]+[/B][COLOR="SeaGreen"][B] <item name="minHeight">16.0dip</item>[/B][/COLOR]
</style>
Code:
<style name="Widget.Holo.Light.SeekBar" parent="@style/Widget.Holo.SeekBar">
<item name="indeterminateDrawable">@drawable/scrubber_progress_horizontal_holo_light</item>
<item name="progressDrawable">@drawable/scrubber_progress_horizontal_holo_light</item>
[B]+[/B] [COLOR="SeaGreen"][B] <item name="android:thumb">@android:drawable/scrubber_control_selector_holo_light</item>[/B][/COLOR]
</style>
<! ---Fixes for tab Indicators on light layouts (see screenshots) (thanks @Diaz1999 --- !>
Follow this:
v1 - http://forum.xda-developers.com/showpost.php?p=51444245&postcount=475
Then This:
v2 - http://forum.xda-developers.com/showpost.php?p=52502121&postcount=593
framework-res\res\values\drawables.xml
Code:
[B]-[/B] <item type="drawable" name="notification_template_icon_bg">#[COLOR="Red"][B]3333b5e5[/B][/COLOR]</item>
Code:
[B]+[/B] <item type="drawable" name="notification_template_icon_bg">#[COLOR="SeaGreen"][B]00000000[/B][/COLOR]</item>
framework-res\res\drawable\scrubber_progress_horizontal_holo_light.xml
Code:
<item android:id="@id/secondaryProgress">
[B]-[/B] <scale android:drawable="@drawable/[COLOR="Red"][B]scrubber_secondary_holo[/B][/COLOR]" android:scaleWidth="100%" />
</item>
<item android:id="@id/progress">
[B]-[/B] <scale android:drawable="@drawable/[COLOR="Red"][B]scrubber_primary_holo[/B][/COLOR]" android:scaleWidth="100%" />
Code:
<item android:id="@id/secondaryProgress">
[B]+[/B] <scale android:drawable="@drawable/[COLOR="SeaGreen"][B]scrubber_secondary_holo_light[/B][/COLOR]" android:scaleWidth="100%" />
</item>
<item android:id="@id/progress">
[B]+[/B] <scale android:drawable="@drawable/[COLOR="SeaGreen"][B]scrubber_primary_holo_light[/B][/COLOR]" android:scaleWidth="100%" />
3) SystemUI
SystemUI\res\layout\status_bar_no_recent_apps.xml
Code:
[B]-[/B] <TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="Red"][B]holo_blue_light[/B][/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
Code:
[B]+[/B] <TextView android:textSize="20.0dip" android:textColor="@*android:color/[COLOR="SeaGreen"][B]white[/B][/COLOR]" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
4) GoogleDialer
GoogleDialer/res/values/colors.xml
Code:
[B]-[/B] <color name="incall_call_banner_background">#a0[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_call_banner_background">#a0[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Alternative, for Aosp Roms, to Slim Commit:
@fritzhy
http://forum.xda-developers.com/showpost.php?p=51042091&postcount=412
@rush25
http://forum.xda-developers.com/showpost.php?p=51047209&postcount=414
http://forum.xda-developers.com/showpost.php?p=51049946&postcount=418
Code:
[B]-[/B] <color name="dialpad_background">#ff[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialpad_background">#ff[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="incall_secondary_info_background">#80[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_secondary_info_background">#80[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="incall_call_banner_text_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="incall_call_banner_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dtmf_dialer_display_text">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dtmf_dialer_display_text">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dialtacts_primary_text_color">#ff[COLOR="Red"][B]000000[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialtacts_primary_text_color">#ff[COLOR="SeaGreen"][B]111111[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="dialpad_text_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="dialpad_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="call_log_voicemail_highlight_color">#ff[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="call_log_voicemail_highlight_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="background_dialer_list_items">#ff[COLOR="Red"][B]eeeeee[/B][/COLOR]</color>
[B]-[/B] <color name="background_dialpad">#[COLOR="red"][B]f2020709[/B][/COLOR]</color>
[B]-[/B] <color name="dialpad_primary_text_color">#ff[COLOR="red"][B]33b5e5[/B][/COLOR]</color>
<color name="dialpad_secondary_text_color">#ffaaaaaa</color>
[B]-[/B] <color name="actionbar_background_color">#ff[COLOR="Red"][B]ffffff[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="background_dialer_list_items">#ff[COLOR="SeaGreen"][B]f5f5f5[/B][/COLOR]</color>
[B]+[/B] <color name="background_dialpad">#[COLOR="SeaGreen"][B]ffe5e5e5[/B][/COLOR]</color>
[B]+[/B] <color name="dialpad_primary_text_color">#ff[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
<color name="dialpad_secondary_text_color">#ffaaaaaa</color>
[B]+[/B] <color name="actionbar_background_color">#ff[COLOR="SeaGreen"][B]e6e6e6[/B][/COLOR]</color>
Code:
[B]-[/B] <color name="secondary_text_color">#ff[COLOR="Red"][B]888888[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="secondary_text_color">#ff[COLOR="SeaGreen"][B]777777[/B][/COLOR]</color>
GoogleDialer/res/values/drawables.xml
Code:
[B]-[/B] <item type="drawable" name="grayBg">#ff[COLOR="Red"][B]333333[/B][/COLOR]</item>
Code:
[B]+[/B] <item type="drawable" name="grayBg">#ff[COLOR="SeaGreen"][B]e5e5e5[/B][/COLOR]</item>
If, during recompilation, You get some errors like this
Solution:
Just open the FOLDER and search for the STRING that gives the error and put formatted="false", like this:
Code:
[B]-[/B] <string name="throttle_time_frame_subtext">"%1$d % des Zyklus sind verstrichen. [U]<!-- line n°193 -->[/U]
Der nächste Zeitraum beginnt in %2$d Tagen (%3$s)."</string> [U]<!-- line n°194 -->[/U]
Code:
[B]+[/B] <string [COLOR="SeaGreen"][B]formatted="false"[/B][/COLOR] name="throttle_time_frame_subtext">"%1$d % des Zyklus sind verstrichen. [U]<!-- line n°193 -->[/U]
Der nächste Zeitraum beginnt in %2$d Tagen (%3$s)."</string> [U]<!-- line n°194 -->[/U]
5) TeleService (Emergency Dialer)
JUST ADD THE RESOURCES PROVIDED YOU WILL HAVE THE SAME COMPILATION ERRORS AS FOR GoogleDialer!
7) DeskClockGoogle
JUST ADD THE RESOURCES PROVIDED
8) Mms
FIRST: ADD THE RESOURCES PROVIDED
Mms\res\values\colors.xml
Code:
[B]-[/B] <color name="banner_item_pressed">#67[COLOR="Red"][B]33b5e5[/B][/COLOR]</color>
Code:
[B]+[/B] <color name="banner_item_pressed">#67[COLOR="SeaGreen"][B]404040[/B][/COLOR]</color>
10) (AOSP)browser
JUST ADD THE RESOURCES PROVIDED
<!--- You want more White (e.g. white settings ui)????? Then follow these guidelines by @donjamal ! ---!>
http://forum.xda-developers.com/nexus-4/themes-apps/guide-theming-stock-android-t2616963
[/CENTER]
Make the Contextual ActionBar background follow the ActionBar background
framework-res.apk/res/values/styles.xml
Code:
<style name="Theme.Holo" parent="@style/Theme">
=˄=
- <item name="actionBarStyle">@style/[COLOR="Red"]Widget.Holo.ActionBar[/COLOR]</item>
+ <item name="actionBarStyle">@style/[COLOR="green"]Widget.Holo.ActionBar.Solid[/COLOR]</item>
=˅=
</style>
Code:
<style name="Theme.Holo.Light.DarkActionBar" parent="@style/Theme.Holo.Light">
=˄=
- <item name="actionModeSplitBackground">@drawable/[COLOR="Red"]cab_background_bottom_holo_dark[/COLOR]</item>
+ <item name="actionModeSplitBackground">@drawable/[COLOR="Green"]cab_background_bottom_holo_inverse[/COLOR]</item>
=˅=
</style>
framework-res.apk/res/values/drawables.xml
Code:
=˄=
+ [COLOR="Green"]<item type="drawable" name="cab_background_top_holo_dark">@drawable/ab_solid_dark_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_top_holo_light">@drawable/ab_solid_light_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_dark">@drawable/ab_bottom_solid_dark_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_light">@drawable/ab_bottom_solid_light_holo</item>[/COLOR]
+ [COLOR="green"]<item type="drawable" name="cab_background_bottom_holo_inverse">@drawable/ab_bottom_solid_inverse_holo</item>[/COLOR]
=˅=
framework-res.apk/res/drawable-**dpi/
Code:
=˄=
button_onoff_indicator_on.png
- [COLOR="red"]cab_background_bottom_holo_dark.9.png[/COLOR]
- [COLOR="red"]cab_background_bottom_holo_light.9.png[/COLOR]
- [COLOR="Red"]cab_background_top_holo_dark.9.png[/COLOR]
- [COLOR="red"]cab_background_top_holo_light.9.png[/COLOR]
call_contact.png
=˅=
Alternate style for Switch
Screenshot at post #678
framework-res.apk/res/values/styles.xml
Code:
<style name="TextAppearance.Holo.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
- <item name="textColor">@color/[COLOR="Red"]secondary_text_holo_dark[/COLOR]</item>
+ <item name="textColor">@color/[COLOR="Green"]switch_text_holo_dark[/COLOR]</item>
</style>
Code:
<style name="TextAppearance.Holo.Light.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
- <item name="textColor">@color/[COLOR="Red"]primary_text_holo_dark[/COLOR]</item>
+ <item name="textColor">@color/[COLOR="Green"]switch_text_holo_light[/COLOR]</item>
</style>
And extract the switch_alternate resources below to the correct location
wow bro awesome guide thanks a lot
Sent from my Nexus 4 using XDA Premium 4 mobile app
Credits, Downloads and Screenshots
Once done just flash themed .apk via recovery using this template. Put the recompiled files inside:
Follow_KK_UI.zip\system\priv-app\Settings.apk
Follow_KK_UI.zip\system\priv-app\SystemUI.apk
Follow_KK_UI.zip\system\priv-app\GoogleDialer.apk
Follow_KK_UI.zip\system\priv-app\TeleService.apk
Follow_KK_UI.zip\system\priv-app\Mms.apk
Follow_KK_UI.zip\system\framework\framework-res.apk
Follow_KK_UI.zip\system\app\DeskClockGoogle.apk
View attachment 2572657
HOW TO THEME YOUR KITKAT LIKE A KITKAT!!!!
Credits:
- @ivn888
- @memnoc
- @iBotPeaches
- @kroz
- SlimRoms Team
- @rush25
- @BaNkS
- @snak3ater
- @Rodger_Rulez
http://forum.xda-developers.com/showpost.php?p=50237756&postcount=128
- @fritzhy
- @mrjaydee82 for support
- @Etihad
- AOKP.co Team
- Androguide.fr
- @moneyolo
- @fritzhy
- @engraver65
- @Gingerbread1611
- @logonaniket
- @Diaz1999
- @Koragg618
- @core720
- @Notonlyeyes
- @HaGii
- @rahil3108
- @Navneet Suresh for mirror
- @nemofbaby2010 for the gui apktool hint
- @RK
✪DONATORS✪
- @sirbanger
- a Guest member
CyanogenMod 11 Theme (HDPI , XHDPI & XXHDPI) by @rush25 & @hemantv
Please, thank them:
http://forum.xda-developers.com/showthread.php?t=2685553
http://forum.xda-developers.com/goo...heme-kitkat-ui-0-3-goodbye-holo-blue-t2718202
Other Nexus Devices
N4 STOCK ROMs DEODEXED
http://forum.xda-developers.com/nexus-4/themes-apps/theme-stock-white-holo-theme-build-1-t2619037
(xhdpi) Separate N4 flashable DIALER by @ivn888 :
https://www.dropbox.com/s/maofxk9br9iygxy/Dialer_N4.zip
! Notes !
1. These mods are flashable via a recovery;
2. These mods are ONLY for KOT49H STOCK ROMs deodexed and Cataclysm ROM;
3. You can flash the MODs for STOCK ROM DEODEXED over all untouched stock Roms, also ODEX, just delete the .odex of Settings, GoogleDialer, Systemui, framework-res and TeleService .apks (Kangakat etc etc);
How to flash deodexed on odexed
4. "Can I flash over AOSPs?" Absolutely not!!!!!;
5. Can I flash an old mod on a newest Aosp Build (PA, CM etc) Roms: NOOOOOO;
6. "What Happens if I ignore Your warnings" Simple: Bootloop!;
7. "Can we use Your files in our ROM ?" Sure but give me mention/credits/link_to_this_thread if You use my guide to theme Your Rom or the files I provided. Please consider also to mention kroz and others for their hard work.;
SCREENSHOTS (Click to Show)
Good job enricocid
Very well written and I'm sure this will come in handy for many people!!
I have applied all the changes to a SGS2 ROM with JB 4.1.2 Touchwiz, and now is like Kit Kat.
Thanks for your work.
Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!
tallo03 said:
Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!
Click to expand...
Click to collapse
to change the settings background (from grey to white) You can follow this guide
http://forum.xda-developers.com/nexus-4/themes-apps/how-to-change-framework-background-t2464388
tallo03 said:
Would there be any chance for a tutorial (instructions) to change the settings etc from black to white? White settings etc would finish the design finaly!
Thanks!
Click to expand...
Click to collapse
you can also follow this guide
or you can flash my mods from here (white settings) and here (eXperiaNcre Red theme)
@enricocid What are the rom requirements, Android 4.0+?
guide was smooth No confusion what so ever for the first time editing smali!!!
My device is running touchwiz 4.1, but not all has changed like the screentshots above.
Might be because you are not running KitKat?!
Sent via GALAXY NOTE N7000 // KitKat
Aiko0923 said:
@enricocid What are the rom requirements, Android 4.0+?
Click to expand...
Click to collapse
i did this guide to complete the look on KitKat, but you can theme also Jellybean
enricocid said:
i did this guide to complete the look on KitKat, but you can theme also Jellybean
Click to expand...
Click to collapse
I done it on TW 4.1.2 and all is working like the screenshots.
Enviado desde mi GT-I9100 mediante Tapatalk
---------- Post added at 09:24 AM ---------- Previous post was at 08:59 AM ----------
Geddd said:
My device is running touchwiz 4.1, but not all has changed like the screentshots above.
Click to expand...
Click to collapse
First you have to follow this guide:http://forum.xda-developers.com/showthread.php?t=2531813 Then you can apply the changes of the OT.
- ADDED DIALER INSTRUCTIONS
- UPDATED RESOURCES WITH DIALER ONES
- UPDATED FOLLOW KK UI MOD FOR NEXUS 5!!
Added also a cataclysm theme for nexus 5 users in op!
enricocid said:
Added also a cataclysm theme for nexus 5 users in op!
Click to expand...
Click to collapse
Thank you so much
Sent from my Nexus 5 using XDA Premium 4 mobile app
Awesome work!
Sent from my Nexus 5 using Tapatalk
Added a separate package for Dialer
Hello!
I wanted to have a translucent statusbar on my a89 but when i edited only xml it looked weird so after help of few of my friends and comparing smalis and xmls i finally found out the problem
Requirements:
1)a Deodexed rom
2)SystemUI.apk of your rom
3)notepad++
4)brain :silly:
Click to expand...
Click to collapse
Instructions:
first decompile your systemUI.apk and navigate to res/layout
and change this
Code:
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
to
Code:
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="#82000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
now for the smali
go to SystemUI.apk\smali\com\android\systemui\statusbar
look for something like this the values might change but it must have "drawableColor:I"
Code:
.line 130
.local v16, drawableColor:I
const/16 v16, 0x4
change the 0x4 to -0x3 so it should look something like this
Code:
.line 130
.local v16, drawableColor:I
const/16 v16, -0x3
Click to expand...
Click to collapse
and you are done! recompile the systemUI.apk and push or flash it to /system/app
and enjoy!
i will soon upload the flashable zip for stock rom of a89:victory:
Credits:
Adhithya
Yoedi
Rohit
Click to expand...
Click to collapse
bro, keep goin
very nice. Keep giving such awesome tuts.
noobpremium said:
very nice. Keep giving such awesome tuts.
Click to expand...
Click to collapse
haha thanks
not working in my systemui.
shashanksetty said:
haha thanks
Click to expand...
Click to collapse
Please help me to make my systemui transparent.
I have attached systemui.
tipodual with gimlo2.1
OK like the title said this guide is for :
- Adding Actionbar back button like in ICS/JB
- Changing titlebar height and settings background
First thing if u want look of ICS/JB Settings go here
Second if u want Wifi/Bt buttons/toggles fo here
Also this, placing a custom icon on the title bar of a certain app here
What Is Required :
? Brain function - but not all function dont worry
? Rooted phone
? Notepad++(for opening build.prop files)
? Android Commander
? Tool for decompiling jar files - apkmanager/apktool/virtous or...
Click to expand...
Click to collapse
Adding Actionbar back button like in ICS/JB :
*This part is for adding back button in "About Phone" section but if u have free time (your gonna need it!)
same metod can be used for rest of Settings categories, just have to find them... like for "Development" changes
have to be made in development_prefs.xml, for Display there is display_settings.xml.. and androidmanifest.xml ofc!
Click to expand...
Click to collapse
{
"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"
}
1. STEP - DECOMPILE Settings.apk
res/xml/device_info_settings.xml
add this line :
Code:
<CheckBoxPreference android:layout="@layout/actionbar_device_info_preferences" android:title="@string/about_settings" android:key="device_info_ab_settings" />
bellow:
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
2. STEP - Open your Android-Manifest.xml and change :
Code:
<activity android:label="@string/device_info_settings" android:name="DeviceInfoSettings" android:configChanges="keyboardHidden|orientation">
to this :
Code:
<activity [COLOR="Red"]android:theme="@*android:style/Theme.Black.NoTitleBar"[/COLOR] android:label="@string/device_info_settings" android:name="DeviceInfoSettings" android:configChanges="keyboardHidden|orientation">
3. STEP - Download setfiles.rar and push files to your decompiled Settings.apk
4. STEP - Re-sign your apk and push it to system/app.
5. STEP - Because we made change to androidmanifest we have to make change to services.jar also
Decompile /system/framework/services.jar
com/android/server/PackageManagerService.smali, look for
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921 [COLOR="DeepSkyBlue"]- this number could be different in your files[/COLOR]
change it to :
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921
[COLOR="Red"] const/4 v6, 0x0
return v6[/COLOR]
6. STEP - Re-sign your apk and push it to system/framework.
Changing titlebar height and settings background :
1. STEP - DECOMPILE framework-res.apk
res/values/styles.xml
2. STEP - find this lines :
Code:
<style name="Theme">
bellow that find something like :
Code:
<item name="windowBackground">@drawable/screen_background_dark</item>
change it to :
Code:
<item name="windowBackground">@drawable/[COLOR="Red"]mybackground[/COLOR]</item>
then find :
Code:
<item name="windowTitleSize">25.0dip</item>
change it to :
Code:
<item name="windowTitleSize">[COLOR="Red"]48.0dip[/COLOR]</item>
3. STEP - Download framefiles.rar and push files to your decompiled framework-res.apk
4. STEP - Re-sign your apk and push it to system/framework.
If I forgot something dont upset it will be upload.
Credits:
Sniper Killer
Recognized Contributor
SpaceCaker
Recognized Themer / Contributor
reserved
background*
tomgacz said:
background*
Click to expand...
Click to collapse
changed.
help
Vesavoj said:
reserved
Click to expand...
Click to collapse
I want to center the text in titlebar.please help me.thanks
sorry my english is so bad
desire1990 said:
I want to center the text in titlebar.please help me.thanks
sorry my english is so bad
Click to expand...
Click to collapse
Decompile framework-res.apk
res/layout/screen_title.xml
change this line :
Code:
<TextView android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
to this :
Code:
<TextView android:gravity="[COLOR="Red"]center[/COLOR]" android:id="@id/title" android:background="@null" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
thank!!
Vesavoj said:
Decompile framework-res.apk
res/layout/screen_title.xml
change this line :
Code:
<TextView android:gravity="center_vertical" android:id="@id/title" android:background="@null" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
to this :
Code:
<TextView android:gravity="[COLOR="Red"]center[/COLOR]" android:id="@id/title" android:background="@null" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
Click to expand...
Click to collapse
thank u so much!!! <3
---------- Post added at 01:55 AM ---------- Previous post was at 01:39 AM ----------
I tried, but failed :crying:
Dynamic Status Bar (JB 4.2)
TESTED and is 100% working on GSmart Aku A1 and Stock Rom Lenovo a369i Row Lite S008 Deodexed
Original tutorial here: MOD Edit :- Links Removed
-----------------------------------------------------
Requirements:
Apktool version 1.52
01.DECOMPILE Settings.apk
02.Copy and merge all files from folder Settings in Settings.apk (after decompile)
03.Open and paste the following code in res/values/strings.xml (before </resources>)
<string name="dynamic_status_bar_title">Dynamic status bar</string>
<string name="dynamic_status_bar_color_title">Dynamic status bar color</string>
<string name="dynamic_status_bar_color_summary">Automatically update background color of the status bar</string>
<string name="dynamic_status_bar_gradient_title">Gradient</string>
<string name="dynamic_status_bar_gradient_summary">Overlay a gradient on the status bar</string>
<string name="dynamic_status_bar_filter_title">Darkening</string>
<string name="dynamic_status_bar_filter_summary">Overlay a darkening filter on the status bar</string>
(Save)
04.Open and paste this code in res/xml/display_settings.xml : <PreferenceCategory androidersistent="false" android:title="@string/display_personalize" android:key="display_personalize">
<PreferenceScreen android:title="@string/dynamic_status_bar_title" android:fragment="com.android.settings.oplosandev.DSBSettings" />
</PreferenceCategory>
(Save)
05.RECOMPILE Settings.apk & DECOMPILE again to edit some public ids.
06.Open public.xml in res/values/public.xml and find "deuge_dsb_settings". Copy that id.
07.Open DSBSettings.smali in folder smali/com/android/settings/oplosandev. Find const v0, 0x7f060052 and replace with id which you copied earlier.
08.Save & RECOMPILE
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
09.DECOMPILE SystemUI.apk
10.Merge folder SystemUI with SystemUI.apk (after decompile)
11.Open and paste the following code in res/values/ids.xml (before </resources>)
<item type="id" name="dynamic_status_bar_color">false</item>
<item type="id" name="dynamic_status_bar_filter">false</item>
<item type="id" name="dynamic_status_bar_gradient">false</item>
<item type="id" name="dynamic_status_bar_lockscreen_filter">false</item>
(Save)
12.Open gemini_status_bar in res\layout. Find android:background="@drawable/status_bar_background". Replace this way: android:background="#00000000"
13.Add this code in the begining of the script: xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.fmd.statusbarcolor.color android:id="@id/dynamic_status_bar_color" android:layout_width="fill_parent" android:layout_height="fill_parent">
<View android:id="@id/dynamic_status_bar_filter" android:background="#30000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<View android:id="@id/dynamic_status_bar_gradient" android:background="@drawable/dynamic_status_bar_drawable_gradient" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.fmd.statusbarcolor.color>
<View android:id="@id/dynamic_status_bar_lockscreen_filter" android:background="#83000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
14.RECOMPILE SystemUI.apk & DECOMPILE again to edit some public ids.
15.DECOMPILE using your ROM framework-res.apk and open public.xml in res/values. Find "status_bar_height" and copy that id. If you can't find it: go to res/values, open dimens.xml, add a new dimension with this id (status_bar_height), set dimension to 25dip (or you will get a buggy tinting, but this number may differ so test more dimensions until it works because this is the height of the part which will be scanned to get the color) then compile and recompile and try to get the id.
16.Open color.smali in systemui/smali/com/fmd/statusbarcolor. Find const v4, 0x105000c and replace with the id which you copied earlier.
17.Open public.xml in res/values. Find and copy this ids:
"dynamic_status_bar_color"
"dynamic_status_bar_filter"
"dynamic_status_bar_gradient"
18.Open color.smali in systemui/smali/com/fmd/statusbarcolor. Find and replace ids:
const v0, 0x7f08012b ("dynamic_status_bar_color") - ada 2 -
const v0, 0x7f08012c ("dynamic_status_bar_filter") - ada 2 -
const v0, 0x7f08012d ("dynamic_status_bar_gradient") - ada 2 -
(Save)
19.RECOMPILE, SIGN, PUSH (Settings.apk & SystemUI.apk) in /system/app & set permissions to rw-r-r & reboot.
20.Go to Dynamic Status Bar opening Settings > Display settings > Dynamic Status Bar.
CREDIT: Alex & rK
http://the-daffi.blogspot.ro/2015/11/guide-tutorial-buat-dinamic-statusbar.html?m=1
Translated by minealex2244 (I'm not Indonesian, I'm Romanian ) from indonesian.
P. S. I added a line in original guide to fix an error and an important note reffering to status_bar_height which is important.
Don't expect miracles I'm only 17 years old
Would give it a shot. I am on TW Samsung rom and I guess the concept is still the same, exept some changes in resources
Sent from my SM-N920I using Tapatalk
Sir would you please make an auto tint guide for gb roms?thanks.
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10
hi i cant find oplosandev in my settings.what should i do?'
thanks
pro1001 said:
hi i cant find oplosandev in my settings.what should i do?'
thanks
Click to expand...
Click to collapse
Hi! Sorry but I was inactive a time oplosandev in in attachment, just add it in your settings.
zhaozihanzzh said:
Sir would you please make an auto tint guide for gb roms?thanks.
Android小楼阁-QQ群 439637151
来自搭载Android 2.3 GingerBread的华为Y220-T10
Click to expand...
Click to collapse
Sorry but GB doesn't support auto tinting.
minealex2244 said:
Sorry but GB doesn't support auto tinting.
Click to expand...
Click to collapse
You're welcome.I found another guidehttp://forum.xda-developers.com/android/general/how-to-tinted-status-bar-using-app-t3048978 can tint GB status bar,it needs to replace app package and hex color.
Sorry for my bad english.
来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁
zhaozihanzzh said:
You're welcome.I found another guidehttp://forum.xda-developers.com/android/general/how-to-tinted-status-bar-using-app-t3048978 can tint GB status bar,it needs to replace app package and hex color.
Sorry for my bad english.
来自华为荣耀畅玩4C CHM-TL00H -天生急性子 Android 小楼阁
Click to expand...
Click to collapse
That's cool. I didn't know that GB got this awesome feature . And your english is very good
cant find This Ids
17.Open public.xml in res/values. Find and copy this ids:
"dynamic_status_bar_color"
"dynamic_status_bar_filter"
"dynamic_status_bar_gradient"
18.Open color.smali in systemui/smali/com/fmd/statusbarcolor. Find and replace ids:
const v0, 0x7f08012b ("dynamic_status_bar_color") - ada 2 -
const v0, 0x7f08012c ("dynamic_status_bar_filter") - ada 2 -
const v0, 0x7f08012d ("dynamic_status_bar_gradient") - ada 2 -
i cant find These Ids and when i compile and decompile i dont find the smali folder
TheBlackCoder7 said:
17.Open public.xml in res/values. Find and copy this ids:
"dynamic_status_bar_color"
"dynamic_status_bar_filter"
"dynamic_status_bar_gradient"
18.Open color.smali in systemui/smali/com/fmd/statusbarcolor. Find and replace ids:
const v0, 0x7f08012b ("dynamic_status_bar_color") - ada 2 -
const v0, 0x7f08012c ("dynamic_status_bar_filter") - ada 2 -
const v0, 0x7f08012d ("dynamic_status_bar_gradient") - ada 2 -
i cant find These Ids and when i compile and decompile i dont find the smali folder
Click to expand...
Click to collapse
Please use Apktool v1.5.2, import framework-res from /system/framework plus mediatek-res.apk.
It's simple to find the IDs, just follow my guide and you will learn something new
how can i immplement or add option or app into SecSettings.apk with android 6.0.1
awadh730 said:
how can i immplement or add option or app into SecSettings.apk with android 6.0.1
Click to expand...
Click to collapse
Adding a new option in TW 6.0 Settings is really hard and I never tested that. There are some tutorials on XDA of how to add (link) an app in Settings and for new options if you search how to add new options in settings on XDA you will find what you need (this task is for devs only because is about adding features). Hope it helps
I'll stop supporting this thread as I no longer have a device to test this feature.