Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Edit Text Cursor Change

In Layout 

    <EditText  
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content" 
        android:textCursorDrawable="@drawable/color_cursor"
        />


Then create drawalble xml: color_cursor

    <?xml version="1.0" encoding="utf-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android" >
    	<size android:width="3dp" />
    	<solid android:color="#FFFFFF"  />
    </shape>
You have a white color cursor on EditText property. 

 
PREVIOUS NEXT
Tagged: #Edit #Text #Cursor #Change
ADD COMMENT
Topic
Name
8+2 =