Closed Bug 901064 Opened 11 years ago Closed 11 years ago

TopBookmarksView shows a divider during startup

Categories

(Firefox for Android Graveyard :: Add-on Manager, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: sriram, Assigned: sriram)

References

Details

(Whiteboard: fixed-fig)

Attachments

(1 file)

The padding in the TopBookmarksView makes it have a default minimum size, which makes the enclosing list view show a divider. Kill it.
Assignee: nobody → sriram
Attached patch PatchSplinter Review
Attachment #785133 - Flags: review?(margaret.leibovic)
Comment on attachment 785133 [details] [diff] [review]
Patch

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

::: mobile/android/base/home/TopBookmarksView.java
@@ +152,3 @@
>  
> +        if (adapter == null || (count = adapter.getCount()) == 0) {
> +            setMeasuredDimension(0, 0);

Add a comment about why we're doing this.
Attachment #785133 - Flags: review?(margaret.leibovic) → review+
Summary: TopBookmarksView should a divider during startup → TopBookmarksView shows a divider during startup
https://hg.mozilla.org/mozilla-central/rev/d51f4bd67608
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: