Closed Bug 907188 Opened 12 years ago Closed 12 years ago

[Fig] - Do something with footer on an empty state bookmarks pane

Categories

(Firefox for Android Graveyard :: General, defect)

26 Branch
All
Android
defect
Not set
normal

Tracking

(firefox26 verified)

VERIFIED FIXED
Firefox 26
Tracking Status
firefox26 --- verified

People

(Reporter: aaronmt, Assigned: sriram)

References

Details

(Keywords: polish)

Attachments

(2 files)

Attached image screenshot
Currently on empty state in the bookmarks pane there is a dividing line with nothing underneath. Perhaps a tip can be added for the pane or the dividing line can be removed. See screenshot (annotated in red)
ibarlow, any input here?
Flags: needinfo?(ibarlow)
Keywords: polish
Hardware: ARM → All
I'm not sure what kind of tip we would provide here, since we already have the blank "add bookmark" things. I would prefer to simply remove the divider line and only show it when the list fills up beyond what the thumbnails can show.
Flags: needinfo?(ibarlow)
Attached patch PatchSplinter Review
1. Doesn't enable the dividers during startup (avoids a divider flashing until the list is ready). 2. Enables/disables dividers based on entries in the list.
Attachment #794234 - Flags: review?(lucasr.at.mozilla)
Comment on attachment 794234 [details] [diff] [review] Patch Review of attachment 794234 [details] [diff] [review]: ----------------------------------------------------------------- Nice. ::: mobile/android/base/home/BookmarksPage.java @@ +410,5 @@ > + if (c == null || c.getCount() == 0) { > + mList.setHeaderDividersEnabled(false); > + } else { > + mList.setHeaderDividersEnabled(true); > + } nit: I'd simplify this like: // Only show header dividers if the list is not empty mList.setHeaderDividersEnabled(c != null && c.getCount() > 0);
Attachment #794234 - Flags: review?(lucasr.at.mozilla) → review+
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Status: RESOLVED → VERIFIED
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: