1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (c) 2013 Google Inc. --> 3 <com.android.mail.ui.ConversationSyncDisabledTipView 4 xmlns:android="http://schemas.android.com/apk/res/android" 5 android:layout_width="match_parent" 6 android:layout_height="wrap_content" 7 android:background="@color/swiped_bg_color" > 8 9 <LinearLayout 10 android:id="@+id/swipeable_content" 11 android:layout_width="match_parent" 12 android:layout_height="wrap_content" 13 android:background="@drawable/conversation_read_selector" 14 android:orientation="horizontal" > 15 16 <LinearLayout 17 android:id="@+id/text_area" 18 android:layout_width="wrap_content" 19 android:layout_height="match_parent" 20 android:layout_weight="1" 21 android:orientation="vertical" 22 android:padding="16dp" > 23 24 <TextView 25 android:id="@+id/text_line1" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:duplicateParentState="true" 29 android:fontFamily="sans-serif-light" 30 android:textColor="@color/teaser_main_text" 31 android:textSize="16sp" /> 32 33 <TextView 34 android:id="@+id/text_line2" 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:duplicateParentState="true" 38 android:fontFamily="sans-serif-light" 39 android:textColor="@color/teaser_main_text" 40 android:textSize="16sp" /> 41 42 </LinearLayout> 43 44 <View 45 android:id="@+id/dismiss_separator" 46 android:layout_width="1dip" 47 android:layout_height="match_parent" 48 android:background="@color/teaser_main_text" 49 android:layout_marginTop="16dp" 50 android:layout_marginBottom="16dp" 51 style="@style/DismissSeparatorStyle" /> 52 53 <ImageButton 54 android:id="@+id/dismiss_button" 55 android:layout_width="wrap_content" 56 android:layout_height="match_parent" 57 android:background="?android:attr/selectableItemBackground" 58 android:clickable="true" 59 android:scaleType="center" 60 android:contentDescription="@string/dismiss_tip_hover_text" 61 android:src="@drawable/ic_cancel_holo_light" 62 style="@style/DismissButtonStyle" /> 63 64 <include layout="@layout/teaser_right_edge" /> 65 </LinearLayout> 66 67 </com.android.mail.ui.ConversationSyncDisabledTipView> 68