In my application, I am using cursor color for EditText
.
It is working in Samsung devices but in HTC One it's not showing. If I give textCursorDrawable
element as null it's showing default text color as cursor color, but I need cursor color in red.
I am not able to get where is the exactly problem. Please can any one help me.
Here is my EditText
in XML code:
<EditText
android:id="@+id/username_edit"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="90"
android:background="@null"
android:ems="10"
android:hint="user name"
android:maxLength="60"
android:paddingLeft="5dp"
android:singleLine="true"
android:textColor="@color/black"
android:textCursorDrawable="@color/appheader_color"
android:textSize="@dimen/TextSize_medium" >
</EditText>