| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2011 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.browse.SuperCollapsedBlock |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/super_collapsed_block" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:focusable="true" |
| android:background="@color/message_header_background_color" |
| android:foreground="?android:attr/selectableItemBackground"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:orientation="vertical" |
| style="@style/SuperCollapsedStrokeStyle" > |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/divider_height" |
| android:background="@color/conversation_view_border_color"/> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/divider_height" |
| android:layout_marginTop="4dp" |
| android:background="@color/conversation_view_border_color"/> |
| |
| </LinearLayout> |
| |
| <TextView |
| android:id="@+id/super_collapsed_text" |
| android:layout_width="40sp" |
| android:layout_height="40sp" |
| android:background="@drawable/super_collapse_circle" |
| android:contentDescription="@null" |
| android:gravity="center" |
| android:textSize="@dimen/super_collapsed_text_size" |
| style="@style/MessageHeaderIconStyle" /> |
| |
| <ImageView |
| android:id="@+id/super_collapsed_progress" |
| android:layout_width="40sp" |
| android:layout_height="40sp" |
| android:background="@drawable/super_collapse_circle" |
| android:contentDescription="@null" |
| android:scaleType="center" |
| android:src="@drawable/ic_cv_loading_24dp" |
| android:visibility="gone" |
| style="@style/MessageHeaderIconStyle" /> |
| |
| </com.android.mail.browse.SuperCollapsedBlock> |