blob: 4b3b4115bdbba71638c6b9300ab3b3c0ad6912a6 [file] [log] [blame]
Mindy Pereiraf6452882012-02-14 18:13:13 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2012 Google Inc.
4 Licensed to The Android Open Source Project.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17-->
18
19<com.android.mail.ui.FolderItemView
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_height="wrap_content"
22 android:layout_width="match_parent"
Rohan Shah6ba96202014-09-02 14:40:21 -070023 android:background="@drawable/folder_item"
24 android:gravity="center_vertical"
Rohan Shah671133b2013-03-26 14:48:10 -070025 android:minHeight="@dimen/folder_list_item_minimum_height"
Rohan Shah6ba96202014-09-02 14:40:21 -070026 style="@style/FolderListItemEndStyle">
Mindy Pereiraf6452882012-02-14 18:13:13 -080027
Rohan Shah6ba96202014-09-02 14:40:21 -070028 <View
29 android:id="@+id/nested_folder_space"
Mindy Pereira465d03d2012-02-16 15:17:46 -080030 android:visibility="gone"
Rohan Shah6ba96202014-09-02 14:40:21 -070031 android:layout_width="@dimen/nested_folder_space"
32 android:layout_height="wrap_content" />
Rohan Shah62730662013-04-30 11:44:35 -070033
Rohan Shah074a5a12013-04-04 17:43:15 -070034 <ImageView
35 android:id="@+id/folder_icon"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Andrew Sappersteineba839f2013-12-02 15:47:35 -080038 style="@style/FolderListIconStyle" />
Mindy Pereiraf6452882012-02-14 18:13:13 -080039
Rohan Shah2ad89622013-04-29 18:22:29 -070040 <TextView
41 android:id="@+id/name"
Mindy Pereiraf6452882012-02-14 18:13:13 -080042 android:layout_height="wrap_content"
Rohan Shah6ba96202014-09-02 14:40:21 -070043 android:layout_width="0dp"
44 android:layout_weight="1"
Rohan Shah2ad89622013-04-29 18:22:29 -070045 android:maxLines="2"
46 android:ellipsize="end"
Andrew Sappersteinf479bd62014-03-04 14:33:23 -080047 android:textAlignment="viewStart"
Tony Mantler69086fd2014-07-02 13:49:53 -070048 android:textColor="@color/folder_item_text_color"
49 android:textSize="@dimen/drawer_item_font_size"
Andrew Sappersteinca4f9472013-09-18 17:40:56 -070050 style="@style/FolderListItemStyle" />
Mindy Pereiraf6452882012-02-14 18:13:13 -080051
Rohan Shah6ba96202014-09-02 14:40:21 -070052 <TextView
53 android:id="@+id/unread"
54 style="@style/UnreadCount" />
55
56 <TextView
57 android:id="@+id/unseen"
58 style="@style/UnseenCount" />
59
Rohan Shah671133b2013-03-26 14:48:10 -070060</com.android.mail.ui.FolderItemView>