简体   繁体   中英

<button> tag is not taking in Html.fromHtml in android

I want to display html data in text view all my html tags are working fine but only <button> tag is not taking this is my code chielddesctext.setText(Html.fromHtml("<button>hi</button>")); . Can some one can help me to solve this problem i tried but its not working.

Html.fromHtml() does not honor all HTML tags. This roster is a bit old but is still fairly close to the current state of affairs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM