Rounded corner for textview in android

前端 未结 11 1174
猫巷女王i
猫巷女王i 2020-12-02 04:30

I have a textview and want its corner to be in round shape. I already know it can be done using android:background=\"@drawable/somefile\". In my case, this tag

11条回答
  •  清歌不尽
    2020-12-02 04:44

    You can use SVG for rounding corners and load into an ImageView and use ConstraintLayout to bring ImageView on TextView

    I used it for rounded ImageView and rounded TextView

提交回复
热议问题