Move more Dialpad resources to ContactsCommon
Change-Id: I021f35bdeb6f77345b920a1dba4ce39057c02c93
diff --git a/res-common/layout/dialpad.xml b/res-common/layout/dialpad.xml
index df6f527..de248c6 100644
--- a/res-common/layout/dialpad.xml
+++ b/res-common/layout/dialpad.xml
@@ -26,7 +26,7 @@
android:layoutDirection="ltr" >
<TableRow>
- <com.android.dialer.dialpad.DialpadKeyButton
+ <com.android.contacts.common.dialpad.DialpadKeyButton
android:id="@+id/one"
style="@style/DialpadKeyButtonStyle">
<LinearLayout
@@ -41,7 +41,7 @@
android:scaleType="fitStart"
android:baselineAlignBottom="true" />
</LinearLayout>
- </com.android.dialer.dialpad.DialpadKeyButton>
+ </com.android.contacts.common.dialpad.DialpadKeyButton>
<include layout="@layout/dialpad_key"
android:id="@+id/two"
style="@style/DialpadKeyButtonStyle" />
@@ -75,7 +75,7 @@
</TableRow>
<TableRow>
- <com.android.dialer.dialpad.DialpadKeyButton
+ <com.android.contacts.common.dialpad.DialpadKeyButton
android:id="@+id/star"
style="@style/DialpadKeyButtonStyle">
<LinearLayout
@@ -87,11 +87,11 @@
android:layout_height="match_parent"
android:layout_width="@dimen/dialpad_key_letters_width" />
</LinearLayout>
- </com.android.dialer.dialpad.DialpadKeyButton>
+ </com.android.contacts.common.dialpad.DialpadKeyButton>
<include layout="@layout/dialpad_key"
android:id="@+id/zero"
style="@style/DialpadKeyButtonStyle" />
- <com.android.dialer.dialpad.DialpadKeyButton
+ <com.android.contacts.common.dialpad.DialpadKeyButton
android:id="@+id/pound"
style="@style/DialpadKeyButtonStyle">
<LinearLayout
@@ -103,7 +103,7 @@
android:layout_height="match_parent"
android:layout_width="@dimen/dialpad_key_letters_width" />
</LinearLayout>
- </com.android.dialer.dialpad.DialpadKeyButton>
+ </com.android.contacts.common.dialpad.DialpadKeyButton>
</TableRow>
<TableRow>
diff --git a/res-common/layout/dialpad_key.xml b/res-common/layout/dialpad_key.xml
index abbe4f9..b7c373a 100644
--- a/res-common/layout/dialpad_key.xml
+++ b/res-common/layout/dialpad_key.xml
@@ -15,7 +15,7 @@
-->
<!-- A layout representing a single key in the dialpad -->
-<com.android.dialer.dialpad.DialpadKeyButton
+<com.android.contacts.common.dialpad.DialpadKeyButton
xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/DialpadKeyButtonStyle" >
@@ -32,4 +32,4 @@
android:id="@+id/dialpad_key_letters"
style="@style/DialpadKeyLettersStyle" />
</LinearLayout>
-</com.android.dialer.dialpad.DialpadKeyButton>
\ No newline at end of file
+</com.android.contacts.common.dialpad.DialpadKeyButton>
\ No newline at end of file
diff --git a/res-common/layout/dialpad_view.xml b/res-common/layout/dialpad_view.xml
index 148e5ac..3460f94 100644
--- a/res-common/layout/dialpad_view.xml
+++ b/res-common/layout/dialpad_view.xml
@@ -13,7 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<view class="com.android.dialer.dialpad.DialpadView"
+<view class="com.android.contacts.common.dialpad.DialpadView"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dialpad_view"
android:layout_height="wrap_content"
@@ -40,7 +40,7 @@
android:layout_height="@dimen/dialpad_digits_height"
android:orientation="horizontal">
- <view class="com.android.dialer.dialpad.DigitsEditText"
+ <view class="com.android.contacts.common.dialpad.DigitsEditText"
android:id="@+id/digits"
android:layout_width="0dp"
android:layout_height="match_parent"
diff --git a/res-common/values/strings.xml b/res-common/values/strings.xml
index 1de1ba0..db7cbce 100644
--- a/res-common/values/strings.xml
+++ b/res-common/values/strings.xml
@@ -736,6 +736,64 @@
-->
<string name="description_delete_button">backspace</string>
+ <string name="description_image_button_plus">plus</string>
+
+ <!-- String describing the Voicemail ImageButton
+
+ Used by AccessibilityService to announce the purpose of the button.
+ -->
+ <string name="description_voicemail_button">voicemail</string>
+
+ <!-- The digit to be displayed on the 0 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_0_number">0</string>
+ <!-- The digit to be displayed on the 1 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_1_number">1</string>
+ <!-- The digit to be displayed on the 2 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_2_number">2</string>
+ <!-- The digit to be displayed on the 3 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_3_number">3</string>
+ <!-- The digit to be displayed on the 4 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_4_number">4</string>
+ <!-- The digit to be displayed on the 5 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_5_number">5</string>
+ <!-- The digit to be displayed on the 6 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_6_number">6</string>
+ <!-- The digit to be displayed on the 7 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_7_number">7</string>
+ <!-- The digit to be displayed on the 8 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_8_number">8</string>
+ <!-- The digit to be displayed on the 9 key of the dialpad [CHAR LIMIT=1]-->
+ <string name="dialpad_9_number">9</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_star_number">*</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_pound_number">#</string>
+
+ <!-- Do not translate. -->
+ <string name="dialpad_0_letters">+</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_1_letters"></string>
+ <!-- Do not translate. -->
+ <string name="dialpad_2_letters">ABC</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_3_letters">DEF</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_4_letters">GHI</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_5_letters">JKL</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_6_letters">MNO</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_7_letters">PQRS</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_8_letters">TUV</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_9_letters">WXYZ</string>
+ <!-- Do not translate. -->
+ <string name="dialpad_star_letters"></string>
+ <!-- Do not translate. -->
+ <string name="dialpad_pound_letters"></string>
+
<!-- Attribution of a contact status update, when the time of update is unknown -->
<string name="contact_status_update_attribution">via <xliff:g id="source" example="Google Talk">%1$s</xliff:g></string>