Open GoogleCodeExporter opened 9 years ago
Hi, I've found another error:
It seems that when styles extends from a parent style, it doesn't work. This is
my new error:
<style name="MyButton">
<!-- whatever -->
</style>
<style name="MyButton.Ok">
<item name="android:background">@drawable/mybutton_ok</item>
</style>
And later, used as common in a layout:
<Button
android:id="@+id/btn_ok"
style="@style/MyButton.Ok"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/label_ok">
</Button>
And the exit from the script:
style : MyButton_Ok
On the other bug (with the Manifest), the style extended from Theme.NoTitleBar
and it was detected by the script as "unused". I think that both bugs are
similar in that way.
Hope, again, this information is useful.
Miguel.
Original comment by eridem
on 7 Jun 2011 at 10:39
Original issue reported on code.google.com by
eridem
on 7 Jun 2011 at 10:24