1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (c) 2013 Google Inc. --> 3 <com.android.mail.ui.ConversationsInOutboxTipView 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 <TextView 17 android:id="@+id/outbox" 18 android:layout_width="0dp" 19 android:layout_height="wrap_content" 20 android:layout_gravity="center_vertical" 21 android:layout_marginBottom="12dp" 22 android:layout_marginTop="12dp" 23 android:layout_weight="1" 24 android:duplicateParentState="true" 25 android:fontFamily="sans-serif-light" 26 android:textColor="@color/teaser_main_text" 27 android:textSize="16sp" 28 style="@style/TeaserTextStyle" /> 29 30 <View 31 android:id="@+id/dismiss_separator" 32 android:layout_width="1dip" 33 android:layout_height="match_parent" 34 android:background="@color/teaser_main_text" 35 android:layout_marginTop="16dp" 36 android:layout_marginBottom="16dp" 37 style="@style/DismissSeparatorStyle" /> 38 39 <ImageButton 40 android:id="@+id/dismiss_button" 41 android:layout_width="wrap_content" 42 android:layout_height="match_parent" 43 android:background="?android:attr/selectableItemBackground" 44 android:clickable="true" 45 android:scaleType="center" 46 android:contentDescription="@string/dismiss_tip_hover_text" 47 android:src="@drawable/ic_cancel_holo_light" 48 style="@style/DismissButtonStyle" /> 49 50 <include layout="@layout/teaser_right_edge" /> 51 </LinearLayout> 52 53 </com.android.mail.ui.ConversationsInOutboxTipView> 54