| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2012 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. |
| --> |
| <merge xmlns:android="http://schemas.android.com/apk/res/android"> |
| <GridLayout |
| android:id="@+id/attachment_collapse_view" |
| android:layout_width="match_parent" |
| android:layout_height="48dip" |
| android:orientation="horizontal" |
| android:background="?android:attr/selectableItemBackground" |
| android:rowCount="2" |
| android:columnCount="2" |
| android:visibility="visible"> |
| <TextView |
| android:id="@+id/attachment_collapse_text" |
| android:layout_width="0dip" |
| android:layout_height="wrap_content" |
| android:layout_row="0" |
| android:layout_column="0" |
| android:layout_gravity="fill_horizontal|center_vertical" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textAllCaps="true" |
| android:layout_marginLeft="8dip" |
| android:singleLine="true" |
| android:ellipsize="end" /> |
| <ImageView |
| android:id="@+id/attachment_collapse_caret" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_row="0" |
| android:layout_column="1" |
| android:layout_gravity="center_vertical" |
| android:layout_marginRight="8dip" |
| android:src="@drawable/ic_menu_expander_minimized_holo_light"/> |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/message_details_header_bottom_border_height" |
| android:layout_row="1" |
| android:layout_column="0" |
| android:layout_columnSpan="2" |
| android:background="@color/conv_subject_border" |
| /> |
| </GridLayout> |
| <com.android.mail.ui.AttachmentTileGrid |
| android:id="@+id/attachment_tile_grid" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginBottom="8dip" /> |
| <LinearLayout |
| android:id="@+id/attachment_bar_list" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" /> |
| </merge> |