[General Questions and Answers] joel2009:
Moving the Chromium Lock Slider

Most of the Hacks for Titanium will come from the ".cpr" files found in the windows directory. Cpr files are simply xml files (and to edit them you will simply need to rename them to .xml, use an .xml editor, and then rename them back to .cpr) ....or you can of course just use the "right-click open as" and open them with word pad, microsoft xml editor, ect.

In Quote from drkfngthdragnlrd,

If you want to make things simple You can grab the attachment to this post and copy paste it into your Windows Directory on your ppc.

.....but if you prefer to get down and dirty, everything is explained below:

If you want a more full synopsis on cpr files before we start you can find it here.

In this specific Tweak you will want to find the CPR file named LS_LockScene[your resolution here].cpr Once you have it in your XML Editor you will want to find these Keys:

<Slider ID="LockSlider" Top="3" Left="24" Width="192" Height="40" Orientation="Middle" OnPress="ShowNotifications" OnSlideLeftFinal="Unlock" OnSlideRightFinal="Unlock" >

<Text ID="TapOrSlide" Top="45" Left="90" Width="60" Height="12" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">

<Text ID="SlideToUnlock" Top="45" Left="90" Width="60" Height="12" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">

<LockScreenListView ID="Notifications List" Top="51" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">

These are not the slider itself but will be in the way of where you are trying to move the slider and will need to also be moved:

<LockScreenListView ID="Notifications List" Top="51" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">

<Text ID="DateText" Left="150" Top="17" Width="90" Height="19" FontFamily="Tahoma" FontSize="11" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >

<Layer ID="Appointment" Left="5" Top="50" OnInitComplete="Binding:LockScreen,LS_Appointment">
<Image Width="37" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\icn_cal_up.png"/>
<Text ID="Subject" Left="40" Width="180" Height="17" FontFamily="Tahoma" FontSize="10" FontStyle="Bold" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Time" Left="40" Top="18" Width="180" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Location" Left="40" Top="34" Width="180" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>

For a QVGA Device you will want to change them to this (to have my set-up):

<Slider ID="LockSlider" Top="250" Left="24" Width="192" Height="40" Orientation="Middle" OnPress="ShowNotifications" OnSlideLeftFinal="Unlock" OnSlideRightFinal="Unlock" >

<Text ID="TapOrSlide" Top="234" Left="90" Width="60" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18150">

<Text ID="SlideToUnlock" Top="234" Left="90" Width="60" Height="16" FontFamily="Tahoma" FontSize="9" Wrap="False" HorizontalAlignment="Center" VerticalAlignment="Middle" InnerTextType="Resource" Text="shellresapps.dll,18149">

<LockScreenListView ID="Notifications List" Top="188" Left="9" Width="222" Height="235" Columns="1" Rows="4" ItemWidth="222" ItemHeight="46" OnInitComplete="Binding:LockScreen,LS_Notifications">

<Layer ID="TimeX" Top="3">
<Image ID="TimeBG" Width="240" Height="52" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\LS_TimeBG.png"/>

<Text ID="DateText" Left="150" Top="17" Width="90" Height="19" FontFamily="Tahoma" FontSize="10" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Opacity="1.0" >

<Layer ID="AppointmentX" Left="29" Top="57">
<Layer ID="Appointment">
<ActiveIcon ID="Display Appointment" OnInitComplete="Binding:LockScreen,LS_Appointment">
<Image Width="32" Height="32" Visible="True" Opacity="1.0" ScalingAlgorithm = "TriLinear" Source="\windows\icn_cal_up.png"/>
<Text ID="Subject" Left="34" Top="2" Width="150" Height="17" FontFamily="Tahoma" FontSize="10" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Time" Left="34" Top="34" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
<Text ID="Location" Left="34" Top="20" Width="150" Height="15" FontFamily="Tahoma" FontSize="8" FontStyle="Regular" Wrap="False" HorizontalAlignment="Left" VerticalAlignment="Middle" Trimming="EllipsisCharacter" Opacity="1.0" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
</ActiveIcon>

If you would like to change the slider to be located to the left (like s2u) you can change the orentaion of it like this:

<Slider ID="LockSlider" Top="3" Left="5" Width="192" Height="40" Orientation="Left" OnPress="ShowNotifications" OnSlideRightFinal="Unlock" >

For info on editing the lock slider text go here.

If you would like to take a look at mine (or just use it and copy it to your device) you can get it from the attachment to this post. A great tool for comparing or merging with you existing changes is WinMerge, see post one for a link.

​

WARNING: My file is for QVGA Devices.

For VGA, try johnrb's VGA version here.