| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2009 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Horizontal row of buttons (Voicemail + DialButton + Delete.) --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:id="@+id/dialpadAdditionalButtons" |
| android:layout_width="match_parent" |
| android:layout_height="0px" |
| android:layout_weight="@integer/dialpad_layout_weight_additional_buttons" |
| android:layout_gravity="center_horizontal" |
| android:background="@drawable/dialpad_background" |
| android:orientation="horizontal"> |
| |
| <!-- Onscreen "All contacts" button. |
| TODO: rename this id. --> |
| <ImageButton android:id="@+id/searchButton" |
| android:layout_width="0px" |
| android:layout_weight="0.30" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical" |
| android:state_enabled="false" |
| android:background="?android:attr/selectableItemBackground" |
| android:contentDescription="@string/description_search_button" |
| android:src="@drawable/ic_dial_action_search"/> |
| |
| <View |
| android:layout_width="1dip" |
| android:layout_height="24dip" |
| android:layout_gravity="center_vertical" |
| android:background="?android:attr/dividerVertical" /> |
| |
| <!-- Onscreen "Dial" button, diused on all platforms by |
| default. Its usage can be disabled using resources (see |
| config.xml.) --> |
| <ImageButton android:id="@+id/dialButton" |
| android:layout_width="0px" |
| android:layout_weight="0.40" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical" |
| android:state_enabled="false" |
| android:background="@drawable/btn_call" |
| android:contentDescription="@string/description_dial_button" |
| android:src="@drawable/ic_dial_action_call" /> |
| |
| <View |
| android:layout_width="1dip" |
| android:layout_height="24dip" |
| android:layout_gravity="center_vertical" |
| android:background="?android:attr/dividerVertical" /> |
| |
| <!-- Onscreen "Backspace/Delete" button --> |
| <ImageButton android:id="@+id/deleteButton" |
| android:layout_width="0px" |
| android:layout_weight="0.30" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical" |
| android:state_enabled="false" |
| android:background="?android:attr/selectableItemBackground" |
| android:contentDescription="@string/description_delete_button" |
| android:src="@drawable/ic_dial_action_delete" /> |
| </LinearLayout> |
| |