OSDN Git Service

Show weather forecast in DeskClock.
[android-x86/packages-apps-DeskClock.git] / res / layout-land / desk_clock.xml
index 477c18b..7079975 100644 (file)
@@ -36,7 +36,7 @@
             android:layout_height="fill_parent"
             android:layout_marginLeft="20dip"
             android:layout_marginTop="20dip"
-            android:layout_marginRight="14dip"
+            android:layout_marginRight="20dip"
             android:layout_marginBottom="14dip"
             >
 
                 android:layout_weight="1"
                 android:layout_width="fill_parent"
                 android:layout_height="wrap_content"
-                android:gravity="center_vertical"
+                android:gravity="bottom"
+                android:layout_marginBottom="12dip"
                 >
 
                 <include layout="@layout/desk_clock_time_date"
-                    android:layout_width="fill_parent"
                     android:layout_height="wrap_content"
-                    android:layout_weight="1" />
-
-                <View android:id="@+id/weather" xmlns:android="http://schemas.android.com/apk/res/android"
-                    android:layout_height="100dip"
                     android:layout_width="wrap_content"
-                    android:background="#C0CC00CC"
-                    android:layout_marginBottom="12dip"
                     android:layout_weight="1"
+                    />
+
+                <include layout="@layout/desk_clock_weather"
+                    android:layout_height="wrap_content"
+                    android:layout_width="wrap_content"
+                    android:layout_weight="0"
                     android:layout_marginLeft="12dip"
                     />
 
     <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"
         />