notification_intruder_content.xml revision a0a938cd5f6eaed449678a00420916cde711de63
1<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 android:layout_width="match_parent" 3 android:layout_height="wrap_content" 4 android:orientation="vertical" 5 android:background="#FF333333" 6 android:padding="4dp" 7 > 8 <ImageView android:id="@+id/icon" 9 android:layout_width="32dp" 10 android:layout_height="32dp" 11 android:scaleType="center" 12 android:padding="4dp" 13 /> 14 <LinearLayout 15 android:layout_width="match_parent" 16 android:layout_height="40dp" 17 android:layout_marginLeft="40dp" 18 android:orientation="vertical" 19 > 20 <TextView android:id="@+id/title" 21 android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content" 24 android:singleLine="true" 25 android:ellipsize="marquee" 26 android:fadingEdge="horizontal" 27 /> 28 <TextView android:id="@+id/text" 29 android:textAppearance="@style/TextAppearance.StatusBar.EventContent" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:layout_weight="1" 33 android:layout_marginTop="-4dp" 34 android:singleLine="true" 35 android:ellipsize="marquee" 36 android:fadingEdge="horizontal" 37 /> 38 </LinearLayout> 39 <LinearLayout 40 android:id="@+id/actions" 41 android:layout_width="match_parent" 42 android:layout_height="40dp" 43 android:layout_marginTop="48dp" 44 android:orientation="horizontal" 45 android:visibility="gone" 46 > 47 <ImageView 48 android:id="@+id/action0" 49 android:layout_width="0dp" 50 android:layout_height="match_parent" 51 android:layout_weight="1" 52 android:visibility="gone" 53 /> 54 <ImageView 55 android:id="@+id/action1" 56 android:layout_width="0dp" 57 android:layout_height="match_parent" 58 android:layout_weight="1" 59 android:visibility="gone" 60 /> 61 <ImageView 62 android:id="@+id/action2" 63 android:layout_width="0dp" 64 android:layout_height="match_parent" 65 android:layout_weight="1" 66 android:visibility="gone" 67 /> 68 </LinearLayout> 69</FrameLayout> 70