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 28 <TextView 29 android:id="@+id/description_text" 30 android:layout_width="0dip" 31 android:layout_height="match_parent" 32 android:layout_weight="1" 33 android:ellipsize="end" 34 android:gravity="center_vertical" 35 android:paddingLeft="16dip" 36 android:paddingStart="16dip" 37 android:singleLine="true" 38 android:text="@string/alarm_deleted" 39 android:textColor="@android:color/white" 40 android:textSize="16sp" /> 41 42 <LinearLayout 43 android:id="@+id/action_button" 44 android:layout_width="wrap_content" 45 android:layout_height="match_parent" 46 android:background="@drawable/item_background" 47 android:clickable="true" > 48 49 <View 50 android:id="@+id/separator" 51 android:layout_width="1dip" 52 android:layout_height="match_parent" 53 android:layout_marginBottom="10dip" 54 android:layout_marginRight="12dip" 55 android:layout_marginEnd="12dip" 56 android:layout_marginTop="10dip" 57 android:background="#aaaaaa" /> 58 59 <ImageView 60 android:id="@+id/action_icon" 61 android:layout_width="wrap_content" 62 android:layout_height="match_parent" 63 android:layout_gravity="center_vertical" 64 android:layout_marginRight="4dip" 65 android:layout_marginEnd="4dip" 66 android:src="@drawable/ic_menu_revert_holo_dark" /> 67 68 <TextView 69 android:id="@+id/action_text" 70 style="@style/body" 71 android:layout_width="wrap_content" 72 android:layout_height="match_parent" 73 android:layout_marginLeft="4dip" 74 android:layout_marginStart="4dip" 75 android:gravity="center_vertical" 76 android:paddingRight="16dip" 77 android:paddingEnd="16dip" 78 android:textAllCaps="true" /> 79 </LinearLayout> 80 81 </merge> 82