• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:src="@drawable/ic_dial_action_voice_mail" />
39
40    <!-- Onscreen "Dial" button, used on all platforms by
41         default. Its usage can be disabled using resources (see
42         config.xml.) -->
43    <ImageButton android:id="@+id/dialButton"
44        android:layout_width="116dip"
45        android:layout_height="58dip"
46        android:layout_gravity="center_vertical"
47        android:state_enabled="false"
48        android:background="@drawable/btn_dial_action"
49        android:src="@drawable/ic_dial_action_call" />
50
51    <!-- Onscreen "Backspace/Delete" button
52         The width is 75 (from the mocks) + 12 of padding from the
53         9patch, total is 87.
54    -->
55    <ImageButton android:id="@+id/deleteButton"
56        android:layout_width="87dip"
57        android:layout_height="58dip"
58        android:layout_gravity="center_vertical"
59        android:state_enabled="false"
60        android:background="@drawable/btn_dial_delete"
61        android:src="@drawable/ic_dial_action_delete" />
62</LinearLayout>
63
64