Closed Bug 904689 Opened 11 years ago Closed 11 years ago

Implement empty screen state for "Most Visited" page

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: lucasr, Assigned: lucasr)

References

Details

(Whiteboard: [fixed-fig])

Attachments

(1 file)

Same as the others.
Assignee: nobody → lucasr.at.mozilla
Comment on attachment 790209 [details] [diff] [review]
Implement empty screen state for "Most Visited" page

Review of attachment 790209 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/base/home/MostVisitedPage.java
@@ +91,5 @@
>  
>      @Override
>      public void onViewCreated(View view, Bundle savedInstanceState) {
> +        mTitle = (TextView) view.findViewById(R.id.title);
> +        if (mTitle != null) {

Is this for tablet, where we might not have a title? I'll take note of that, for the other empty pages.
Attachment #790209 - Flags: review?(liuche) → review+
(In reply to Chenxia Liu [:liuche] from comment #2)
> Comment on attachment 790209 [details] [diff] [review]
> Implement empty screen state for "Most Visited" page
> 
> Review of attachment 790209 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: mobile/android/base/home/MostVisitedPage.java
> @@ +91,5 @@
> >  
> >      @Override
> >      public void onViewCreated(View view, Bundle savedInstanceState) {
> > +        mTitle = (TextView) view.findViewById(R.id.title);
> > +        if (mTitle != null) {
> 
> Is this for tablet, where we might not have a title? I'll take note of that,
> for the other empty pages.

Yep. Tablet UI doesn't have the title view.
Pushed: http://hg.mozilla.org/projects/fig/rev/7e1b879c9857
Whiteboard: [fixed-fig]
https://hg.mozilla.org/mozilla-central/rev/7e1b879c9857
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: