elv_undo_popup.xml

 1<?xml version="1.0" encoding="UTF-8"?>
 2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3			  android:layout_width="fill_parent"
 4			  android:layout_height="match_parent"
 5			  android:orientation="horizontal"
 6			  android:background="@drawable/elv_toast_frame"
 7			  android:gravity="center">
 8
 9	<TextView
10		android:id="@+id/text"
11		android:fontFamily="sans-serif-condensed"
12		android:textSize="16sp"
13		android:layout_weight="1"
14		android:ellipsize="end"
15		android:singleLine="true"
16		android:textColor="@color/elv_popup_text_color"
17		android:layout_width="wrap_content"
18		android:layout_height="wrap_content"
19		android:shadowColor="#BB000000"
20		android:shadowRadius="2.75"/>
21
22	<View
23		android:layout_weight="0"
24		android:layout_marginRight="8dp"
25		android:layout_marginLeft="8dp"
26		android:layout_width="1dp"
27		android:layout_height="match_parent"
28		android:layout_marginTop="5dp"
29		android:layout_marginBottom="5dp"
30		android:background="@color/elv_separator_color"/>
31
32	<Button
33		android:id="@+id/undo"
34		android:fontFamily="sans-serif-condensed"
35		android:textColor="@color/elv_popup_text_color"
36		android:background="@drawable/elv_undo_btn_bg"
37		android:layout_weight="0"
38		android:drawableLeft="@drawable/elv_ic_action_undo"
39		android:layout_width="wrap_content"
40		android:layout_height="match_parent"
41		android:shadowColor="#BB000000"
42		android:shadowRadius="2.75"/>
43</LinearLayout>