【问题标题】:Android text clicking a portion to fire an intent similar to an href linkAndroid 文本单击部分以触发类似于 href 链接的意图
【发布时间】:2011-07-08 16:37:09
【问题描述】:

在我的一个 android 屏幕中,我想要一个复选框和如下文本:

 _
|_| I have agreed to the *terms of service*.

文本 I have agreed to the *terms of service* 在我的 /values/strings.xml 文件中的常量字符串中。我知道我可以用html制作我想要链接的文本

I have agreed to the <a href="some.website.com">*terms of service*</a>.

但是有没有办法让我可以启动自定义或显示对话框,而不是启动网站?

【问题讨论】:

    标签: android text android-intent textview


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-15
    • 1970-01-01
    • 2013-08-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多