• 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:clipChildren="false"
24  android:orientation="vertical">
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="@style/DialpadSpaceStyle"/>
31    <include layout="@layout/dialpad_key_one"/>
32    <include
33      android:id="@+id/two"
34      style="@style/DialpadKeyButtonStyle"
35      layout="@layout/dialpad_key"/>
36    <include
37      android:id="@+id/three"
38      style="@style/DialpadKeyButtonStyle"
39      layout="@layout/dialpad_key"/>
40    <Space style="@style/DialpadSpaceStyle"/>
41  </LinearLayout>
42
43  <LinearLayout
44    android:layout_width="match_parent"
45    android:layout_height="0dp"
46    android:layout_weight="1"
47    android:orientation="horizontal">
48    <Space style="@style/DialpadSpaceStyle"/>
49    <include
50      android:id="@+id/four"
51      style="@style/DialpadKeyButtonStyle"
52      layout="@layout/dialpad_key"/>
53    <include
54      android:id="@+id/five"
55      style="@style/DialpadKeyButtonStyle"
56      layout="@layout/dialpad_key"/>
57    <include
58      android:id="@+id/six"
59      style="@style/DialpadKeyButtonStyle"
60      layout="@layout/dialpad_key"/>
61    <Space style="@style/DialpadSpaceStyle"/>
62  </LinearLayout>
63
64  <LinearLayout
65    android:layout_width="match_parent"
66    android:layout_height="0dp"
67    android:layout_weight="1"
68    android:orientation="horizontal">
69    <Space style="@style/DialpadSpaceStyle"/>
70    <include
71      android:id="@+id/seven"
72      style="@style/DialpadKeyButtonStyle"
73      layout="@layout/dialpad_key"/>
74    <include
75      android:id="@+id/eight"
76      style="@style/DialpadKeyButtonStyle"
77      layout="@layout/dialpad_key"/>
78    <include
79      android:id="@+id/nine"
80      style="@style/DialpadKeyButtonStyle"
81      layout="@layout/dialpad_key"/>
82    <Space style="@style/DialpadSpaceStyle"/>
83  </LinearLayout>
84
85  <LinearLayout
86    android:layout_width="match_parent"
87    android:layout_height="0dp"
88    android:layout_weight="1"
89    android:orientation="horizontal">
90    <Space style="@style/DialpadSpaceStyle"/>
91    <include layout="@layout/dialpad_key_star"/>
92    <include layout="@layout/dialpad_key_zero"/>
93    <include layout="@layout/dialpad_key_pound"/>
94    <Space style="@style/DialpadSpaceStyle"/>
95  </LinearLayout>
96  <Space
97    android:layout_width="match_parent"
98    android:layout_height="?attr/dialpad_end_key_spacing"/>
99</LinearLayout>
100