1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2011 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.browse.SuperCollapsedBlock 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/super_collapsed_block" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:focusable="true" 24 android:background="@color/message_header_background_color" 25 android:foreground="?android:attr/selectableItemBackground"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:layout_gravity="center_vertical" 31 android:orientation="vertical" 32 style="@style/SuperCollapsedStrokeStyle" > 33 34 <View 35 android:layout_width="match_parent" 36 android:layout_height="@dimen/divider_height" 37 android:background="@color/conversation_view_border_color"/> 38 39 <View 40 android:layout_width="match_parent" 41 android:layout_height="@dimen/divider_height" 42 android:layout_marginTop="4dp" 43 android:background="@color/conversation_view_border_color"/> 44 45 </LinearLayout> 46 47 <TextView 48 android:id="@+id/super_collapsed_text" 49 android:layout_width="40sp" 50 android:layout_height="40sp" 51 android:background="@drawable/super_collapse_circle" 52 android:contentDescription="@null" 53 android:gravity="center" 54 android:textSize="@dimen/super_collapsed_text_size" 55 style="@style/MessageHeaderIconStyle" /> 56 57 <ImageView 58 android:id="@+id/super_collapsed_progress" 59 android:layout_width="40sp" 60 android:layout_height="40sp" 61 android:background="@drawable/super_collapse_circle" 62 android:contentDescription="@null" 63 android:scaleType="center" 64 android:src="@drawable/ic_cv_loading_24dp" 65 android:visibility="gone" 66 style="@style/MessageHeaderIconStyle" /> 67 68</com.android.mail.browse.SuperCollapsedBlock> 69