diff options
| author | Sai Cheemalapati <saicheems@google.com> | 2014-06-19 12:33:34 -0700 |
|---|---|---|
| committer | Sai Cheemalapati <saicheems@google.com> | 2014-06-20 14:58:12 -0700 |
| commit | 13b8948c0cc543f62a68fa32c4692ba16a2e93c6 (patch) | |
| tree | 64a355ff484d67726bd5c3e7ae8ae2afc24560d2 /res/layout-land | |
| parent | 4aac9d221bd23ae582e44064ffcadc90d06b220d (diff) | |
| download | packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.tar.gz packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.tar.bz2 packages_apps_PhoneCommon-13b8948c0cc543f62a68fa32c4692ba16a2e93c6.zip | |
Update Emergency Dialer to match Dialer (5/7).
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: Ia3b937c12fc133a04c10ba842df9e89012ba331d
Diffstat (limited to 'res/layout-land')
| -rw-r--r-- | res/layout-land/dialpad_key.xml | 43 | ||||
| -rw-r--r-- | res/layout-land/dialpad_key_one.xml | 48 |
2 files changed, 91 insertions, 0 deletions
diff --git a/res/layout-land/dialpad_key.xml b/res/layout-land/dialpad_key.xml new file mode 100644 index 0000000..29e6bf1 --- /dev/null +++ b/res/layout-land/dialpad_key.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 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. +--> + +<!-- A layout representing a single key in the dialpad --> +<com.android.phone.common.dialpad.DialpadKeyButton + xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/DialpadKeyButtonStyle" > + + <LinearLayout style="@style/DialpadKeyInternalLayoutStyle" + android:orientation="horizontal" + android:baselineAligned="false" + android:layout_gravity="right|center_vertical" > + + <!-- Note in the referenced styles that we assign hard widths to these components + because we want them to line up vertically when we arrange them in an MxN grid --> + + <com.android.phone.common.dialpad.DialpadTextView + android:id="@+id/dialpad_key_number" + style="@style/DialpadKeyNumberStyle" + android:layout_gravity="right" + android:layout_marginBottom="0dp" + android:layout_marginRight="@dimen/dialpad_key_margin_right" /> + + <TextView + android:id="@+id/dialpad_key_letters" + style="@style/DialpadKeyLettersStyle" + android:layout_width="@dimen/dialpad_key_text_width" + android:layout_gravity="right|bottom" /> + </LinearLayout> +</com.android.phone.common.dialpad.DialpadKeyButton> diff --git a/res/layout-land/dialpad_key_one.xml b/res/layout-land/dialpad_key_one.xml new file mode 100644 index 0000000..2890fd1 --- /dev/null +++ b/res/layout-land/dialpad_key_one.xml @@ -0,0 +1,48 @@ +<?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. +--> +<com.android.phone.common.dialpad.DialpadKeyButton + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/one" + style="@style/DialpadKeyButtonStyle"> + <LinearLayout + style="@style/DialpadKeyInternalLayoutStyle" + android:orientation="horizontal" + android:baselineAligned="false" + android:layout_gravity="right|center_vertical" > + <com.android.phone.common.dialpad.DialpadTextView + android:id="@+id/dialpad_key_number" + style="@style/DialpadKeyNumberStyle" + android:layout_gravity="right" + android:layout_marginBottom="0dp" + android:layout_marginRight="@dimen/dialpad_key_margin_right" /> + <RelativeLayout + android:layout_width="@dimen/dialpad_key_text_width" + android:layout_height="wrap_content" + android:layout_gravity="right|bottom" > + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingTop="@dimen/dialpad_voicemail_icon_padding_top" + android:id="@+id/dialpad_key_voicemail" + android:src="@drawable/ic_dialpad_vm" + android:scaleType="fitCenter" + android:layout_centerInParent="true" + android:tint="@color/dialpad_secondary_text_color" /> + <!-- Place empty text view so vertical height is same as other dialpad keys. --> + <TextView style="@style/DialpadKeyLettersStyle" /> + </RelativeLayout> + </LinearLayout> +</com.android.phone.common.dialpad.DialpadKeyButton> |
