![](/img/trans.png)
[英]TextView disappearing when I try to put it in front of my ImageView
[英]My TextView is disappearing when I apply an email autolink attribute to it
我試圖通過使用android:autoLink="email"
向它添加 email 自動鏈接屬性來使 textview 可點擊,但只要我添加它,文本就會消失。 有趣的是,其他文本組合看起來也很好。 在輸入 email 時,只要我在 sample@gmail.com 中輸入“o”,文本就會消失。 難道我做錯了什么?
我的 TextView
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:linksClickable="true"
android:text="sample@gmail.com"
android:clickable="true"
android:autoLink="email"
android:textColor="#54ACE6"
android:textSize="13dp" />
嘗試設置 android:textColorLink="@color/blue" 或與背景不同的任何其他顏色。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.