如何自定义显示分层模型中的详细信息的搜索建议UI

问题描述 投票:1回答:1

如何实现包含EditText的视图,无论何时键入内容,它都应在图像的各个类别中显示类别和项目。

Custom suggestion ui

java android android-layout android-fragments android-xml
1个回答
0
投票

这种视图可以实现为https://developer.android.com/reference/android/widget/PopupWindow.html?hl=en弹出窗口,该窗口在EditText中的每次更改时都会更新/重新创建

© www.soinside.com 2019 - 2024. All rights reserved.