64814b3928
BUG: 2065601 * Show Unread Count of Accounts in AccountFolderList * Change the background according to the folder's type * Change the style of unread counts TODO: Change background images of Unread Count
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2009 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.
|
|
-->
|
|
|
|
<resources>
|
|
<style name="unreadCount">
|
|
<item name="android:ellipsize">end</item>
|
|
<item name="android:singleLine">true</item>
|
|
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
|
<item name="android:textColor">#FF000000</item>
|
|
<item name="android:background">@drawable/ind_unread</item>
|
|
<item name="android:paddingLeft">2dip</item>
|
|
<item name="android:paddingRight">2dip</item>
|
|
<item name="android:paddingTop">0dip</item>
|
|
<item name="android:paddingBottom">0dip</item>
|
|
<item name="android:minWidth">8dip</item>
|
|
<item name="android:maxWidth">48dip</item>
|
|
<item name="android:gravity">center_horizontal|center_vertical</item>
|
|
</style>
|
|
</resources>
|