1. Download our Official Android App: Forums for Android!

Apps Background edges fade in textView

Discussion in 'Android Development' started by TWH, Jun 29, 2010.

  1. TWH

    TWH Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jun 29, 2010

    Jun 29, 2010
    1
    0
    5
    I'm using a textView to display a read-only string. When I specify a drawable for the background, the left and right edges fade out as if it's horizontally scrollable. I've tried several things to keep this from happening, such as:
    android:fadingEdge="none"
    android:fadingEdgeLength="0dp"
    android:scrollHorizontally="false"
    but it keeps happening.

    If I specify a solid color instead of a drawable, the fade does not occur.

    How do I keep this from happening with a drawable?

    Thx
     

    Advertisement

Share This Page

Loading...