首页 > 解决方案 > Hi,How I design the UI , I know use html code can make color different,but I need click part just only orange

问题描述

Just only orange part can click,so my code can't just use a Textview

How I design the UI, I know use Html code can make color different,but I need click part just only orange

Thanks In Advance

标签: android

解决方案


For that, you have to use a class named SpannableString. look here how to use it in kotlin - https://medium.com/@programmerr47/working-with-spans-in-android-ca4ab1327bc4


推荐阅读