[Galaxy S II Android Development] remuntada78:
I was also able to implement the changecolor for the brightness backgroung in the same way for the statusbar_expanded,

now the challenge is for ongoing notification background and notification background.

These are controlled by these code in PhoneStatusBar.smali

for ongoing

move-result-object v15

if-nez v15, :cond_e

.line 1426
const v15, 0x3f7d70a4

invoke-virtual {v14, v15}, Landroid/view/View;->setAlpha(F)V

.line 1427
[COLOR="Red"]const/high16 v15, -0x100[/COLOR]

invoke-virtual {v14, v15}, Landroid/view/View;->setBackgroundColor(I)V

.line 1428
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/systemui/statusbar/BaseStatusBar;->mOngoingNotifications:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

invoke-virtual {v15, v14, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V

and for notification

.line 1435
const v15, 0x3f7d70a4

invoke-virtual {v14, v15}, Landroid/view/View;->setAlpha(F)V

.line 1436
[COLOR="Red"] const/high16 v15, -0x100[/COLOR]

invoke-virtual {v14, v15}, Landroid/view/View;->setBackgroundColor(I)V

.line 1437
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/systemui/statusbar/BaseStatusBar;->mLatestNotifications:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

invoke-virtual {v15, v14, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V

So I thought that the solution is create a new method for each like this

.method setOnGoingBGColor()V
.locals 3

iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "ongoing_bg_color"

const v3, -0x100

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

iput v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mOnGoingBGColor:I

return-void
.end method

Then change this

.line 1426
const v15, 0x3f7d70a4

invoke-virtual {v14, v15}, Landroid/view/View;->setAlpha(F)V

.line 1427
[COLOR="Red"]const/high16 v15, -0x100[/COLOR]

invoke-virtual {v14, v15}, Landroid/view/View;->setBackgroundColor(I)V

.line 1428
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/systemui/statusbar/BaseStatusBar;->mOngoingNotifications:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

invoke-virtual {v15, v14, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V

to this

.line 1426
const v15, 0x3f7d70a4

invoke-virtual {v14, v15}, Landroid/view/View;->setAlpha(F)V

.line 1427
[COLOR="Red"]iget v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mOnGoingBGColor:I[/COLOR]

invoke-virtual {v14, v15}, Landroid/view/View;->setBackgroundColor(I)V

.line 1428
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/systemui/statusbar/BaseStatusBar;->mOngoingNotifications:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

invoke-virtual {v15, v14, v4}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V

and do the same for notification. Is the right way?

thanks in advance