| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2013 Google Inc. |
| Licensed to 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. |
| --> |
| |
| <com.android.mail.ui.NestedFolderTeaserView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="@drawable/conversation_item_background_selector" |
| android:orientation="vertical"> |
| |
| <LinearLayout |
| android:id="@+id/nested_folder_container" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" /> |
| |
| <LinearLayout |
| android:id="@+id/show_more_folders_row" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:background="@drawable/folder_teaser_item_background" |
| android:minHeight="@dimen/folder_teaser_item_height" |
| style="@style/FolderTeaserMarginEndStyle"> |
| |
| <ImageView |
| android:id="@+id/show_more_folders_icon" |
| android:layout_width="@dimen/folder_teaser_start_margin" |
| android:layout_height="match_parent" |
| android:paddingLeft="24dp" |
| android:paddingRight="24dp" |
| android:scaleType="center" /> |
| |
| <TextView |
| android:id="@+id/show_more_folders_textView" |
| android:layout_width="0dp" |
| android:layout_height="match_parent" |
| android:layout_weight="1" |
| android:ellipsize="end" |
| android:gravity="center_vertical" |
| android:singleLine="true" |
| android:textSize="16sp" |
| android:textColor="@color/folder_teaser_main_text" /> |
| |
| <TextView |
| android:id="@+id/show_more_folders_count_textView" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| style="@style/FolderTeaserUnreadCountTextStyle" /> |
| |
| </LinearLayout> |
| |
| <View style="@style/ConversationListDividerStyle" /> |
| |
| </com.android.mail.ui.NestedFolderTeaserView> |