multiple cursor shown in Edittext

后端 未结 1 1993
情话喂你
情话喂你 2021-01-15 13:44

i am facing a weird problem. In my EditText:

1) I can see multiple cursor when user type anything.

2) Hint is also visible even when user is typing somethin

相关标签:
1条回答
  • 2021-01-15 14:28

    I don't know why problem was coming, but it got resolved after modifying my edittext_background. I have added transparent background. New XML is:

    <?xml version="1.0" encoding="utf-8"?>
    <shape xmlns:android="http://schemas.android.com/apk/res/android" >
    <stroke
        android:width="2dip"
        android:color="@color/white" />
     <solid android:color="#00000000" />
    <padding
        android:bottom="5dip"
        android:left="5dip"
        android:right="10dip"
        android:top="5dip" />
    

    0 讨论(0)
提交回复
热议问题