diff options
author | Andrew Lee <anwlee@google.com> | 2014-06-11 18:10:57 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-06-11 18:10:57 -0700 |
commit | 39f773e8a64ec1b770b2679871b7c44cac7243d2 (patch) | |
tree | 4795419ae68da8a3c26de77ed8c31c6408b6c8c9 /src | |
parent | 28aab271e57a4966496b5d2ef2b067e8ace34679 (diff) |
Update strings for empty lists in Dialer.
Also, some slight renaming for consistency across dialer.
Bug: 15513399
Change-Id: Ia66084630fc9473dc24303aab0d777e1bde1b41a
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/list/AllContactsFragment.java | 2 | ||||
-rw-r--r-- | src/com/android/dialer/list/SpeedDialFragment.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/dialer/list/AllContactsFragment.java b/src/com/android/dialer/list/AllContactsFragment.java index ddcb15df4..e4314db60 100644 --- a/src/com/android/dialer/list/AllContactsFragment.java +++ b/src/com/android/dialer/list/AllContactsFragment.java @@ -52,7 +52,7 @@ public class AllContactsFragment extends ContactEntryListFragment<ContactEntryLi View emptyListView = view.findViewById(R.id.empty_list_view); DialerUtils.configureEmptyListView(emptyListView, R.drawable.empty_contacts, - R.string.listFoundAllContactsZero, getResources()); + R.string.all_contacts_empty, getResources()); getListView().setEmptyView(emptyListView); ViewUtil.addBottomPaddingToListViewForFab(getListView(), getResources()); diff --git a/src/com/android/dialer/list/SpeedDialFragment.java b/src/com/android/dialer/list/SpeedDialFragment.java index c21449288..a04d4ccef 100644 --- a/src/com/android/dialer/list/SpeedDialFragment.java +++ b/src/com/android/dialer/list/SpeedDialFragment.java @@ -197,7 +197,7 @@ public class SpeedDialFragment extends Fragment implements OnItemClickListener, @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - mParentView = inflater.inflate(R.layout.speeddial_fragment, container, false); + mParentView = inflater.inflate(R.layout.speed_dial_fragment, container, false); mListView = (PhoneFavoriteListView) mParentView.findViewById(R.id.contact_tile_list); mListView.setOnItemClickListener(this); @@ -213,7 +213,7 @@ public class SpeedDialFragment extends Fragment implements OnItemClickListener, final Resources resources = getResources(); mEmptyView = mParentView.findViewById(R.id.empty_list_view); DialerUtils.configureEmptyListView( - mEmptyView, R.drawable.empty_speed_dial, R.string.no_favorites, getResources()); + mEmptyView, R.drawable.empty_speed_dial, R.string.speed_dial_empty, getResources()); mContactTileFrame = mParentView.findViewById(R.id.contact_tile_frame); |