Bug 905162 - Misc empty view tweaks. r=lucasr

This commit is contained in:
Chenxia Liu 2013-08-14 23:24:21 +01:00
Родитель cdf7e8d6d1
Коммит 5e7f5fca92
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -167,7 +167,7 @@ public class LastTabsPage extends HomeFragment {
if (mEmptyView == null) {
// Set empty page view. We delay this so that the empty view won't flash.
ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub);
final ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub);
mEmptyView = emptyViewStub.inflate();
final ImageView emptyIcon = (ImageView) mEmptyView.findViewById(R.id.home_empty_image);

Просмотреть файл

@ -172,7 +172,7 @@ public class MostRecentPage extends HomeFragment {
if (mEmptyView == null) {
// Set empty page view. We delay this so that the empty view won't flash.
ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub);
final ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub);
mEmptyView = emptyViewStub.inflate();
final ImageView emptyIcon = (ImageView) mEmptyView.findViewById(R.id.home_empty_image);