Update TextView text size on AppWidget

后端 未结 2 905
清酒与你
清酒与你 2021-01-23 12:01

I can not figure this out, I\'ve been struggling with it for days now, and I\'m so tired of it..

I\'m changing the text size of a TextView on an AppWidget with a Spinne

2条回答
  •  清酒与你
    2021-01-23 12:41

    So i finally got it working after trying a million different things. I ended up passing a string with the value via sharedpreferences, the same way i got the text to the widget, and just set views.setFloat(R.id.TextView, "setTextSize", Float.valueOf(SizeString)); in the widget provider it self.

提交回复
热议问题