Closed Bug 712687 Opened 13 years ago Closed 12 years ago

[ICS] Landscape should use a different layout

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(fennec11+)

RESOLVED FIXED
Firefox 12
Tracking Status
fennec 11+ ---

People

(Reporter: sriram, Assigned: sriram)

References

Details

Attachments

(2 files, 1 obsolete file)

The height of actionbar in landscape in ICS is just 40dp, the UI should be optimized for it. A new folder layout-land-v14/ is needed to match the landscape specific UI.
Attached patch WIP (obsolete) — Splinter Review
This WIP is almost close (until I saw Gingerbread :( ). It is pixel perfect on ICS.
The gingerbread is having few issues - basically due to a slight difference in the curvature and a font differences.
Attachment #583658 - Flags: review?(mark.finkle)
This is a screenshot of the URL bar with the changes in Gingerbread.
http://cl.ly/0m3d1K3O3S0W2F3w1432 -- This holds the spec as provided by Ian.
Assignee: nobody → sriram
Priority: -- → P2
Comment on attachment 583658 [details] [diff] [review]
WIP

The comment about Gingerbread is making me wonder if this patch is ready for review:
* Will this patch fix ICS only?
* Do we need another patch for Gingerbread?
Hardware: All → ARM
tracking-fennec: --- → 11+
Blocks: 715273
Blocks: 715283
Blocks: 715292
Blocks: 710850
Attached patch PatchSplinter Review
With new set of resources, this patch finally addresses gingerbread and ics properly. The font-size is made to be different for gingerbread (droid-sans) and ics (roboto) so that it stays on top of the arrow mark.
Attachment #583658 - Attachment is obsolete: true
Attachment #583658 - Flags: review?(mark.finkle)
Attachment #591950 - Flags: review?(mark.finkle)
Attachment #591950 - Flags: review?(mark.finkle) → review+
No longer blocks: 710850
https://hg.mozilla.org/mozilla-central/rev/7d5a6dae7d76
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Sriram, please request approval for aurora
Comment on attachment 591950 [details] [diff] [review]
Patch

[Approval Request Comment]
User impact if declined: 
The ICS will have a broken UI (in terms of UI polishing). It's better to have this UI as this is the latest as per UX team's design.

Testing completed (on m-c, etc.): Landed on m-c on 01/28
Testing done on the following devices:
1. Samsung S II (hdpi device running gingerbread)
2. Nexus S (hdpi device running ICS)
3. Galaxy Nexus (xhdpi device running ICS)
4. Samsung Galaxy Tab 10.1 (mdpi device running honeycomb)

Risk to taking this patch (and alternatives if risky):
This patch is not risky and wouldn't break anything existing as it is just replacing newer resources and fixing few pixels in the layout based on newer resources.
Attachment #591950 - Flags: approval-mozilla-aurora?
Attachment #591950 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 591950 [details] [diff] [review]
Patch

[Approval Request Comment]
User impact if declined: This bug has a more polished UI than what is currently available in beta build.

Risk to taking this patch (and alternatives if risky):
Risk is none as there are changes to UI layout only.

String changes made by this patch: None.
Attachment #591950 - Flags: approval-mozilla-beta?
Comment on attachment 591950 [details] [diff] [review]
Patch

[Triage Comment]
Mobile only - approved for Beta 11.
Attachment #591950 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment on attachment 591950 [details] [diff] [review]
Patch

Clearing approval for Aurora 12 and Beta 11 because we are not currently planning a Native Fennec release of these versions.  If this changes in the future, we will likely do a mass uplift of all native fennec changes.  For now, let's get these bugs off the channel triage radar.

[Filter on the string "mbrubeck-bugspam" if you want to delete all of these emails at once.]
Attachment #591950 - Flags: approval-mozilla-beta+
Attachment #591950 - Flags: approval-mozilla-aurora+
sriram, can you help me understand what is going on with

mobile/android/base/resources/drawable/tabs_button_tail.xml

It appears to be deleted in a merge commit:

http://hg.mozilla.org/integration/mozilla-inbound/rev/c4c50dc6317c#l366.1

Can you verify it is correctly referenced in

mobile/android/base/resources/drawable/gecko_actionbar_bg.xml

Does this need to be fixed?
(In reply to Nick Alexander :nalexander from comment #14)
> sriram, can you help me understand what is going on with
> 
> mobile/android/base/resources/drawable/tabs_button_tail.xml
> 
> It appears to be deleted in a merge commit:
> 
> http://hg.mozilla.org/integration/mozilla-inbound/rev/c4c50dc6317c#l366.1
> 
> Can you verify it is correctly referenced in
> 
> mobile/android/base/resources/drawable/gecko_actionbar_bg.xml
> 
> Does this need to be fixed?

There is some piece of junk code residing in our code base. We need to clean that up. They are not in the Makefile.in This was used to show a tail behind the menu button (long long ago). Please file a bug. I'll clean this up.
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: