1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2012 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<merge xmlns:android="http://schemas.android.com/apk/res/android" >
18
19    <ImageView
20        android:id="@+id/description_icon"
21        android:layout_width="wrap_content"
22        android:layout_height="match_parent"
23        android:layout_gravity="center_vertical"
24        android:paddingLeft="16dip"
25        android:paddingStart="16dip"
26        android:src="@drawable/ic_menu_revert_holo_dark"
27        android:contentDescription="@string/alarm_undo" />
28
29    <TextView
30        android:id="@+id/description_text"
31        android:layout_width="0dip"
32        android:layout_height="match_parent"
33        android:layout_weight="1"
34        android:ellipsize="end"
35        android:gravity="center_vertical"
36        android:paddingLeft="16dip"
37        android:paddingStart="16dip"
38        android:singleLine="true"
39        android:text="@string/alarm_deleted"
40        android:textColor="@android:color/white"
41        android:textSize="16sp" />
42
43    <LinearLayout
44        android:id="@+id/action_button"
45        android:layout_width="wrap_content"
46        android:layout_height="match_parent"
47        android:background="?android:attr/selectableItemBackground"
48        android:clickable="true" >
49
50        <View
51            android:id="@+id/separator"
52            android:layout_width="1dip"
53            android:layout_height="match_parent"
54            android:layout_marginBottom="10dip"
55            android:layout_marginRight="12dip"
56            android:layout_marginEnd="12dip"
57            android:layout_marginTop="10dip"
58            android:background="#aaaaaa" />
59
60        <ImageView
61            android:id="@+id/action_icon"
62            android:layout_width="wrap_content"
63            android:layout_height="match_parent"
64            android:layout_gravity="center_vertical"
65            android:layout_marginRight="4dip"
66            android:layout_marginEnd="4dip"
67            android:src="@drawable/ic_menu_revert_holo_dark"
68            android:contentDescription="@null" />
69
70        <TextView
71            android:id="@+id/action_text"
72            style="@style/body"
73            android:layout_width="wrap_content"
74            android:layout_height="match_parent"
75            android:layout_marginLeft="4dip"
76            android:layout_marginStart="4dip"
77            android:gravity="center_vertical"
78            android:paddingRight="16dip"
79            android:paddingEnd="16dip" />
80    </LinearLayout>
81
82</merge>
83