• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2013 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<com.android.mail.ui.NestedFolderTeaserView xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="horizontal" >
22
23    <LinearLayout
24        android:layout_width="0dp"
25        android:layout_height="wrap_content"
26        android:layout_weight="1"
27        android:background="@drawable/conversation_item_background_selector"
28        android:orientation="vertical" >
29
30        <LinearLayout
31            android:id="@+id/nested_folder_container"
32            android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:orientation="vertical"
35            android:divider="?android:dividerHorizontal"
36            android:showDividers="middle|end" >
37        </LinearLayout>
38
39        <LinearLayout
40            android:id="@+id/show_more_folders_row"
41            android:background="@drawable/folder_teaser_item_background"
42            android:layout_width="match_parent"
43            android:layout_height="wrap_content"
44            android:orientation="horizontal"
45            android:paddingBottom="12dp"
46            android:paddingTop="12dp" >
47
48            <TextView
49                android:id="@+id/show_more_folders_textView"
50                android:layout_width="0dp"
51                android:layout_height="wrap_content"
52                android:layout_marginLeft="16dp"
53                android:layout_weight="1"
54                android:duplicateParentState="true"
55                android:ellipsize="end"
56                android:includeFontPadding="false"
57                android:singleLine="true"
58                android:textColor="@color/teaser_main_text"
59                android:textSize="16sp"
60                android:textStyle="bold" />
61
62            <TextView
63                android:id="@+id/show_more_folders_count_textView"
64                android:layout_width="wrap_content"
65                android:layout_height="24sp"
66                android:layout_marginLeft="12dp"
67                android:layout_marginRight="16dp"
68                android:gravity="center"
69                android:minWidth="@dimen/folder_teaser_count_textview_minwidth"
70                android:paddingLeft="16dp"
71                android:paddingRight="16dp"
72                android:textColor="@color/folder_teaser_count_text"
73                android:textSize="16sp" />
74        </LinearLayout>
75    </LinearLayout>
76
77    <include layout="@layout/teaser_right_edge" />
78
79</com.android.mail.ui.NestedFolderTeaserView>