Closed Bug 887244 Opened 11 years ago Closed 11 years ago

Style list view dividers in new about:home as per design

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: lucasr, Unassigned)

References

Details

(Whiteboard: fixed-fig)

Attachments

(2 files, 1 obsolete file)

No description provided.
Attachment #767751 - Flags: review?(sriram)
Comment on attachment 767751 [details] [diff] [review] (1/2) Fix typo in BaseListView style name Review of attachment 767751 [details] [diff] [review]: ----------------------------------------------------------------- Oops.
Attachment #767751 - Flags: review?(sriram) → review+
Comment on attachment 767752 [details] [diff] [review] (2/2) Style list view dividers in new about:home as per design Review of attachment 767752 [details] [diff] [review]: ----------------------------------------------------------------- I somehow don't like this approach. The idea behind HomeListView using @android:attr/listViewStyle is that all those list views look one and the same, and we can set a theme level attribute. Adding a style attribute for each XML block somehow doesn't fit with that approach. Here's how I would do it: 1. Add a theme level attribute "homeListViewStyle" to attrs.xml. 2. Use this attribute as default style in HomeListView. 3. Add a Widget.HomeListView style in styles.xml that inherits from Widget.ListView and make changes needed.
Attachment #767752 - Flags: review?(sriram) → review-
Priority: -- → P1
Attachment #767752 - Attachment is obsolete: true
Comment on attachment 772705 [details] [diff] [review] Style list view dividers in new about:home as per design Review of attachment 772705 [details] [diff] [review]: ----------------------------------------------------------------- You would have to add it in values-v11/themes.xml too. r+ with that.
Attachment #772705 - Flags: review?(sriram) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
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: