+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Applications reflecting into mSelectionWheelPaint do it because there is no API for correctly updating the text size and color at runtime. Since the NumberPicker is composed of an EditText and an additional paint to draw the scroll wheel numbers, developers found themselves reflecting on the paint since updating the EditText child is not enough. This CL restrict access to mSelectionWheelPaint but add an alternative API for updating the NumberPicker's text size and color at runtime. Bug: 123769712 Test: NumberPickerTest Change-Id: I9f5a0275916a6852a6378e5ffae5a9a171b9cd51