FORUMS

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh … more

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more
Post Reply Subscribe to Thread Email Thread

HTC Calendar Colors

27th May 2010, 11:51 AM |#31  
Member
Thanks Meter: 12
 
More
Somebody modified manilla file from Manilla 2.5.2012 ??
 
 
27th May 2010, 12:02 PM |#32  
Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by geralt

Hi everybody,

I resolved the problem with colored weekends days for Manila 2.5.1921.1619.0 in my HD2 (ROM 1.48.479.1 (71294) WWE).

I modified manila files from "Colored Calendar Tab.cab".

Just download / unzip / copy to "Windows" folder in your HD2 with Manila 2.5.1921.1619.0 and enjoy.

It's work in my HD2. See sreenshots.

P.S.: When I will learn how to create "CAB" file I will do it in CAB

Hi, geralt....

Is there any way for manila 2.5.1920? Thanks in advance...
27th May 2010, 01:02 PM |#33  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
More
I think that yes.

In “Windows” folder in your HD2 find manila files “6f3f0c16_manila” and “071b4c9a_manila”. This two files you have to decompile using luadec.exe - you may find it here (SztupY thank you for this tool). Then :

1) In “071b4c9a_manila” file find following line :
1.1) “CalendarConsts.YearView_SaturdayColor = Color(128, 128, 128, 255)”
1.2) “CalendarConsts.YearView_SundayColor = Color(128, 128, 128, 255)” where change the first three numbers (it is RGB color scheme).

In my case I changed its for :
- “CalendarConsts.YearView_SaturdayColor” from “128, 128, 128” to “1, 93, 191” (light blue)
- “CalendarConsts.YearView_SundayColor” from “128, 128, 128” to “255, 0, 0” (red)

2) In “6f3f0c16_manila” file find following lines :

2.1) “MonthClass.CreateCalendar = function(l_24_0, l_24_1)” where after line “for l_24_27 = 0, 6 do” add this :


if l_24_0.Sunday then
weekendtext = Locale:GetString("IDS_CALENDAR_WEEK_" .. l_24_27)
else
mfdow = l_24_27 + 1
if mfdow == 7 then
mfdow = 0
end
weekendtext = Locale:GetString("IDS_CALENDAR_WEEK_" .. mfdow)
end


2.2) “MonthClass.initMonthDayText = function(l_27_0, l_27_1, l_27_2, l_27_3)” where after line “l_27_4.HorizontalAlignment = Alignment_HorizontalCenter” add this :

if weekendtext == "Sat" then
l_27_4.Color = CalendarConsts.YearView_SaturdayColor
end
if weekendtext == "Sun" then
l_27_4.Color = CalendarConsts.YearView_SundayColor
end


Then both files compile by luac.exe, download and copy to HD2 Windows folder. That’s all.
27th May 2010, 02:10 PM |#34  
Member
Thanks Meter: 1
 
More
Dear geralt,

Thanks for your reply......

To be honest, I'm not so professional to do that, it's really complicated for me.......

Is there any easier way for me? Thanks again
27th May 2010, 03:47 PM |#35  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
More
Hi Gino

Copy two files (which I described in my previous post) from your Windows folder and attache its to this thread. I will look at it.
27th May 2010, 04:17 PM |#36  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by geralt

Hi Gino

Copy two files (which I described in my previous post) from your Windows folder and attache its to this thread. I will look at it.

What files do you neeed to make it compatible to manila version 2.5.1920.2525?
27th May 2010, 04:31 PM |#37  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
More
Quote:
Originally Posted by newhtchd2

What files do you neeed to make it compatible to manila version 2.5.1920.2525?

This manila files :
- “6f3f0c16_manila”
- “071b4c9a_manila”
27th May 2010, 05:13 PM |#38  
malhznoi's Avatar
Senior Member
Flag Jeddah
Thanks Meter: 1
 
More
http://pocketnow.com/tweaks-hacks/co...stock-sense-25
27th May 2010, 07:13 PM |#39  
francescrm's Avatar
Senior Member
Flag Barcelona
Thanks Meter: 1
 
More
Quote:
Originally Posted by geralt

Hi everybody,

I resolved the problem with colored weekends days for Manila 2.5.1921.1619.0 in my HD2 (ROM 1.48.479.1 (71294) WWE).

I modified manila files from "Colored Calendar Tab.cab".

Just download / unzip / copy to "Windows" folder in your HD2 with Manila 2.5.1921.1619.0 and enjoy.

It's work in my HD2. See sreenshots.

P.S.: When I will learn how to create "CAB" file I will do it in CAB

OK, thanks, but in my Leo only replaced "year view".
Running spanish stock 1.66 ROM and Manila 2.5.19211619.0




Rgds,
Last edited by francescrm; 27th May 2010 at 07:24 PM.
27th May 2010, 07:41 PM |#40  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
More
Quote:
Originally Posted by francescrm

OK, thanks, but in my Leo only replaced "year view".
Running spanish stock 1.66 ROM and Manila 2.5.19211619.0




Rgds,

In my Leo this files works. Maybe there are some diferencies in your "6f3f0c16_manila” file.
Post Reply Subscribe to Thread

Tags
calendar tab
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes