f5492ea991
Added the base class for the UI controllers and the 1-pane implementaion, which is almost empty at this point. The old phone activities still exist and will be used on the phone by default. To use the new activity (1-pane EmailActivity) on the phone, use the following comamnd. adb shell am start -a android.intent.action.MAIN \ -d '"content://ui.email.android.com/view/mailbox"' \ -e DEBUG_PANE_MODE 1 Change-Id: Id1fe85d4517778afc967d7d5e17e1299dd1bfefd
61 lines
2.2 KiB
XML
61 lines
2.2 KiB
XML
<?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.
|
|
-->
|
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:id="@+id/search"
|
|
android:orderInCategory="100"
|
|
android:alphabeticShortcut="s"
|
|
android:title="@string/search_action"
|
|
android:icon="@drawable/ic_menu_search_holo_light"
|
|
android:showAsAction="ifRoom"
|
|
/>
|
|
<item
|
|
android:id="@+id/compose"
|
|
android:orderInCategory="200"
|
|
android:alphabeticShortcut="c"
|
|
android:title="@string/compose_action"
|
|
android:icon="@drawable/ic_menu_compose_holo_light"
|
|
android:showAsAction="ifRoom"
|
|
/>
|
|
<item
|
|
android:id="@+id/refresh"
|
|
android:orderInCategory="300"
|
|
android:alphabeticShortcut="r"
|
|
android:title="@string/refresh_action"
|
|
android:icon="@drawable/ic_menu_refresh_holo_light"
|
|
android:showAsAction="ifRoom"
|
|
/>
|
|
<item
|
|
android:id="@+id/account_settings"
|
|
android:orderInCategory="2000"
|
|
android:title="@string/account_settings_action"
|
|
android:icon="@android:drawable/ic_menu_preferences"
|
|
/>
|
|
<item
|
|
android:id="@+id/sync_frequency"
|
|
android:orderInCategory="3000"
|
|
android:title="@string/mailbox_options_check_frequency_label"
|
|
android:icon="@android:drawable/ic_menu_preferences"
|
|
/>
|
|
<item
|
|
android:id="@+id/sync_lookback"
|
|
android:orderInCategory="3100"
|
|
android:title="@string/mailbox_options_lookback_label"
|
|
android:icon="@android:drawable/ic_menu_preferences"
|
|
/>
|
|
</menu>
|