2013-08-22 50 views
6

Tôi đang cố gắng tùy chỉnh con trỏ Android edittext. Tôi đã tìm thấy nhiều giải pháp sử dụng android:textCursorDrawable="" trên Google và StackOverflow. Nhưng nó có sẵn từ API 12.Thay đổi màu của con trỏ editext trong API 12

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

Tôi muốn làm điều đó từ API 8. Vậy là nó có thể thay đổi màu sắc edittext con trỏ vào < API 12?

+0

Bạn có bất kỳ may mắn trên này chưa ?? – Pierre

Trả lời

Các vấn đề liên quan