[XPERIA X8 Themes and Apps] Emperor.dk:
How do you like this little quick-test of HorizontalScrollView on CM7 lockscreen?

[YOUTUBE]WHq7cRTpNkk[/YOUTUBE]

:good:

Here is how it's done (remember to add the new ids in res\values\ids.xml):

<HorizontalScrollView android:id="@id/digiplay" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" android:layout_below="@id/carrier">
<LinearLayout android:id="@id/scrollroot" android:orientation="horizontal" android:layout_width="480px" android:layout_height="wrap_content">
<RelativeLayout android:id="@id/root" android:layout_width="240px" android:layout_height="wrap_content">
<com.android.internal.widget.DigitalClock android:id="@id/time" android:paddingBottom="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:layout_marginTop="26.0dip">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="68.0sp" android:ellipsize="none" android:id="@id/timeDisplay" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="22.0sp" android:ellipsize="none" android:id="@id/am_pm" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:shadowColor="#c0000000" android:shadowDx="0.0" android:shadowDy="0.0" android:shadowRadius="3.0" android:layout_toRightOf="@id/timeDisplay" android:layout_alignBaseline="@id/timeDisplay" />
</com.android.internal.widget.DigitalClock>
<TextView android:textAppearance="?textAppearanceMedium" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="24.0dip" android:layout_below="@id/time" />
</RelativeLayout>
<RelativeLayout android:id="@id/root" android:layout_width="240px" android:layout_height="wrap_content">
<ImageButton android:id="@id/albumArt" android:background="@color/transparent" android:padding="3.0px" android:visibility="gone" android:layout_width="105.0dip" android:layout_height="105.0dip" android:layout_marginTop="4.0dip" android:scaleType="fitCenter" android:adjustViewBounds="true" android:layout_centerHorizontal="true" />
<TextView android:textAppearance="?textAppearanceSmall" android:ellipsize="marquee" android:gravity="center" android:id="@id/musicNowPlaying" android:paddingTop="10.0dip" android:focusable="true" android:focusableInTouchMode="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:lines="1" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/albumArt" android:layout_centerHorizontal="true" android:layout_alignWithParentIfMissing="true" android:marqueeRepeatLimit="marquee_forever" />
<ImageButton android:id="@id/musicControlPlay" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_play" android:layout_centerInParent="true" android:layout_below="@id/musicNowPlaying" />
<ImageButton android:id="@id/musicControlPause" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_media_pause" android:layout_centerInParent="true" android:layout_below="@id/musicNowPlaying" />
<ImageButton android:id="@id/musicControlPrevious" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="20.0dip" android:src="@drawable/ic_media_previous" android:layout_below="@id/musicNowPlaying" android:layout_toLeftOf="@id/musicControlPause" />
<ImageButton android:id="@id/musicControlNext" android:background="@color/transparent" android:padding="5.0px" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="20.0dip" android:src="@drawable/ic_media_next" android:layout_below="@id/musicNowPlaying" android:layout_toRightOf="@id/musicControlPause" />
</RelativeLayout>
</LinearLayout>
</HorizontalScrollView>