2013年10月24日 星期四

讓EditText的cursor color等於文字顏色

設定  textCursorDrawable

  <EditText
    android:layout_width="30dp"
    android:layout_height="44dp"
    android:textColor="#000000"
   
    android:textSize="14sp"
     android:paddingLeft="6dp"
     android:textCursorDrawable="@null"
   
    />
   

沒有留言:

張貼留言