Closed Bug 1074273 Opened 10 years ago Closed 7 years ago

Search entry and search results don't use same padding

Categories

(Firefox for Android Graveyard :: Search Activity, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lucasr, Unassigned)

References

Details

Attachments

(1 file)

Either add padding to search results or remove some padding from search entry?
Attached image Screenshot
Oh, that's because part of that padding is actually inside the WebView. We can reduce the padding above the WebView, but that may make things look bad for other search providers. Or, since we're already tweaking the CSS for this results page, perhaps we can tweak it more to get rid of this top-most padding.
Flags: needinfo?(alam)
Blocks: search
(In reply to :Margaret Leibovic from comment #2)
> Oh, that's because part of that padding is actually inside the WebView. We
> can reduce the padding above the WebView, but that may make things look bad
> for other search providers. Or, since we're already tweaking the CSS for
> this results page, perhaps we can tweak it more to get rid of this top-most
> padding.

I meant the left and right paddings btw :-)
(In reply to Lucas Rocha (:lucasr) from comment #3)
> (In reply to :Margaret Leibovic from comment #2)
> > Oh, that's because part of that padding is actually inside the WebView. We
> > can reduce the padding above the WebView, but that may make things look bad
> > for other search providers. Or, since we're already tweaking the CSS for
> > this results page, perhaps we can tweak it more to get rid of this top-most
> > padding.
> 
> I meant the left and right paddings btw :-)

Oh :)

Well the same problem exists that this is something that will vary per search provider. For example, Bing doesn't put any margin around its results. So, we could update our padding values to match Google/Yahoo (it looks like they use the same values), and then we just don't need to worry about matching if the results don't have any padding.
(In reply to Lucas Rocha (:lucasr) from comment #3)
> I meant the left and right paddings btw :-)

ah, thought you were talking about top padding hah

But yes, V1 issue that stems from using a WebView.
Flags: needinfo?(alam)
(In reply to Anthony Lam (:antlam) from comment #5)
> (In reply to Lucas Rocha (:lucasr) from comment #3)
> > I meant the left and right paddings btw :-)
> 
> ah, thought you were talking about top padding hah

Yeah, the top padding is separate issue. In the current UI, the web content seems to scroll off into thin air, which looks a bit weird. This can be easily solvable in the native part of the UI by simply using clipToPadding=false in the ListViews.

Margaret, shall I file a separate bug?
(In reply to Lucas Rocha (:lucasr) from comment #6)
> (In reply to Anthony Lam (:antlam) from comment #5)
> > (In reply to Lucas Rocha (:lucasr) from comment #3)
> > > I meant the left and right paddings btw :-)
> > 
> > ah, thought you were talking about top padding hah
> 
> Yeah, the top padding is separate issue. In the current UI, the web content
> seems to scroll off into thin air, which looks a bit weird. This can be
> easily solvable in the native part of the UI by simply using
> clipToPadding=false in the ListViews.
> 
> Margaret, shall I file a separate bug?

Do you mean a bug for the scrolling of search history/suggestions? A separate bug about that would be good. We just unfortunately don't have much control over what the WebView content is doing.
This is an ex-Search Activity now (bug 1221344).
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
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: