在过滤器上弹出创建preferenceDialog的onClick?弹出、器上、onClick、preferenceDialog

由网友(若失憶〃能否再一見钟情)分享简介:我的目标是实现下面的图片。 如何创建一个preferenceDialog如果在我的工具栏上的过滤器图标被点击?How to create a PreferenceDialog if the filter icon in my toolbar has been clicked?我想设定一些preferences筛...

我的目标是实现下面的图片。

如何创建一个preferenceDialog如果在我的工具栏上的过滤器图标被点击?

How to create a PreferenceDialog if the filter icon in my toolbar has been clicked?

我想设定一些preferences筛选我的列表中的条目。

I want to set some preferences to filter the entries of my list.

我在这一点上。是,正确的方式来实现这一点?

I'm at this point. Is that the right way to implement this?

推荐答案

是的,先生,这是!

您应该先扩大资源,并将其设置为自定义视图。 AlertDialog应该在那之后做的伎俩。你有任何进一步的问题?或者你只需​​要检查它是否是正确的方式做到这一点?

You should inflate the resource first and set it as a custom view. AlertDialog should do the trick after that. Do you have any further question? Or do you only need to check if it's the right way to do it?

阅读全文

相关推荐

最新文章