2012-05-11 3 views
3
<?xml version="1.0" encoding="utf-8"?> 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:background="@drawable/am" 
android:orientation="vertical" > 

<RelativeLayout 
    android:id="@+id/relativeLayout1" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" > 

    <TextView 
     android:id="@+id/textView1" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_alignParentTop="true" 
     android:text="Admissions" 
     android:layout_marginLeft="14dp"    
     android:textColor="#33b5e5" 
     android:shadowColor="#ffffff" 
     android:textSize="28dp" 
     android:shadowDx="4" 
     android:shadowDy="4" 
     android:textAppearance="?android:attr/textAppearanceLarge" 
    /> 
</RelativeLayout> 

</LinearLayout> 

これは私のコードです。私はテキストに刻まれた効果を与えようとしています。私は青い種類の色に白い影を適用していますが、影の効果はありません..何をすべきかを教えて...影が動かない "Android"

答えて

7

をあなたが欠けている:

android:shadowRadius="5" 

それは半径ないと動作しません。

+0

私はそれが必要ではないと思った。thnx –

関連する問題