1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2012 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:layout_width="match_parent" 18 android:layout_height="match_parent" 19 android:orientation="vertical"> 20 21 <com.android.deskclock.timer.TimerView 22 android:id="@+id/timer_time_text" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:gravity="center_horizontal" 26 android:layoutDirection="ltr" 27 android:orientation="horizontal" 28 android:paddingBottom="@dimen/medium_font_padding" 29 android:paddingTop="@dimen/medium_font_padding"> 30 31 <include layout="@layout/timer_h_mm_ss_view" /> 32 33 <ImageButton 34 android:id="@+id/delete" 35 android:layout_width="wrap_content" 36 android:layout_height="match_parent" 37 android:layout_gravity="center" 38 android:layout_marginStart="@dimen/timer_setup_delete_start_margin" 39 android:padding="@dimen/timer_setup_delete_padding" 40 android:background="?android:attr/selectableItemBackgroundBorderless" 41 android:contentDescription="@string/timer_delete" 42 android:src="@drawable/ic_backspace" /> 43 44 </com.android.deskclock.timer.TimerView> 45 46 <View 47 android:id="@+id/divider" 48 android:layout_width="match_parent" 49 android:layout_height="1dip" 50 android:layout_marginBottom="8dip" 51 android:background="@color/dialog_gray" /> 52 53 <include 54 android:id="@+id/first" 55 layout="@layout/three_keys_view" /> 56 57 <include 58 android:id="@+id/second" 59 layout="@layout/three_keys_view" /> 60 61 <include 62 android:id="@+id/third" 63 layout="@layout/three_keys_view" /> 64 65 <include 66 android:id="@+id/fourth" 67 layout="@layout/three_keys_view" /> 68 69 <include layout="@layout/timer_cancel_button" /> 70 71</LinearLayout> 72