Closed
Bug 1241941
Opened 9 years ago
Closed 9 years ago
[Lint: ScrollViewSize] Fix ScrollView size validation error
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox47 fixed)
RESOLVED
FIXED
Firefox 47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: vivek, Assigned: malayaleecoder, NeedInfo)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
vivek
:
review+
mcomella
:
review+
|
Details | Diff | Splinter Review |
Linear layout inside scroll view should use wrap_content instead of match_parent for height [1], [2], [3].
[1] https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/layout/firstrun_import_fragment.xml#14
[2] https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/layout/firstrun_sync_fragment.xml#14
[3] https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/layout/firstrun_welcome_fragment.xml#14
Updated•9 years ago
|
Blocks: android-lint
Assignee | ||
Comment 1•9 years ago
|
||
The first file in the above mentioned list is not found. Made the change in the other two files. Please have a look.
Flags: needinfo?(vivekb.balakrishnan)
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(michael.l.comella)
Updated•9 years ago
|
Flags: needinfo?(michael.l.comella)
Summary: [Lint] Fix ScrollView size validation error → [Lint: ScrollViewSize] Fix ScrollView size validation error
Comment 2•9 years ago
|
||
Comment on attachment 8725385 [details] [diff] [review]
Bug1241941_v1.diff
Review of attachment 8725385 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! However, the code for the first file was moved here:
https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/layout/firstrun_basepanel_fragment.xml#14
Can you update that one too?
btw, you can find the most up-to-date lint issues by running `mach gradle app:lint` and opening the result file.
Attachment #8725385 -
Flags: feedback+
Updated•9 years ago
|
Assignee: nobody → malayaleecoder
Assignee | ||
Comment 3•9 years ago
|
||
Hello Comella
I was not able to run 'mach gradle app:lint' as it thrower out some error(which I will get it fixed from IRC). Anyway, I have done the necessary changes to the first file also. Please check.
Cheers.
Attachment #8725385 -
Attachment is obsolete: true
Attachment #8725662 -
Flags: review?(michael.l.comella)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8725662 [details] [diff] [review]
Bug1241941_v2.diff
Review of attachment 8725662 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM.
Micheal,
Can you please do a super review?
Attachment #8725662 -
Flags: review?(michael.l.comella)
Attachment #8725662 -
Flags: review+
Comment 5•9 years ago
|
||
Comment on attachment 8725662 [details] [diff] [review]
Bug1241941_v2.diff
Review of attachment 8725662 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me! Let me know if you need help trying to get your linting working!
Just so you know, I filed a follow-up (bug 1253126) to make sure future failures appear as lint errors, rather than just a warning.
Attachment #8725662 -
Flags: review?(michael.l.comella) → review+
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Don't forget to add checkin-needed!
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Keywords: checkin-needed
Comment 9•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Updated•4 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
•