Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,552 Members 47,619 Now Online
XDA Developers Android and Mobile Development Forum

Android 4.3 Smali Edits Help Guide

Tip us?
 
EMSpilot
Old
(Last edited by EMSpilot; 16th January 2014 at 12:32 AM.)
#1  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1,108
Posts: 619
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Default Android 4.3 Smali Edits Help Guide

These are smali edits I found or had help finding while converting my ASU theme to Android 4.3. I will be constantly updating this OP and hope that other folks will give me there smali finds to add to this guide. Please PM me with anything you would like to add. Feel free to use anything in this OP. You don't have to ask!!!

Please don't forget to thank Gunthermic, Naddict, Rompnit and Strongsteve for all there help as well!!!

SystemUI

1. Brightness slider color animation.

 
Go to SystemUI\smali\com\android\systemui\statusbar\Anim atedBrightnessIconView.smali



Look for:

.line 73
iget-object v0, p0, Lcom/android/systemui/statusbar/AnimatedBrightnessIconView;->mPaint:Landroid/graphics/Paint;

const v1, -0x3a1f17

Change -0x3a1f17 to your desired smali color code!!!!


SecMms Messaging

1. Changing text color when searching for a contact in SecMms Messaging

 
Go To: SecMms\smali\com\android\mms\ui\RecipientsAdapter. smali



Look For:

.line 342
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 359
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 373
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 344
.restart local v22 # "span":Landroid/text/Spannable;
:cond_d
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.

Look For:

.line 361
.restart local v22 # "span":Landroid/text/Spannable;
:cond_10
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.

Look For:

.line 375
.restart local v23 # "spanNameText":Landroid/text/Spannable;
.restart local v24 # "spanNumberText":Landroid/text/Spannable;
:cond_12
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.


Gmail 4.7.2 smali finds

 
Gmail send email to text color:



Go to:

Gmail-4.7.2\smali\com\android\ex\chips\RecipientEditText View.smali

Find:

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

Insert: const v3, -0x4cf0 Of coarse changing -0x4cf0 to your smali text color code

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

INSERT HERE

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

So the finished product looks like this

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

const v3, -0x4cf0

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

Gmail list view email contents first line step one:



Go to:

Gmail-4.7.2-stock\smali\com\android\mail\browse\ConversationIt emView.smali

Look for:

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

Insert this:

const v3, -0x66FFCD Changing -0x66ffcd to your favorite smali code

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

INSERT HERE

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

So the finished product looks like this

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

const v3, -0x66FFCD

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

Gmail list view email contents first line step two:

Go to

Gmail\smali\com\android\mail\browse\ConversationIt emView.smali

Look for:

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

.line 1405

Insert this:

const v0, -0x66ffcd Changing -0x66ffcd to your favorite smali code

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

INSERT HERE

.line 1405

So the finished product looks like this:

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

const v0, -0x66FFCD

.line 1405

Gmail open email inbox background and text color



Go to:

Gmail\smali\com\google\android\gm\utils\b.smali

Look for:

.line 82
new-array v0, v4, [Ljava/lang/String;

const-string v1, "#dddddd" This is the background color

aput-object v1, v0, v5

const-string v1, "#777777" This is the text color

aput-object v1, v0, v6

Change hex color codes to your favorite color.


SamsungIME Keyboard Swipe Color:

 


Calendar Year Tab horizontal line under month

 


Go to:

\Calendar\smali\com\android\calendar\month\YearVie w.smali

Look for:

.line 1021
const v1, -0xb4b4b5

invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

and

.line 1027
:cond_b
const v1, -0xb4b4b5

invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

Change -0xb4b4b5 to your favorite smali color code


Change text color in day and week events Calendar

 




Go to:

Calendar\smali\com\android\calendar\timeline\DayLa yout$DayEventAdapter$2.smali

Look for:

.line 962
.end local v0 # "paintFlag":I
:cond_2
iget-object v3, p0, Lcom/android/calendar/timeline/DayLayout$DayEventAdapter$2;->val$holder:Lcom/android/calendar/timeline/DayLayout$ViewHolder;

iget-object v3, v3, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v5, -0x1000000

invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v5, -0x1000000 to const v3, -0x1000000 then change -0x1000000 to your favorite smali color code.

Go to:

Calendar\smali\com\android\calendar\timeline\DayLa yout$DayEventAdapter.smali

Look for:

.line 1007
iget-object v6, p2, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v7, -0x1000000

invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v7, -0x1000000 to const v7, -0x1000000 then change -0x1000000 to your favorite smali color code

Look for:

.line 940
:cond_8
iget-object v3, p2, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v4, -0x1000000

invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v4, -0x1000000 to const v4, -0x1000000 then change -0x1000000 to your favorite smali color code

Go to:

Calendar\smali\com\android\calendar\timeline\Event ListWithStartTime.smali

Look for:

.line 107
iget-object v1, p0, Lcom/android/calendar/timeline/EventListWithStartTime;->mListView:Landroid/widget/ListView;

new-instance v2, Landroid/graphics/drawable/ColorDrawable;

const/high16 v3, -0x1000000

invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

Change const/high16 v3, -0x1000000 to const v3, -0x1000000 then change -0x100000 to your favorite smali color code

Go to:

Calendar\smali\com\android\calendar\timeline\WeekL ayout$WeekEventAdapter.smali

Look for:

.line 1342
iget-object v6, p2, Lcom/android/calendar/timeline/WeekLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v7, -0x1000000

invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v7, -0x1000000 to const v7, -0x1000000 then change -0x1000000 to your favorite smali color code

Look for:

.line 1299
:goto_4
iget-object v2, p2, Lcom/android/calendar/timeline/WeekLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v3, -0x1000000

invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v3, -0x1000000 to const v3, -0x1000000 then change -0x1000000 to your favorite smali color code
Attached Thumbnails
Click image for larger version

Name:	brightness-animation.png
Views:	163
Size:	7.3 KB
ID:	2517855   Click image for larger version

Name:	Screenshot_2014-01-15-11-48-46.png
Views:	168
Size:	100.6 KB
ID:	2517869   Click image for larger version

Name:	Screenshot_2014-01-15-12-57-45.png
Views:	166
Size:	77.7 KB
ID:	2518022   Click image for larger version

Name:	Screenshot_2014-01-15-12-51-48.png
Views:	170
Size:	133.8 KB
ID:	2518107   Click image for larger version

Name:	Screenshot_2014-01-15-13-46-16.png
Views:	168
Size:	84.3 KB
ID:	2518179  

Click image for larger version

Name:	Screenshot_2014-01-15-14-28-52.jpg
Views:	157
Size:	197.1 KB
ID:	2518334   Click image for larger version

Name:	Screenshot_2014-01-15-15-29-36.png
Views:	154
Size:	147.4 KB
ID:	2518414   Click image for larger version

Name:	Screenshot_2014-01-15-15-29-47.png
Views:	152
Size:	184.0 KB
ID:	2518415  


- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors
The Following 5 Users Say Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
 
EMSpilot
Old
(Last edited by EMSpilot; 15th January 2014 at 06:57 PM.)
#2  
EMSpilot's Avatar
Recognized Themer - OP
Thanks Meter 1,108
Posts: 619
Join Date: May 2012
Location: Havasu

 
DONATE TO ME
Default Android 4.3 Smali Edits Help Guide

Just in Case!!


- - - - - - - - - - - - - - - - - - - - -

Device: Verizon GS5 SM-G900V & Tab S 8.4
Modem: G900VOYU1ANCG
ROM:MY OWN BUILD BASED OFF KOT49H.G900VOYU1ANCD FULLY DEODEXED
Nova Launcher 3.0.2 THEMED BY ME


- - - - - - - - - - - - - - - - - - - - -

ASU Sun Devil Theme & Alum!!!
Purple Green Jelly Bean Theme
MOAR MA6 Text Colors
The Following User Says Thank You to EMSpilot For This Useful Post: [ Click to Expand ]
 
Naddict
Old
#3  
Naddict's Avatar
Senior Member
Thanks Meter 13,801
Posts: 8,518
Join Date: Nov 2011
Location: 28.2S, 92.1W
Mine
 
sbreen94
Old
#4  
sbreen94's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 17,886
Posts: 4,450
Join Date: Apr 2012

 
DONATE TO ME
Nice finds bud, very neat
The Following User Says Thank You to sbreen94 For This Useful Post: [ Click to Expand ]
 
rompnit
Old
#5  
rompnit's Avatar
Recognized Contributor / Themer
Thanks Meter 16,655
Posts: 2,760
Join Date: Aug 2008
Location: Granger, IN

 
DONATE TO ME
I need one too!! Nice EMS!
The Following User Says Thank You to rompnit For This Useful Post: [ Click to Expand ]
 
Gunthermic
Old
#6  
Gunthermic's Avatar
Recognized Contributor / Themer
Thanks Meter 8,185
Posts: 3,009
Join Date: Mar 2011

 
DONATE TO ME
Nice to see someone take time to put it together.

I see a lot of smali edits I have been using for a while. Just never have time to write it all down,...


Reserved, cuz I do a ton of smali edits....


Wanna Chat? Looking for theming advice, answers..
Join me at -> guntherm66@gmail.com Use Gtalk to Join!
Team BlackOut Email: teamblackoutapps@gmail.com
Average Joes Team Memebers: Me, jonathanphx1, dan_joegibbsf, strongsteve
Team BlackOut Memebers: Me, B-Boy, DJ, Trapv and more
 
strongsteve
Old
#7  
strongsteve's Avatar
Recognized Themer
Thanks Meter 16,613
Posts: 5,127
Join Date: Apr 2008
Location: Dallas, TX

 
DONATE TO ME
There goes all my trade secrets..lol
"ANY DAY THAT GOOGLE DOESNT UPDATE SOMETHING IS A GOOD DAY"

 
Gunthermic
Old
#8  
Gunthermic's Avatar
Recognized Contributor / Themer
Thanks Meter 8,185
Posts: 3,009
Join Date: Mar 2011

 
DONATE TO ME
Quote:
Originally Posted by strongsteve View Post
There goes all my trade secrets..lol
Yup... once released in an apk.. all free game.. hahaha.

You have no stinking secrets... I am Robocop.. put down your smali...


Wanna Chat? Looking for theming advice, answers..
Join me at -> guntherm66@gmail.com Use Gtalk to Join!
Team BlackOut Email: teamblackoutapps@gmail.com
Average Joes Team Memebers: Me, jonathanphx1, dan_joegibbsf, strongsteve
Team BlackOut Memebers: Me, B-Boy, DJ, Trapv and more
The Following User Says Thank You to Gunthermic For This Useful Post: [ Click to Expand ]
 
EMINEM786
Old
#9  
EMINEM786's Avatar
Senior Member
Thanks Meter 40
Posts: 170
Join Date: Oct 2013
Location: mumbai

 
DONATE TO ME
thanks
Quote:
Originally Posted by EMSpilot View Post
These are smali edits I found or had help finding while converting my ASU theme to Android 4.3. I will be constantly updating this OP and hope that other folks will give me there smali finds to add to this guide. Please PM me with anything you would like to add. Feel free to use anything in this OP. You don't have to ask!!!

Please don't forget to thank Gunthermic, Naddict, Rompnit and Strongsteve for all there help as well!!!

SystemUI

1. Brightness slider color animation.

 
Go to SystemUI\smali\com\android\systemui\statusbar\Anim atedBrightnessIconView.smali



Look for:

.line 73
iget-object v0, p0, Lcom/android/systemui/statusbar/AnimatedBrightnessIconView;->mPaint:Landroid/graphics/Paint;

const v1, -0x3a1f17

Change -0x3a1f17 to your desired smali color code!!!!


SecMms Messaging

1. Changing text color when searching for a contact in SecMms Messaging

 
Go To: SecMms\smali\com\android\mms\ui\RecipientsAdapter. smali



Look For:

.line 342
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 359
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 373
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xff852e and change it to your desired smali color code.

Look For:

.line 344
.restart local v22 # "span":Landroid/text/Spannable;
:cond_d
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.

Look For:

.line 361
.restart local v22 # "span":Landroid/text/Spannable;
:cond_10
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.

Look For:

.line 375
.restart local v23 # "spanNameText":Landroid/text/Spannable;
.restart local v24 # "spanNumberText":Landroid/text/Spannable;
:cond_12
new-instance v27, Landroid/text/style/ForegroundColorSpan;

const v28, -0xcc4a16 and change it to your desired smali color code.


Gmail 4.7.2 smali finds

 
Gmail send email to text color:



Go to:

Gmail-4.7.2\smali\com\android\ex\chips\RecipientEditText View.smali

Find:

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

Insert: const v3, -0x4cf0 Of coarse changing -0x4cf0 to your smali text color code

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

INSERT HERE

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

So the finished product looks like this

move-result-object v3

const v4, 0x106000c

invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

const v3, -0x4cf0

invoke-virtual {v7, v3}, Landroid/text/TextPaint;->setColor(I)V

Gmail list view email contents first line step one:



Go to:

Gmail-4.7.2-stock\smali\com\android\mail\browse\ConversationIt emView.smali

Look for:

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

Insert this:

const v3, -0x66FFCD Changing -0x66ffcd to your favorite smali code

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

INSERT HERE

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

So the finished product looks like this

.line 421
new-instance v0, Landroid/text/style/ForegroundColorSpan;

const v3, 0x7f080029

invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

move-result v3

const v3, -0x66FFCD

invoke-direct {v0, v3}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

Gmail list view email contents first line step two:

Go to

Gmail\smali\com\android\mail\browse\ConversationIt emView.smali

Look for:

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

.line 1405

Insert this:

const v0, -0x66ffcd Changing -0x66ffcd to your favorite smali code

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

INSERT HERE

.line 1405

So the finished product looks like this:

.line 1404
sget-object v0, Lcom/android/mail/browse/ConversationItemView;->aOX:Landroid/text/TextPaint;

iget-object v1, p0, Lcom/android/mail/browse/ConversationItemView;->aPi:Lcom/android/mail/browse/K;

iget-object v1, v1, Lcom/android/mail/browse/K;->GO:Lcom/android/mail/providers/Conversation;

iget v1, v1, Lcom/android/mail/providers/Conversation;->color:I

invoke-virtual {v0, v1}, Landroid/text/TextPaint;->setColor(I)V

const v0, -0x66FFCD

.line 1405

Gmail open email inbox background and text color



Go to:

Gmail\smali\com\google\android\gm\utils\b.smali

Look for:

.line 82
new-array v0, v4, [Ljava/lang/String;

const-string v1, "#dddddd" This is the background color

aput-object v1, v0, v5

const-string v1, "#777777" This is the text color

aput-object v1, v0, v6

Change hex color codes to your favorite color.


SamsungIME Keyboard Swipe Color:

 


Calendar Year Tab horizontal line under month

 


Go to:

\Calendar\smali\com\android\calendar\month\YearVie w.smali

Look for:

.line 1021
const v1, -0xb4b4b5

invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

and

.line 1027
:cond_b
const v1, -0xb4b4b5

invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

Change -0xb4b4b5 to your favorite smali color code


Change text color in day and week events Calendar

 




Go to:

Calendar\smali\com\android\calendar\timeline\DayLa yout$DayEventAdapter$2.smali

Look for:

.line 962
.end local v0 # "paintFlag":I
:cond_2
iget-object v3, p0, Lcom/android/calendar/timeline/DayLayout$DayEventAdapter$2;->val$holder:Lcom/android/calendar/timeline/DayLayout$ViewHolder;

iget-object v3, v3, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v5, -0x1000000

invoke-virtual {v3, v5}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v5, -0x1000000 to const v3, -0x1000000 then change -0x1000000 to your favorite smali color code.

Go to:

Calendar\smali\com\android\calendar\timeline\DayLa yout$DayEventAdapter.smali

Look for:

.line 1007
iget-object v6, p2, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v7, -0x1000000

invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v7, -0x1000000 to const v7, -0x1000000 then change -0x1000000 to your favorite smali color code

Look for:

.line 940
:cond_8
iget-object v3, p2, Lcom/android/calendar/timeline/DayLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v4, -0x1000000

invoke-virtual {v3, v4}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v4, -0x1000000 to const v4, -0x1000000 then change -0x1000000 to your favorite smali color code

Go to:

Calendar\smali\com\android\calendar\timeline\Event ListWithStartTime.smali

Look for:

.line 107
iget-object v1, p0, Lcom/android/calendar/timeline/EventListWithStartTime;->mListView:Landroid/widget/ListView;

new-instance v2, Landroid/graphics/drawable/ColorDrawable;

const/high16 v3, -0x1000000

invoke-direct {v2, v3}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

Change const/high16 v3, -0x1000000 to const v3, -0x1000000 then change -0x100000 to your favorite smali color code

Go to:

Calendar\smali\com\android\calendar\timeline\WeekL ayout$WeekEventAdapter.smali

Look for:

.line 1342
iget-object v6, p2, Lcom/android/calendar/timeline/WeekLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v7, -0x1000000

invoke-virtual {v6, v7}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v7, -0x1000000 to const v7, -0x1000000 then change -0x1000000 to your favorite smali color code

Look for:

.line 1299
:goto_4
iget-object v2, p2, Lcom/android/calendar/timeline/WeekLayout$ViewHolder;->titleView:Landroid/widget/TextView;

const/high16 v3, -0x1000000

invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

Change const/high16 v3, -0x1000000 to const v3, -0x1000000 then change -0x1000000 to your favorite smali color code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes