最佳答案
Calling TextView.setTextSize()
is working abnormally. Right after the call to setTextSize
if we get a getTextSize
its returning a much higher value that what we set it to earlier.
Here's what we're doing:
zoomControl.setOnZoomInClickListener(new OnClickListener() {
public void onClick(View view) {
float size = mViewShabad.getTextSize() + 1;
textView.setTextSize(size);
}
});
Has anyone seen this before?