1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2009 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 17 <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) 18 Tall screen version with taller buttons. 19 --> 20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/voicemailAndDialAndDelete" 22 android:layout_width="wrap_content" 23 android:layout_height="wrap_content" 24 android:layout_gravity="center_horizontal" 25 android:layout_weight="2.5" 26 android:orientation="horizontal"> 27 28 <!-- Onscreen "Voicemail" button. 29 The width is 75 (from the mocks) + 12 of padding from the 30 9patch, total is 87. 31 --> 32 <ImageButton android:id="@+id/voicemailButton" 33 android:layout_width="87dip" 34 android:layout_height="58dip" 35 android:layout_gravity="center_vertical" 36 android:state_enabled="false" 37 android:background="@drawable/btn_dial_voicemail" 38 android:contentDescription="@string/description_voicemail_button" 39 android:src="@drawable/ic_dial_action_voice_mail" /> 40 41 <!-- Onscreen "Dial" button, used on all platforms by 42 default. Its usage can be disabled using resources (see 43 config.xml.) --> 44 <ImageButton android:id="@+id/dialButton" 45 android:layout_width="116dip" 46 android:layout_height="58dip" 47 android:layout_gravity="center_vertical" 48 android:state_enabled="false" 49 android:background="@drawable/btn_dial_action" 50 android:contentDescription="@string/description_dial_button" 51 android:src="@drawable/ic_dial_action_call" /> 52 53 <!-- Onscreen "Backspace/Delete" button 54 The width is 75 (from the mocks) + 12 of padding from the 55 9patch, total is 87. 56 --> 57 <ImageButton android:id="@+id/deleteButton" 58 android:layout_width="87dip" 59 android:layout_height="58dip" 60 android:layout_gravity="center_vertical" 61 android:state_enabled="false" 62 android:background="@drawable/btn_dial_delete" 63 android:contentDescription="@string/description_delete_button" 64 android:src="@drawable/ic_dial_action_delete" /> 65 </LinearLayout> 66 67