You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mashaAllah you've done a brilliant job here, just a slight problem with Android:
When trying to use a scrollview, if the urdu/arabic text is longer than the screen, when the screen is scrolled the rest of the screen is blank i.e. the bitmap doesn't get drawn.
I hope I've made myself clear - to reproduce just set the text of the textview to something really long.
The text was updated successfully, but these errors were encountered:
Kind of found a solution (after many hours!) , in the Activity you can override the onFling method using gesture detector, in there you can invalidate the Label so that it is redrawn, i.e. like this:
@OverRide
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
{
Label tv = (Label)findViewById(R.id.sf_label);
tv.invalidate();
}
This may also work with the onScroll method for a scrollview, but I haven't tried it (I already was using a gesture detector)
mashaAllah you've done a brilliant job here, just a slight problem with Android:
When trying to use a scrollview, if the urdu/arabic text is longer than the screen, when the screen is scrolled the rest of the screen is blank i.e. the bitmap doesn't get drawn.
I hope I've made myself clear - to reproduce just set the text of the textview to something really long.
The text was updated successfully, but these errors were encountered: