summaryrefslogtreecommitdiffstats
path: root/res/layout/dialpad.xml
diff options
context:
space:
mode:
authorSai Cheemalapati <saicheems@google.com>2014-06-19 12:33:34 -0700
committerSai Cheemalapati <saicheems@google.com>2014-06-20 11:27:27 -0700
commitc4a7bd9be54759105c0a9ea235ac5bda2c1b3f8f (patch)
tree664d9322649e4fdec4a078afefebf51d1d29df40 /res/layout/dialpad.xml
parent16f62c5ab5c21981e63d678187ad4b44e686332b (diff)
downloadpackages_apps_PhoneCommon-c4a7bd9be54759105c0a9ea235ac5bda2c1b3f8f.tar.gz
packages_apps_PhoneCommon-c4a7bd9be54759105c0a9ea235ac5bda2c1b3f8f.tar.bz2
packages_apps_PhoneCommon-c4a7bd9be54759105c0a9ea235ac5bda2c1b3f8f.zip
Update Emergency Dialer to match Dialer (5/5).
Emergency dialer style updated to match style in Dialer and InCallUI. Moved all dialpad resources to PhoneCommon. Change-Id: I9137a6114dad628309659b5381d501d7db2f455f
Diffstat (limited to 'res/layout/dialpad.xml')
-rw-r--r--res/layout/dialpad.xml111
1 files changed, 111 insertions, 0 deletions
diff --git a/res/layout/dialpad.xml b/res/layout/dialpad.xml
new file mode 100644
index 0000000..1fc1f6c
--- /dev/null
+++ b/res/layout/dialpad.xml
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2006 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.
+-->
+
+<!-- Dialpad in the Phone app. -->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/dialpad"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:clipChildren="false">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:orientation="horizontal">
+ <Space style="@style/DialpadSpaceStyle" />
+ <include layout="@layout/dialpad_key_one" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/two"
+ style="@style/DialpadKeyButtonStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/three"
+ style="@style/DialpadKeyButtonStyle" />
+ <Space style="@style/DialpadSpaceStyle" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:orientation="horizontal">
+ <Space style="@style/DialpadSpaceStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/four"
+ style="@style/DialpadKeyButtonStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/five"
+ style="@style/DialpadKeyButtonStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/six"
+ style="@style/DialpadKeyButtonStyle" />
+ <Space style="@style/DialpadSpaceStyle" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:orientation="horizontal">
+ <Space style="@style/DialpadSpaceStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/seven"
+ style="@style/DialpadKeyButtonStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/eight"
+ style="@style/DialpadKeyButtonStyle" />
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/nine"
+ style="@style/DialpadKeyButtonStyle" />
+ <Space style="@style/DialpadSpaceStyle" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:orientation="horizontal">
+ <Space style="@style/DialpadSpaceStyle" />
+ <com.android.phone.common.dialpad.DialpadKeyButton
+ android:id="@+id/star"
+ style="@style/DialpadKeyButtonStyle">
+ <LinearLayout
+ style="@style/DialpadKeyInternalLayoutStyle">
+ <com.android.phone.common.dialpad.DialpadTextView
+ android:id="@+id/dialpad_key_number"
+ style="@style/DialpadKeyStarStyle" />
+ </LinearLayout>
+ </com.android.phone.common.dialpad.DialpadKeyButton>
+ <include layout="@layout/dialpad_key"
+ android:id="@+id/zero"
+ style="@style/DialpadKeyButtonStyle" />
+ <com.android.phone.common.dialpad.DialpadKeyButton
+ android:id="@+id/pound"
+ style="@style/DialpadKeyButtonStyle">
+ <LinearLayout
+ style="@style/DialpadKeyInternalLayoutStyle">
+ <com.android.phone.common.dialpad.DialpadTextView
+ android:id="@id/dialpad_key_number"
+ style="@style/DialpadKeyPoundStyle" />
+ </LinearLayout>
+ </com.android.phone.common.dialpad.DialpadKeyButton>
+ <Space style="@style/DialpadSpaceStyle" />
+ </LinearLayout>
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/dialpad_bottom_key_height" />
+</LinearLayout>