Project information is used red dot subscript problem. Online read some implementations, all custom view, in ondraw draw a circle in the upper right corner iamgeview. But many can not achieve the subscript circle cut in the top right corner of imageview this function, all angle standard and imageview. It can actually be used in the form of a combination of view of implementation.
Imageview and is implemented by overlapping it textview;
My parent container is ConstraintLayout; with relativelayout is achievable. Record and share!
Reproduced in: https: //www.jianshu.com/p/adf355209d56