OSDN Git Service

Eleven: vertically recentre widgets
[android-x86/packages-apps-Eleven.git] / res / layout / app_widget_large.xml
index 25f428b..c4ea525 100644 (file)
@@ -1,13 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
   Copyright (C) 2012 Andrew Neal
+  Copyright (C) 2014 The CyanogenMod Project
+
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
+
        http://www.apache.org/licenses/LICENSE-2.0
+
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     android:layout_width="match_parent"
     android:layout_height="@dimen/app_widget_large_min_height"
     android:columnCount="2"
-    android:rowCount="3"
-    android:background="@drawable/appwidget_bg"
+    android:rowCount="2"
+    android:background="@color/black"
     tools:ignore="ContentDescription" >
 
     <ImageView
         android:id="@+id/app_widget_large_image"
         android:layout_width="@dimen/notification_expanded_height"
         android:layout_height="@dimen/notification_expanded_height"
-        android:layout_rowSpan="3"
+        android:layout_rowSpan="2"
         android:layout_marginBottom="@dimen/app_widget_bottom_margin"
-        android:background="@drawable/default_artwork"
         android:scaleType="fitXY" />
 
     <LinearLayout
         <TextView
             android:id="@+id/app_widget_large_line_one"
             style="@style/NotificationText"
-            android:textColor="@color/white"
+            android:textColor="@color/widget_text"
             android:textSize="@dimen/text_size_medium"
             android:textStyle="bold" />
 
         <TextView
             android:id="@+id/app_widget_large_line_two"
             style="@style/NotificationText"
-            android:textColor="@color/transparent_white"
+            android:textColor="@color/widget_text"
             android:textSize="@dimen/text_size_small" />
 
         <TextView
             android:id="@+id/app_widget_large_line_three"
             style="@style/NotificationText"
-            android:textColor="@color/transparent_white"
+            android:textColor="@color/widget_text"
             android:textSize="@dimen/text_size_small" />
     </LinearLayout>
 
-    <ImageView
-        android:layout_width="0dp"
-        android:layout_gravity="fill_horizontal"
-        android:background="?android:dividerHorizontal" />
-
     <LinearLayout
         android:id="@+id/app_widget_large_buttons"
         android:layout_width="0dp"
         android:layout_gravity="fill_horizontal"
         android:layout_marginBottom="@dimen/app_widget_bottom_margin"
-        android:divider="?android:listDivider"
         android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
         android:gravity="center_vertical"
         android:orientation="horizontal"