ClipDrawable
ClipDrawable is a wrapper drawable in the Android framework that clips its contained drawable according to the current level. It allows partially displaying a child drawable by specifying a clipping direction and an anchor edge. The visible portion is determined by the level value, which ranges from 0 to 10000, where 0 shows nothing and 10000 shows the full drawable.
The clipping behavior depends on two configuration parameters: orientation and gravity. The clipOrientation can be horizontal
ClipDrawable can be used both programmatically and in XML. In XML, it is declared as a clip-drawable
Typical use cases include progress indicators, masking effects, and simple reveal animations where a portion of