如何设计单选择对话框? [英] How to design Single Selection Dialog?

查看:162
本文介绍了如何设计单选择对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想告诉喜欢附着图像对话框。图像的左侧和文本
单选择。

i want to show dialog like attached Image. an image to the left and text with single selection.

任何一个指导我如何实现这一目标?

any one guide me how to achieve this?

推荐答案

有关,你有自定义的右键菜单因为土生土长的上下文菜单对话框内的图标显示不支持,而是只支持文本的每个项目里面来显示。

For that you have to customize the Context Menu because native context menu doesn't support for icon display inside the dialog, instead it only supports the text to be displayed inside each item.

您已经这里提到的图像定制的上下文菜单图标。这里是你想要的同一个例子:

The image which you have mentioned here is customized context menu with icon. Here is the same example which you want:


  1. 安卓上下文菜单图标

  2. 来源$ C ​​$ C为上面的链接:的http:// code .google.com / p / iconcontextmenu /

  1. Android: Context Menu With Icon
  2. Source code for the above link: http://code.google.com/p/iconcontextmenu/

这篇关于如何设计单选择对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆