From: Daniel Sandler Date: Fri, 23 Oct 2009 17:41:19 +0000 (-0400) Subject: UI improvements to DeskClock. X-Git-Tag: android-x86-2.2~36^2^2~55 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fpackages-apps-DeskClock.git;a=commitdiff_plain;h=3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0 UI improvements to DeskClock. Fixes: - "Dim" button moved to TR corner per spec. - Next Alarm moved to TL corner per spec. - Launcher button added (not yet wired). - Battery indicator added to BR corner per spec. - Drop shadow added to all text per spec. - Layout now fills the portrait display vertically. Known problems: - No landscape layout - Layout jumps when status bar disappears for dim mode - No artwork yet - Weather is a big orange box instead of, you know, weather --- diff --git a/res/layout/desk_clock.xml b/res/layout/desk_clock.xml index bb86e12..6031e45 100644 --- a/res/layout/desk_clock.xml +++ b/res/layout/desk_clock.xml @@ -28,91 +28,146 @@ android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" - android:gravity="bottom" - android:background="#30000000" > + - + + android:layout_weight="0" + android:layout_marginBottom="6dip" + > + +