How to fade edge of TextView in Android? -
i working on android 3.0. have textview on layout , want faded after 8 characters in main menu. text located in relativelayout.
<textview android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/item_name" android:textstyle="bold" android:textcolor="@color/white" android:maxwidth="50dp" android:maxlength="8" android:layout_below="@+id/item_frame" android:layout_alignbottom="@+id/item_view" android:layout_centerhorizontal="true" android:fadingedge="horizontal"> </textview> does has idea how fade text after few characters?
i think need combine fadingedge ellipsize , singleline, , happen if text longer control's width.
Comments
Post a Comment