diff options
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/layout/dialpad.xml')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout/dialpad.xml | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/java/com/android/dialer/dialpadview/res/layout/dialpad.xml b/java/com/android/dialer/dialpadview/res/layout/dialpad.xml new file mode 100644 index 000000000..5a14d14ea --- /dev/null +++ b/java/com/android/dialer/dialpadview/res/layout/dialpad.xml @@ -0,0 +1,99 @@ +<?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:clipChildren="false" + android:orientation="vertical"> + <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 + android:id="@+id/two" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <include + android:id="@+id/three" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <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 + android:id="@+id/four" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <include + android:id="@+id/five" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <include + android:id="@+id/six" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <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 + android:id="@+id/seven" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <include + android:id="@+id/eight" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <include + android:id="@+id/nine" + style="@style/DialpadKeyButtonStyle" + layout="@layout/dialpad_key"/> + <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_star"/> + <include layout="@layout/dialpad_key_zero"/> + <include layout="@layout/dialpad_key_pound"/> + <Space style="@style/DialpadSpaceStyle"/> + </LinearLayout> + <Space + android:layout_width="match_parent" + android:layout_height="?attr/dialpad_end_key_spacing"/> +</LinearLayout> |