Hello, i try to create a style for a TextView which also get the
Background using a Gradient declared in another xml. Its not got
displayed, any sugestion why ?


        <style name="Day_Entry" parent="@android:style/Widget.TextView">
                <item name="android:textColor">#FFFFFFFF</item>
                <item name="android:shadowColor">#ff888888</item>
                <item name="android:shadowDx">0.5</item>
                <item name="android:shadowDy">0.5</item>
                <item name="android:shadowRadius">0.9</item>
                <item name="android:textSize">24dip</item>
                <item name="android:textStyle">bold</item>
                <item 
name="android:background">@drawable/small_bg_gradient</item>

        </style>


<?xml version="1.0" encoding="utf-8"?>
<shape
        xmlns:android="http://schemas.android.com/apk/res/android";
        android:shape="rectangle">
        <gradient
                android:startColor="#0fFFFFFF"
                android:centerColor="#0f888888"
                android:endColor="#0fFFFFFF"
                android:angle="90" />
</shape>






-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to