When I give inputtype as "TextUri" for AutoCompleteTextView, the keyboard shows up and after entering the url when I click on Done, instead of going away it's still getting displayed in the screen..
To hide the keyboard,I need to press backbutton..
<AutoCompleteTextView android:id="@+id/autocomplete_country"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textUri"/>