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