Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,866 Members 51,321 Now Online
XDA Developers Android and Mobile Development Forum

HTC Calendar Colors

Tip us?
 
markusbrutus73
Old
#31  
Member
Thanks Meter 9
Posts: 60
Join Date: Mar 2010
Somebody modified manilla file from Manilla 2.5.2012 ??
 
Gino14
Old
#32  
Member
Thanks Meter 1
Posts: 98
Join Date: Nov 2008
Quote:
Originally Posted by geralt View Post
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...
 
geralt
Old
#33  
geralt's Avatar
Senior Member
Thanks Meter 18
Posts: 102
Join Date: Aug 2007
Location: Kladno
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.
Samsung Galaxy S4 mini (Samsung GT-I9195, PDA: I9195XXUAMH3)
Samsung Galaxy SIII mini (Samsung GT-I8190)
Samsung Galaxy Tab 10.1 WiFi (Samsung GT-P7510)
HTC HD2 - SDHC 16GB
HTC Kaiser - SDHC 8GB
HTC Charmer - SD 4GB
 
Gino14
Old
#34  
Member
Thanks Meter 1
Posts: 98
Join Date: Nov 2008
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
 
geralt
Old
#35  
geralt's Avatar
Senior Member
Thanks Meter 18
Posts: 102
Join Date: Aug 2007
Location: Kladno
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.
Samsung Galaxy S4 mini (Samsung GT-I9195, PDA: I9195XXUAMH3)
Samsung Galaxy SIII mini (Samsung GT-I8190)
Samsung Galaxy Tab 10.1 WiFi (Samsung GT-P7510)
HTC HD2 - SDHC 16GB
HTC Kaiser - SDHC 8GB
HTC Charmer - SD 4GB
 
newhtchd2
Old
#36  
Member
Thanks Meter 0
Posts: 50
Join Date: May 2010
Quote:
Originally Posted by geralt View Post
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?
 
geralt
Old
#37  
geralt's Avatar
Senior Member
Thanks Meter 18
Posts: 102
Join Date: Aug 2007
Location: Kladno
Quote:
Originally Posted by newhtchd2 View Post
What files do you neeed to make it compatible to manila version 2.5.1920.2525?
This manila files :
- “6f3f0c16_manila”
- “071b4c9a_manila”
Samsung Galaxy S4 mini (Samsung GT-I9195, PDA: I9195XXUAMH3)
Samsung Galaxy SIII mini (Samsung GT-I8190)
Samsung Galaxy Tab 10.1 WiFi (Samsung GT-P7510)
HTC HD2 - SDHC 16GB
HTC Kaiser - SDHC 8GB
HTC Charmer - SD 4GB
 
malhznoi
Old
#38  
malhznoi's Avatar
Senior Member
Thanks Meter 1
Posts: 549
Join Date: Dec 2009
Location: Jeddah
http://pocketnow.com/tweaks-hacks/co...stock-sense-25
Samsung Galaxy Note 3
 
francescrm
Old
(Last edited by francescrm; 27th May 2010 at 07:24 PM.)
#39  
francescrm's Avatar
Senior Member
Thanks Meter 1
Posts: 201
Join Date: Mar 2008
Location: Barcelona
Quote:
Originally Posted by geralt View Post
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,
 
geralt
Old
#40  
geralt's Avatar
Senior Member
Thanks Meter 18
Posts: 102
Join Date: Aug 2007
Location: Kladno
Quote:
Originally Posted by francescrm View Post
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.
Samsung Galaxy S4 mini (Samsung GT-I9195, PDA: I9195XXUAMH3)
Samsung Galaxy SIII mini (Samsung GT-I8190)
Samsung Galaxy Tab 10.1 WiFi (Samsung GT-P7510)
HTC HD2 - SDHC 16GB
HTC Kaiser - SDHC 8GB
HTC Charmer - SD 4GB

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

Advanced Search
Display Modes