summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Garcia Albertos <oliverarafo@gmail.com>2012-12-29 21:59:14 +0000
committerOliver Garcia Albertos <oliverarafo@gmail.com>2012-12-29 21:59:14 +0000
commit3b9ddc2df3fc68fbe54e5d3abe00f335986b4957 (patch)
treec2d69ebd2edc0b1db189ba966165ec1e9ba566d3
parent5002b8266a6aaece136b9e86cb5115b5c48e8c57 (diff)
downloadpackages_apps_Contacts-jellybean.tar.gz
packages_apps_Contacts-jellybean.tar.bz2
packages_apps_Contacts-jellybean.zip
Contacts: fix mdpi layout issuesjellybean
Change-Id: Ifcec764ff0f266e56e249bea8308dd79d843202b Before: goo.gl/ZqhBp After: goo.gl/x9mIS
-rw-r--r--res/layout-land-mdpi/dialpad.xml94
1 files changed, 94 insertions, 0 deletions
diff --git a/res/layout-land-mdpi/dialpad.xml b/res/layout-land-mdpi/dialpad.xml
new file mode 100644
index 000000000..4b6949f70
--- /dev/null
+++ b/res/layout-land-mdpi/dialpad.xml
@@ -0,0 +1,94 @@
+<?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. -->
+<TableLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/dialpad"
+ android:layout_width="35dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:layout_marginTop="@dimen/dialpad_vertical_margin"
+ android:paddingLeft="5dip">
+
+ <TableRow
+ android:layout_height="0px"
+ android:layout_weight="1">
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/one" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_1_wht"
+ android:contentDescription="@string/description_image_button_one" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/two" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_2_wht"
+ android:contentDescription="@string/description_image_button_two" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/three" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_3_wht"
+ android:contentDescription="@string/description_image_button_three" />
+ </TableRow>
+
+ <TableRow
+ android:layout_height="0px"
+ android:layout_weight="1">
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/four" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_4_wht"
+ android:contentDescription="@string/description_image_button_four" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/five" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_5_wht"
+ android:contentDescription="@string/description_image_button_five" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/six" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_6_wht"
+ android:contentDescription="@string/description_image_button_six" />
+ </TableRow>
+
+ <TableRow
+ android:layout_height="0px"
+ android:layout_weight="1">
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/seven" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_7_wht"
+ android:contentDescription="@string/description_image_button_seven" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/eight" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_8_wht"
+ android:contentDescription="@string/description_image_button_eight" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/nine" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_9_wht"
+ android:contentDescription="@string/description_image_button_nine" />
+ </TableRow>
+
+ <TableRow
+ android:layout_height="0px"
+ android:layout_weight="1">
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/star" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_star_wht"
+ android:contentDescription="@string/description_image_button_star" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/zero" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_0_wht"
+ android:contentDescription="@string/description_image_button_zero" />
+ <com.android.contacts.dialpad.DialpadImageButton
+ android:id="@+id/pound" style="@style/DialtactsDialpadButtonStyle"
+ android:src="@drawable/dial_num_pound_wht"
+ android:contentDescription="@string/description_image_button_pound" />
+ </TableRow>
+</TableLayout>