Closed Bug 760234 Opened 12 years ago Closed 12 years ago

URL bar should have orange highlight

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 15

People

(Reporter: sriram, Assigned: sriram)

Details

Attachments

(2 files, 1 obsolete file)

The newer designs for tablet URL bar in bug 739355, they have an orange highlight. This needs to be added for both tablets and phones.
Assignee: nobody → sriram
OS: Mac OS X → Android
Hardware: x86 → ARM
This has the orange highlight just for the tablets.
Once we decide on having it for phones too (as a part of separate patch), the tablet based checks, and the GeckoStateListDrawable can be removed.

(This check might need to be added for the EditText in find-in-page, once that lands in central)
Attachment #628849 - Flags: review?(mark.finkle)
This is bit-trotted to be inbound ready. This applies the orange highlight for find-in-page too.
Attachment #628849 - Attachment is obsolete: true
Attachment #628849 - Flags: review?(mark.finkle)
Attachment #628894 - Flags: review?(mark.finkle)
This adds orange highlight for phones.
This removes the code for applying the highlight color on-the-go.

The "getHighlightColor()" can be removed, once the awesombar has newer tabs.

[Some tears for deleting the hardest hack I ever did: GeckoStateListDrawable.java]

** This needs clobbering **
Attachment #628896 - Flags: review?(mark.finkle)
Comment on attachment 628894 [details] [diff] [review]
Patch (1/2): Orange highlight for tablet

The isTablet changes drive me crazy, but thankfully those are removed in the next patch
Attachment #628894 - Flags: review?(mark.finkle) → review+
Comment on attachment 628896 [details] [diff] [review]
Patch (2/2): Orange highlight for phone

>diff --git a/mobile/android/base/BrowserToolbar.java b/mobile/android/base/BrowserToolbar.java

>     public int getHighlightColor() {
>-        return mColor;
>+        return 0xFFFF9500;

Can we just remove this function altogether?
Attachment #628896 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/7e16c8941d44
https://hg.mozilla.org/mozilla-central/rev/bff1e8c1bc88
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Verified using Samsung Galaxy Tab 10.1 (Android 3.1) and HTC Desire Z (Android 2.3) on:
Firefox 19.0b5 build 2 (2013-02-06), Nightly 21.0a1(2013-02-07) and Aurora 20.0a2(2013-02-07).
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: