Remove unused resource

Also, allow the widget preview to be overlayed, in the universal mail app
so there is ony one copy

Bug: 17414014
Change-Id: Ib58adb0b89d89feb025567258c0ea827e4d856ae
This commit is contained in:
Paul Westbrook 2014-09-07 11:51:59 -07:00
parent efb6cb2523
commit 9754cced47
4 changed files with 2 additions and 39 deletions

View File

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

View File

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical" >
<TextView
android:text="@string/account_setup_incoming_password_label"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorPrimary" />
<EditText
android:id="@+id/account_password"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:hint="@string/password_hint"
android:inputType="textPassword"
android:imeOptions="actionNext" />
</LinearLayout>

View File

@ -18,7 +18,7 @@
android:minWidth="220dp"
android:minHeight="220dp"
android:updatePeriodMillis="0"
android:previewImage="@drawable/email_widget_preview"
android:previewImage="@drawable/mail_widget_preview"
android:initialLayout="@layout/widget"
android:resizeMode="horizontal|vertical"
android:configure="com.android.email2.ui.MailboxSelectionActivityEmail"

View File

@ -20,7 +20,7 @@
android:minResizeWidth="180dp"
android:minResizeHeight="110dp"
android:updatePeriodMillis="0"
android:previewImage="@drawable/email_widget_preview"
android:previewImage="@drawable/mail_widget_preview"
android:initialLayout="@layout/widget"
android:resizeMode="horizontal|vertical"
android:configure="com.android.email2.ui.MailboxSelectionActivityEmail"