Closed
Bug 758798
Opened 12 years ago
Closed 12 years ago
Liberate TextSwitcher from different font-sizes.
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 15
People
(Reporter: sriram, Assigned: sriram)
Details
Attachments
(1 file)
13.85 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
As per the font-sizes used and the action-bar height, the tabs counter should have the following values: gingerbread - 22sp. honeycomb - 24sp. ics - portrait - 24sp. ics - landscape - 20sp. ics - tablet - 26sp. It's better to have them in dimens.xml instead of doing them in code.
Assignee | ||
Comment 1•12 years ago
|
||
This patches adds different dimens.xml to deal with different sizes. The color is now with colors.xml (killing mCounterColor, yaaay!) The layout is moved to tabs_counter.xml, and inflated when needed. The other approach would be to inflate once, clone it and fix the text-size. I can try doing that.
Attachment #627372 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 2•12 years ago
|
||
Update: clone() cannot be used on TextView as the access is barred in Android. So, the above patch is the best way to do.
Updated•12 years ago
|
Attachment #627372 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/16cf8e199b6a
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/16cf8e199b6a
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•