草庐IT

android - 为 Pre-Lollipop 设备创建 Circular Reveal

首先,这与Createcircularrevealforpre-Lollipopdevices(Android)不是同一个问题我正在使用那里提到的库来创建CircularReveal,但它似乎对我不起作用。XMLJavaViewmyView=findViewById(R.id.circBack);//getthecenterfortheclippingcircleintcx=(myView.getLeft()+myView.getRight())/2;intcy=(myView.getTop()+myView.getBottom())/2;//getthefinalradiusfort