summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2012-10-31 11:12:12 -0700
committerChiao Cheng <chiaocheng@google.com>2012-10-31 15:10:47 -0700
commit9c5fe4420bc1a1fe4edcac99e1f73b13bca63fa2 (patch)
tree564e70adc0d48d154739c5b1d43859146a8a4c69 /res
parentfe000c2346f425fb76f14b36e5cb8360929f8a1e (diff)
Moving PhoneNumberInteraction from Contacts.
Bug: 6993891 Change-Id: Id4701c00455de609850a5afea74e68c6bd84cbb3
Diffstat (limited to 'res')
-rwxr-xr-xres/layout/phone_disambig_item.xml40
-rw-r--r--res/layout/set_primary_checkbox.xml32
-rw-r--r--res/values/strings.xml8
3 files changed, 80 insertions, 0 deletions
diff --git a/res/layout/phone_disambig_item.xml b/res/layout/phone_disambig_item.xml
new file mode 100755
index 000000000..a31d08d32
--- /dev/null
+++ b/res/layout/phone_disambig_item.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingLeft="30dip"
+ android:paddingRight="30dip"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+ android:gravity="center_vertical">
+
+ <TextView
+ android:id="@android:id/text1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textStyle="bold"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@android:id/text2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="-4dip"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+</LinearLayout>
diff --git a/res/layout/set_primary_checkbox.xml b/res/layout/set_primary_checkbox.xml
new file mode 100644
index 000000000..8f28ec791
--- /dev/null
+++ b/res/layout/set_primary_checkbox.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="14dip"
+ android:paddingRight="15dip"
+ android:orientation="vertical">
+
+ <CheckBox
+ android:id="@+id/setPrimary"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:focusable="true"
+ android:clickable="true"
+ android:text="@string/make_primary"/>
+</LinearLayout>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1346d0d50..86c36c493 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -178,4 +178,12 @@
<xliff:g id="date">%2$s</xliff:g>
</string>
+ <!-- Title for the sms disambiguation dialog -->
+ <string name="sms_disambig_title">Choose number</string>
+
+ <!-- Title for the call disambiguation dialog -->
+ <string name="call_disambig_title">Choose number</string>
+
+ <!-- Message next to disamgiguation dialog check box -->
+ <string name="make_primary">Remember this choice</string>
</resources>