<!-- Special "screen saver mode" with just the time/date on black. -->
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
>
<View
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_x="0dip"
android:layout_y="0dip"
android:background="#FF000000"
/>
- <include layout="@layout/desk_clock_time_date"
+ <RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_x="0dip"
android:layout_y="0dip"
- />
+ android:id="@+id/saver_view"
+ >
+ <TextView android:id="@+id/nextAlarm"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="10dip"
+ android:layout_marginLeft="4dip"
+ android:gravity="left"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:drawablePadding="6dip"
+ />
+ <include layout="@layout/desk_clock_time_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/nextAlarm"
+ />
+ </RelativeLayout>
</AbsoluteLayout>