diff options
author | Chiao Cheng <chiaocheng@google.com> | 2012-12-04 15:44:17 -0800 |
---|---|---|
committer | Chiao Cheng <chiaocheng@google.com> | 2012-12-04 15:44:17 -0800 |
commit | 333d375e891fa1d5285f0d8d514b85a30e707caf (patch) | |
tree | 953a6b961a5225803e350d2799a2919daba18e59 /res | |
parent | e420de7fca9005d7084be275f268962a14094a22 (diff) | |
download | android_packages_apps_ContactsCommon-333d375e891fa1d5285f0d8d514b85a30e707caf.tar.gz android_packages_apps_ContactsCommon-333d375e891fa1d5285f0d8d514b85a30e707caf.tar.bz2 android_packages_apps_ContactsCommon-333d375e891fa1d5285f0d8d514b85a30e707caf.zip |
Moving ImportExportDialogFragment to ContactCommon.
This completes the dependency clean-up of the PhoneFavoriteFragment in the
dialer.
Bug: 6993891
Change-Id: I76200a7b2f6bc3c8d5e229b70c3cdf9998d32ec2
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/select_dialog_item.xml | 33 | ||||
-rw-r--r-- | res/values/donottranslate_config.xml | 13 | ||||
-rw-r--r-- | res/values/strings.xml | 15 |
3 files changed, 61 insertions, 0 deletions
diff --git a/res/layout/select_dialog_item.xml b/res/layout/select_dialog_item.xml new file mode 100644 index 00000000..d49ae10c --- /dev/null +++ b/res/layout/select_dialog_item.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<!-- + List item in the pop-up window that appears when tapping a contact's photo + in the contact editor. This is similar to the framework's select_dialog_item.xml layout + except the text appearance is medium. +--> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/text1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="?android:attr/textColorAlertDialogListItem" + android:gravity="center_vertical" + android:paddingLeft="14dip" + android:paddingRight="15dip" + android:ellipsize="marquee" +/> diff --git a/res/values/donottranslate_config.xml b/res/values/donottranslate_config.xml index f2628cae..fe690ada 100644 --- a/res/values/donottranslate_config.xml +++ b/res/values/donottranslate_config.xml @@ -71,4 +71,17 @@ exist in a target directory, 00003.vcf becomes a next file name candidate. Without this configuration, 00002.vcf becomes the candidate.--> <string name="config_export_extensions_to_consider" translatable="false"></string> + + <!-- If true, enable the "import contacts from SIM" feature if the device + has an appropriate SIM or ICC card. + Setting this flag to false in a resource overlay allows you to + entirely disable SIM import on a per-product basis. --> + <bool name="config_allow_sim_import">true</bool> + + <!-- Flag indicating whether Contacts app is allowed to export contacts to SDCard --> + <bool name="config_allow_export_to_sdcard">true</bool> + + <!-- Flag indicating whether Contacts app is allowed to share contacts with devices outside --> + <bool name="config_allow_share_visible_contacts">true</bool> + </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index f2a8e440..befa813c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -646,4 +646,19 @@ a ren't members of any other group. [CHAR LIMIT=25] --> [CHAR LIMIT=20] --> <string name="progress_notifier_message">Importing <xliff:g id="current_number">%s</xliff:g>/<xliff:g id="total_number">%s</xliff:g>: <xliff:g id="name" example="Joe Due">%s</xliff:g></string> + <!-- Action that exports all contacts to (USB) storage [CHAR LIMIT=25] --> + <string name="export_to_sdcard" product="default">Export to storage</string> + + <!-- Action that shares visible contacts --> + <string name="share_visible_contacts">Share visible contacts</string> + + <!-- Dialog title when selecting the bulk operation to perform from a list. [CHAR LIMIT=36] --> + <string name="dialog_import_export">Import/export contacts</string> + + <!-- Dialog title when importing contacts from an external source. [CHAR LIMIT=36] --> + <string name="dialog_import">Import contacts</string> + + <!-- Toast indicating that sharing a contact has failed. [CHAR LIMIT=NONE] --> + <string name="share_error">This contact can\'t be shared.</string> + </resources> |