Loading res/values/strings.xml +9 −1 Original line number Diff line number Diff line Loading @@ -499,6 +499,14 @@ \n<li><font fgcolor="#ffffffff"><b>Import contacts</b></font> to add contacts from your SD card\n</li>" </string> <!-- Displayed full screen when the user has no favorites and they are displaying the favorites tab --> <string name="noFavoritesHelpText">"You don't have any favorites.\n \nTo add a contact to your list of favorites:\n \n<li>Touch Contacts\n</li> \n<li>Touch the contact you want to add to your favorites\n</li> \n<li>Touch the star next to the contact\'s name\n</li>" </string> <!-- Activity title for the activity that lets the user choose which groups of contacts to sync from the server --> <string name="seclectSyncGroups_title">Select groups to sync</string> Loading src/com/android/contacts/ContactsListActivity.java +2 −1 Original line number Diff line number Diff line Loading @@ -615,6 +615,8 @@ public final class ContactsListActivity extends ListActivity implements if (mDisplayOnlyPhones) { empty.setText(getText(R.string.noContactsWithPhoneNumbers)); } else if (mMode == MODE_STREQUENT || mMode == MODE_STARRED) { empty.setText(getText(R.string.noFavoritesHelpText)); } else { boolean hasSim = ((TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE)) .hasIccCard(); Loading @@ -625,7 +627,6 @@ public final class ContactsListActivity extends ListActivity implements } else { empty.setText(getText(R.string.noContactsHelpText)); } } else { if (mSyncEnabled) { empty.setText(getText(R.string.noContactsNoSimHelpTextWithSync)); Loading Loading
res/values/strings.xml +9 −1 Original line number Diff line number Diff line Loading @@ -499,6 +499,14 @@ \n<li><font fgcolor="#ffffffff"><b>Import contacts</b></font> to add contacts from your SD card\n</li>" </string> <!-- Displayed full screen when the user has no favorites and they are displaying the favorites tab --> <string name="noFavoritesHelpText">"You don't have any favorites.\n \nTo add a contact to your list of favorites:\n \n<li>Touch Contacts\n</li> \n<li>Touch the contact you want to add to your favorites\n</li> \n<li>Touch the star next to the contact\'s name\n</li>" </string> <!-- Activity title for the activity that lets the user choose which groups of contacts to sync from the server --> <string name="seclectSyncGroups_title">Select groups to sync</string> Loading
src/com/android/contacts/ContactsListActivity.java +2 −1 Original line number Diff line number Diff line Loading @@ -615,6 +615,8 @@ public final class ContactsListActivity extends ListActivity implements if (mDisplayOnlyPhones) { empty.setText(getText(R.string.noContactsWithPhoneNumbers)); } else if (mMode == MODE_STREQUENT || mMode == MODE_STARRED) { empty.setText(getText(R.string.noFavoritesHelpText)); } else { boolean hasSim = ((TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE)) .hasIccCard(); Loading @@ -625,7 +627,6 @@ public final class ContactsListActivity extends ListActivity implements } else { empty.setText(getText(R.string.noContactsHelpText)); } } else { if (mSyncEnabled) { empty.setText(getText(R.string.noContactsNoSimHelpTextWithSync)); Loading