Merge "Simple change to use the new split action bar."

This commit is contained in:
Ben Komalo 2011-05-24 11:17:07 -07:00 committed by Android (Google) Code Review
commit 8408621659
3 changed files with 25 additions and 1 deletions

View File

@ -85,7 +85,7 @@
android:icon="@mipmap/ic_launcher_email"
android:label="@string/app_name"
android:name="Email"
android:theme="@android:style/Theme.Holo.Light"
android:theme="@style/EmailTheme"
android:hardwareAccelerated="false"
>
<activity

21
res/values-v13/styles.xml Normal file
View File

@ -0,0 +1,21 @@
<?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.
-->
<!-- See also values-xlarge for specializations for xlarge screens -->
<resources>
<style name="EmailTheme" parent="@android:style/Theme.Holo.Light.SplitActionBarWhenNarrow">
</style>
</resources>

View File

@ -16,6 +16,9 @@
<!-- See also values-xlarge for specializations for xlarge screens -->
<resources>
<style name="EmailTheme" parent="@android:style/Theme.Holo.Light">
</style>
<style name="unreadCount">
<item name="android:ellipsize">end</item>
<item name="android:singleLine">true</item>