• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 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<!-- Dialpad in the Phone app. -->
18<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/dialpad"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:orientation="vertical"
24    android:clipChildren="false">
25    <LinearLayout
26        android:layout_width="match_parent"
27        android:layout_height="0dp"
28        android:layout_weight="1"
29        android:orientation="horizontal">
30        <Space style="?attr/dialpad_margin_style" />
31        <include layout="@layout/dialpad_key_one" />
32        <include layout="@layout/dialpad_key"
33            android:id="@+id/two"
34            style="@style/DialpadKeyButtonStyle" />
35        <include layout="@layout/dialpad_key"
36            android:id="@+id/three"
37            style="@style/DialpadKeyButtonStyle" />
38        <Space style="?attr/dialpad_margin_style" />
39    </LinearLayout>
40
41    <LinearLayout
42        android:layout_width="match_parent"
43        android:layout_height="0dp"
44        android:layout_weight="1"
45        android:orientation="horizontal">
46        <Space style="?attr/dialpad_margin_style" />
47        <include layout="@layout/dialpad_key"
48            android:id="@+id/four"
49            style="@style/DialpadKeyButtonStyle" />
50        <include layout="@layout/dialpad_key"
51            android:id="@+id/five"
52            style="@style/DialpadKeyButtonStyle" />
53        <include layout="@layout/dialpad_key"
54            android:id="@+id/six"
55            style="@style/DialpadKeyButtonStyle" />
56        <Space style="?attr/dialpad_margin_style" />
57    </LinearLayout>
58
59    <LinearLayout
60        android:layout_width="match_parent"
61        android:layout_height="0dp"
62        android:layout_weight="1"
63        android:orientation="horizontal">
64        <Space style="?attr/dialpad_margin_style" />
65        <include layout="@layout/dialpad_key"
66            android:id="@+id/seven"
67            style="@style/DialpadKeyButtonStyle" />
68        <include layout="@layout/dialpad_key"
69            android:id="@+id/eight"
70            style="@style/DialpadKeyButtonStyle" />
71        <include layout="@layout/dialpad_key"
72            android:id="@+id/nine"
73            style="@style/DialpadKeyButtonStyle" />
74        <Space style="?attr/dialpad_margin_style" />
75    </LinearLayout>
76
77    <LinearLayout
78        android:layout_width="match_parent"
79        android:layout_height="0dp"
80        android:layout_weight="1"
81        android:orientation="horizontal">
82        <Space style="?attr/dialpad_margin_style" />
83        <include layout="@layout/dialpad_key_star" />
84        <include layout="@layout/dialpad_key_zero" />
85        <include layout="@layout/dialpad_key_pound" />
86        <Space style="?attr/dialpad_margin_style" />
87    </LinearLayout>
88    <Space
89        android:layout_width="match_parent"
90        android:layout_height="@dimen/dialpad_bottom_space_height" />
91</LinearLayout>
92