SE-NSE Forums:

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

C901 Large Clock Position And Layout.xml

#1 User is offline   Sam Lowry Icon

  • n00b
  • Group: Members
  • Posts: 15
  • Joined: 16-October 09

Posted 18 October 2009 - 07:52 AM

In "Settings -> Display -> Clock SIze" I can set "Large Clock".
In this mode the clock overlaps with Alarm and Date labels.
How to tweak layout_main.xml in order to shift the "Large Clock" few pixels up?

This post has been edited by Sam Lowry: 18 October 2009 - 03:10 PM

0

#2 User is offline   Kaosblade Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,423
  • Joined: 31-January 09
  • Gender:Male
  • Location:London
  • Mobile:K550 @ W610 | W595 | MS410 | HPM-77
  • Twitter:kaosblade
  • Tutorials Submitted:2

Posted 18 October 2009 - 08:30 AM

Use this to edit your layout_main.xml which is in TPA > SYSTEM > LAYOUT.

SELE - Sony Ericsson Layout Editor by codeclaw. ;) Fairly easy.
0

#3 User is offline   Sam Lowry Icon

  • n00b
  • Group: Members
  • Posts: 15
  • Joined: 16-October 09

Posted 18 October 2009 - 09:07 AM

I've tried this but there seems to be an issue, perhaps specific to C901 or DB3210.
I can't open the layout file. Here is a snippet of SELE log:
[12:12:47:46] +++++++++++++++++++++++++++
[12:12:47:46] Layout loaded in 171 milliseconds.
[12:12:47:46] Error while loading layout, unsupported/corrupt layout file
[12:12:47:78] Error in module [bu_load_Click]. Error message is as follows:
[12:12:47:78] Index was outside the bounds of the array.
[12:12:47:78] Source:
[12:12:47:78] PureResources

I got this error on NON-MODIFIED layout_main.xml.

"Sony Ericsson Layout Editor" is a really convenient application (thanks to codeclaw) but I do prefer manual xml tweaking. So, any low level info concerning my question will be appreciated!

This post has been edited by Sam Lowry: 18 October 2009 - 03:08 PM

0

#4 User is offline   Kaosblade Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,423
  • Joined: 31-January 09
  • Gender:Male
  • Location:London
  • Mobile:K550 @ W610 | W595 | MS410 | HPM-77
  • Twitter:kaosblade
  • Tutorials Submitted:2

Posted 18 October 2009 - 06:03 PM

Try posting this issue on the Codeclaw support forums, or PM one of the codeclaw team. ;)
0

#5 User is offline   Sam Lowry Icon

  • n00b
  • Group: Members
  • Posts: 15
  • Joined: 16-October 09

Posted 19 October 2009 - 01:26 PM

View PostKaosblade, on 2009-10-18 19:11, said:

Try posting this issue on the Codeclaw support forums, or PM one of the codeclaw team. ;)

This appears to be a known issue as reported on CodeClaw's support forum. A new version is under development.
0

#6 User is offline   Sam Lowry Icon

  • n00b
  • Group: Members
  • Posts: 15
  • Joined: 16-October 09

Posted 20 October 2009 - 07:47 AM

View PostSam Lowry, on 2009-10-18 08:00, said:

In "Settings -> Display -> Clock SIze" I can set "Large Clock".
In this mode the clock overlaps with Alarm and Date labels.
How to tweak layout_main.xml in order to shift the "Large Clock" few pixels up?


I found the answer. For anyone who is interested:
layout_main.xml, line 571:

Old value:
<attr value="0"/> <attr value="240"/> <attr value="177"/> <attr value="277"/> <attr value="0"/> <!-- L 24h time -->

New value:
<attr value="0"/> <attr value="240"/> <attr value="138"/> <attr value="238"/> <attr value="0"/> <!-- L 24h time -->

0

#7 User is offline   idumbakumar Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 806
  • Joined: 04-July 07
  • Gender:Male
  • Location:chennai,india
  • Mobile:k810i,W995,Satio
  • Tutorials Submitted:2

Posted 20 October 2009 - 08:34 AM

those are all co-ordinates X1,X2 and Y1,Y2
like a square box.
and the maximum screen resolution is 240x320
the values cannot exceed 240 and 320. ya it can but the element will go out the screen.
u can use -ve values as well.
in order to fit the elements into the position we can use the exceeded or -ve values.
0

SE-NSE

#8 User is offline   Sam Lowry Icon

  • n00b
  • Group: Members
  • Posts: 15
  • Joined: 16-October 09

Posted 21 October 2009 - 07:00 AM

View Postidumbakumar, on 2009-10-20 08:42, said:

those are all co-ordinates X1,X2 and Y1,Y2
like a square box.
and the maximum screen resolution is 240x320
the values cannot exceed 240 and 320. ya it can but the element will go out the screen.
u can use -ve values as well.
in order to fit the elements into the position we can use the exceeded or -ve values.


What is "-ve"?
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users