What do you mean that it doesn't work? Does it give an error message? I just tried it with L, and it worked as expected. If you can, please attach a screenshot to the bug filed by Xavier.
On Wednesday, October 8, 2014 2:17:51 AM UTC-7, CP_AndroidDev wrote: > > I have a custom box defined in currencylabel.xml > code : > <shape xmlns:android="http://schemas.android.com/apk/res/android" > android:shape="rectangle" android:padding="10dp"> > <padding > android:right="2dp" > android:left="2dp"/> > <solid android:color="#C0C0C0"/> > <corners > android:bottomRightRadius="4dp" > android:bottomLeftRadius="4dp" > android:topLeftRadius="4dp" > android:topRightRadius="4dp"/> > <stroke android:color="@color/black" android:width="1dp"></stroke> > </shape> > > i then call this in parentstyle.xml > > <style name="number.currency.label"> > <item name="android:background">@drawable/currencylabel</item> > </style> > > i call this in my layout screen.xml > <TextView > android:id="@+id/txtTaxDiscHalf" > style="@style/number.currency.label" > android:text="0" /> > > this does not work in android studio or eclipse when running android L but > works in previous versions. Any help would be appreciated. > > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
