OSDN Git Service

Show weather forecast in DeskClock.
[android-x86/packages-apps-DeskClock.git] / res / layout / desk_clock.xml
index c688a08..1133275 100644 (file)
 
             <include layout="@layout/desk_clock_time_date"
                 android:layout_weight="1"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:layout_marginBottom="12dip"
                 />
 
-            <View android:id="@+id/weather" xmlns:android="http://schemas.android.com/apk/res/android"
-                android:layout_height="100dip"
+            <include layout="@layout/desk_clock_weather"
                 android:layout_width="wrap_content"
-                android:background="#C0CC00CC"
-                android:layout_marginBottom="12dip"
+                android:layout_height="wrap_content"
                 android:layout_weight="0"
+                android:layout_marginBottom="12dip"
                 />
 
-
             <include layout="@layout/desk_clock_battery"
                 android:layout_height="wrap_content"
                 android:layout_width="fill_parent"
     <View android:id="@+id/window_tint"
         android:layout_width="fill_parent"
         android:layout_height="fill_parent"
-        android:background="#D0000000"
+        android:background="#E0000000"
         android:visibility="visible"
         android:clickable="false"
         />