2013-08-22 28 views
6

我試圖自定義Android edittext遊標。我在Google和StackOverflow上發現了很多使用android:textCursorDrawable=""的解決方案。但它是可以從API 12在API 12中更改editext光標顏色

<EditText 
    android:id="@+id/edittext" 
    android:layout_width="match_parent" 
    android:layout_height="40dp" 
    android:text="Android" 
    android:textCursorDrawable="@drawable/my_cursor_drawable" /> 

我想這樣做,從API 8所以是有可能改變edittext光標顏色< API 12?

+0

你對此有一個運氣好的話還沒有? – Pierre

回答