2011-06-03 6 views

答えて

23

のres /描画可能/ cursor_red.xml:あなたのEditTextで

<?xml version="1.0" encoding="utf-8"?> 
<shape xmlns:android="http://schemas.android.com/apk/res/android" 
    android:shape="rectangle" > 
    <size 
     android:width="5dip" /> 
    <solid 
     android:color="@color/red" /> 
</shape> 

android:textCursorDrawable="@drawable/cursor_red" 

注:12と

上記のみAPI