summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAndrew Sapperstein <asapperstein@google.com>2014-07-27 12:30:18 -0700
committerAndrew Sapperstein <asapperstein@google.com>2014-08-04 23:09:14 -0700
commit52882ff08fe9420fe2dbb3f681545a330222e9c8 (patch)
treea580699c2c23ef3e9cdbe00130535786997c66ff /AndroidManifest.xml
parent53de448d6c67e56df4e3bcefb3e2d84c810e2e89 (diff)
downloadandroid_packages_apps_UnifiedEmail-52882ff08fe9420fe2dbb3f681545a330222e9c8.tar.gz
android_packages_apps_UnifiedEmail-52882ff08fe9420fe2dbb3f681545a330222e9c8.tar.bz2
android_packages_apps_UnifiedEmail-52882ff08fe9420fe2dbb3f681545a330222e9c8.zip
switch to appcompat. b/16664350
Currently only for MailActivity, ComposeActivity, and FolderSelectionActivity. Any activity that inherits from ActionBarActivity must use an Appcompat-derived style. Three styles currently exist: UnifiedEmail.Appcompat, UnifiedEmail.Appcompat.Toolbar, and ShortcutWidgetTheme are all based on appcompat. go/appcompat-material-doc contains the full migration guide. The fast version is: All MenuItem-related work that relates to actions must use the MenuItemCompat-equivalent. Any theming should use the appcompat versions which don't require a namespace prefix. For instance, use actionBarStyle instead of android:actionBarStyle. There are a few missing styles on views that can't use appcompat versions. Those still use style overrides for v21 changes. All others use appcompat versions. A few methods on activity should now use the support equivalents: getSupportActionBar() supportInvalidateOptionsMenu() startSupportActionMode() Change-Id: Ic6f5964f4115ab4bde49c19df5fe49c9086df965
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f2b297620..a8dd8d764 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -43,7 +43,7 @@
android:label="@string/app_name"
android:name=".ui.MailActivity"
android:launchMode="singleTop"
- android:theme="@style/PlainUnifiedEmailTheme" >
+ android:theme="@style/MailActivityTheme" >
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />