草庐IT

Android:在圆内画圆弧

我想在圆圈内画一条弧线来表示温度,但我很难做到这一点。在我的搜索过程中,我找到了那些解决方案ThisoneIcouldn'tunderstandwhatisthescalemethodfor,andisdrawingmorethanonearch,whichconfusedmeabitThispostgaveitafixedsizewhereIneedthesizetobecontrolledbythecustomviewinmyXMLlayoutFromhereIunderstoodtheconceptthedegreesbutIdidn'tunderstandhowtodeterm