When I use inputType as "textUri", Suggestion text input is not displaying.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<EditText
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Enter URI"
**android:inputType="textUri"**
android:imeOptions="actionDone"/>
</RelativeLayout>
I tried using setPrivateImeOptions method but still suggest text is not displaying. Even I used android:inputType="textUri|textCapSentences|textAutoCorrect" but no use.
public class CompleteEditTextActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_edit_text);
EditText editText = findViewById(R.id.editText);
editText.setPrivateImeOptions("com.android.internal.inputmethod:LatinIME");
}

android:inputType="textUri"is up to their developers. Personally, I would not expect to see suggestions fortextUri.textUri, apparently. That is their right, as the soft keyboard is their project, not yours. You are welcome to test third-party keyboards (on the Play Store, F-Droid, etc.) and see if any happen to offer suggestions fortextUrifields.