Reputation: 662
When I touch my EditText, the virtual keyboard opens and I can edit the text, but I have no cursor that tells me where the next char would be, and no blue rectangular shape that would tell me if I touched the EditText or what EditText was touched.
The code is:
<EditText
android:id="@+id/search_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FCFCFC"
android:hint="\?"
android:inputType="text"
android:text=""
android:textColor="#000000"
android:textSize="24sp" />
What did I do wrong or what do I need to add?
Upvotes: 1
Views: 477
Reputation: 729
Setting the android:textCursorDrawable attribute to @null should result in the use of android:textColor as the cursor color.
it will work
Upvotes: 2