From 70470c9a01df8f21082f5c4d0f73d6eadcc7ecb9 Mon Sep 17 00:00:00 2001 From: Mindy Pereira Date: Mon, 5 Mar 2012 17:21:11 -0800 Subject: [PATCH] Add widget to email2. Change-Id: I66bbee2bc5317837d625b1acc037b75056cfc277 --- email2/AndroidManifest.xml | 28 ++++++++++++++++++ email2/res/xml-sw600dp/widget_info.xml | 27 +++++++++++++++++ email2/res/xml/widget_info.xml | 29 +++++++++++++++++++ .../ui/MailboxSelectionActivityEmail.java | 23 +++++++++++++++ 4 files changed, 107 insertions(+) create mode 100644 email2/res/xml-sw600dp/widget_info.xml create mode 100644 email2/res/xml/widget_info.xml create mode 100644 email2/src/com/android/email2/ui/MailboxSelectionActivityEmail.java diff --git a/email2/AndroidManifest.xml b/email2/AndroidManifest.xml index b0bf91db7..fd186fca7 100644 --- a/email2/AndroidManifest.xml +++ b/email2/AndroidManifest.xml @@ -46,6 +46,19 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/email2/res/xml-sw600dp/widget_info.xml b/email2/res/xml-sw600dp/widget_info.xml new file mode 100644 index 000000000..fa4635dbe --- /dev/null +++ b/email2/res/xml-sw600dp/widget_info.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/email2/res/xml/widget_info.xml b/email2/res/xml/widget_info.xml new file mode 100644 index 000000000..8dc4e3dbd --- /dev/null +++ b/email2/res/xml/widget_info.xml @@ -0,0 +1,29 @@ + + + + + diff --git a/email2/src/com/android/email2/ui/MailboxSelectionActivityEmail.java b/email2/src/com/android/email2/ui/MailboxSelectionActivityEmail.java new file mode 100644 index 000000000..6831ef193 --- /dev/null +++ b/email2/src/com/android/email2/ui/MailboxSelectionActivityEmail.java @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2012 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. + */ +package com.android.email2.ui; + + /* An activity that shows the list of all the available accounts and return the + * one selected in onResult(). + */ +public class MailboxSelectionActivityEmail extends com.android.mail.ui.MailboxSelectionActivity { + +} \ No newline at end of file