1<?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" 23 android:background="@drawable/folder_item" 24 android:gravity="center_vertical" 25 android:minHeight="@dimen/folder_list_item_minimum_height" 26 style="@style/FolderListItemEndStyle"> 27 28 <View 29 android:id="@+id/nested_folder_space" 30 android:visibility="gone" 31 android:layout_width="@dimen/nested_folder_space" 32 android:layout_height="wrap_content" /> 33 34 <ImageView 35 android:id="@+id/folder_icon" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 style="@style/FolderListIconStyle" /> 39 40 <TextView 41 android:id="@+id/name" 42 android:layout_height="wrap_content" 43 android:layout_width="0dp" 44 android:layout_weight="1" 45 android:maxLines="2" 46 android:ellipsize="end" 47 android:textAlignment="viewStart" 48 android:textColor="@color/text_color_black" 49 android:textSize="@dimen/drawer_item_font_size" 50 style="@style/FolderListItemStyle" /> 51 52 <TextView 53 android:id="@+id/unread" 54 style="@style/DrawerUnreadCount" /> 55 56 <TextView 57 android:id="@+id/unseen" 58 android:includeFontPadding="false" 59 android:paddingTop="5dp" 60 android:paddingBottom="5dp" 61 style="@style/UnseenCount" /> 62 63</com.android.mail.ui.FolderItemView> 64