gauge

Android Gauge Animation Question

一世执手 提交于 2019-11-27 05:34:17
问题 Okay so i've been trying to do this for a couple of days and i am getting no where. So i have the following two images: The First is a RPM Gauge The Second image is a full white graphic representing rpm gauge being full: I want to do the following: ask the user for an RPM input, if for example they enter 1.2 the gauge will fill up as follows: I have the user input working i need help with the animation. Here is what i have tried: I have tried using PorterDuff but it also clips the gauge in