Fixed
Status Update
Comments
tn...@google.com <tn...@google.com> #2
tn...@google.com <tn...@google.com> #3
Thank you for submitting this issue. It was last modified before Android Studio 1.0 Launched in 2014. We have made a large number of improvements in Android Studio since 2014 and hope this issue is already resolved. In order to correctly prioritize issues in our upcoming release, we are closing this bug. If you continue to experience your issue on the latest stable version of Android Studio, please submit a new bug report. We apologize for any inconvenience this may cause you.
tn...@google.com <tn...@google.com> #4
Backported to 21.0.1.
tn...@google.com <tn...@google.com> #5
Released a while back.
pv...@gmail.com <pv...@gmail.com> #6
Is it worth extending this behaviour to all styles? Normally, we can declare layout_width and layout_height attributes inside the View's style.
Description
1. Create a layout that refers to an attr style
<TextView xmlns:android="
android:id="@id/text1"
style="?android:attr/listSeparatorTextViewStyle" />
2. Run lint
RESULTS
Actual: Lint reports that layout_width and layout_height are missing.
Expected: Lint shouldn't report that layout_width and layout_height are missing, as these are provided by the style.
NOTES
Reproduced with Eclipse 4.2.1, ADT 21 preview 10, tools 21 preview 10