2010-07-13 8 views

Répondre

1

Il semble qu'il n'y ait aucun moyen facile selon cette: Android textview outline text

+0

Le trait [dans l'autre référencé] (http://stackoverflow.com/questions/1723846/how-do-you-draw-text-with-a-border-on-mapview-in-android) dans la réponse me semble assez simple, merci! –

16

Alors, peu tard, mais MagicTextView fera texte décrit, entre autres.

enter image description here

<com.qwerjk.better_text.MagicTextView 
    xmlns:qwerjk="http://schemas.android.com/apk/res/com.qwerjk.better_text" 
    android:textSize="78dp" 
    android:textColor="#ff333333" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    qwerjk:strokeColor="#FFff0000" 
    qwerjk:strokeJoinStyle="miter" 
    qwerjk:strokeWidth="5" 
    android:text="Magic" /> 

Note: Je l'ai fait, et je suis plus l'affichage pour le bien des futurs voyageurs que l'OP. C'est un spam limite, mais étant sur le sujet, peut-être acceptable?

+0

Très acceptable! – matto1990

Questions connexes