Closed Bug 968878 Opened 10 years ago Closed 10 years ago

Misc tweaks in PanelGridView layout

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 30

People

(Reporter: lucasr, Assigned: lucasr)

References

Details

Attachments

(1 file)

So that it looks great on multiple screen sizes.
Comment on attachment 8371577 [details] [diff] [review]
Misc tweaks in PanelGridView's layout (r=margaret)

I'll show ibarlow some screenshots to get his input.
Attachment #8371577 - Flags: review?(margaret.leibovic)
Phone (portrait): https://www.dropbox.com/sc/hfq8pcs6exb76o1/Ra7IcEbmWu
Phone (landscape): https://www.dropbox.com/sc/cwoe75hmyjonoca/JN9bZ0EYUy
Small tablet (portrait): https://www.dropbox.com/sc/t32ijfe0ooq76ls/3uYSBNr86I
Small tablet (landscape): https://www.dropbox.com/sc/xe577m7vpsm0sxs/S1pYYOVj_q

Still need to get screenshots for large tablets.

Ian, does this look good for you?
Flags: needinfo?(ibarlow)
Looks pretty awesome :)
Flags: needinfo?(ibarlow)
Comment on attachment 8371577 [details] [diff] [review]
Misc tweaks in PanelGridView's layout (r=margaret)

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

I'd like to understand how these values were chosen, but this seems like a fine change to land. Screenshots look nice :)

::: mobile/android/base/resources/values-large-v11/dimens.xml
@@ +8,5 @@
>      <dimen name="browser_toolbar_height">56dp</dimen>
>      <dimen name="browser_toolbar_button_padding">16dp</dimen>
>      <dimen name="menu_popup_arrow_margin">8dip</dimen>
>      <dimen name="tabs_counter_size">26sp</dimen>
> +    <dimen name="panel_grid_view_column_width">200dp</dimen>

And we're still happy with the xlarge value as 250dp?
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/values-xlarge-v11/dimens.xml#15

Just trying to make sense of where all these values come from :)
Attachment #8371577 - Flags: review?(margaret.leibovic) → review+
(In reply to :Margaret Leibovic from comment #5)
> Comment on attachment 8371577 [details] [diff] [review]
> Misc tweaks in PanelGridView's layout (r=margaret)
> 
> Review of attachment 8371577 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> I'd like to understand how these values were chosen, but this seems like a
> fine change to land. Screenshots look nice :)
> 
> ::: mobile/android/base/resources/values-large-v11/dimens.xml
> @@ +8,5 @@
> >      <dimen name="browser_toolbar_height">56dp</dimen>
> >      <dimen name="browser_toolbar_button_padding">16dp</dimen>
> >      <dimen name="menu_popup_arrow_margin">8dip</dimen>
> >      <dimen name="tabs_counter_size">26sp</dimen>
> > +    <dimen name="panel_grid_view_column_width">200dp</dimen>
> 
> And we're still happy with the xlarge value as 250dp?
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/
> values-xlarge-v11/dimens.xml#15
> 
> Just trying to make sense of where all these values come from :)

Yep, 250dp for xlarge works just fine, no need to change it :-)
https://hg.mozilla.org/mozilla-central/rev/b9bd994b2ef5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
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: