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