Merge "Fix Email widget preview using wrong resource." into jb-ub-mail

This commit is contained in:
Mark Wei 2012-09-19 13:46:34 -07:00 committed by Android (Google) Code Review
commit 533c4ff919
2 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source 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.
See the License for the specific language governing permissions and
limitations under the License.
-->
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="220dp"
android:minHeight="220dp"
android:updatePeriodMillis="0"
android:previewImage="@drawable/email_widget_preview"
android:initialLayout="@layout/widget"
android:resizeMode="horizontal|vertical"
android:configure="com.android.email2.ui.MailboxSelectionActivityEmail"
/>

View File

@ -15,8 +15,10 @@
--> -->
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:minWidth="180dip" android:minWidth="180dp"
android:minHeight="110dip" android:minHeight="180dp"
android:minResizeWidth="180dp"
android:minResizeHeight="110dp"
android:updatePeriodMillis="0" android:updatePeriodMillis="0"
android:previewImage="@drawable/email_widget_preview" android:previewImage="@drawable/email_widget_preview"
android:initialLayout="@layout/widget" android:initialLayout="@layout/widget"