Leo.Han Leo.Han - 1 year ago 60
Android Question

ScrollView contains some TextView, but some textView's text can't been shown

enter image description here

I put some textViews(or Button) in this AbsoluteLayout, and the AbsoluteLayout is in the ScrollView.

When I scroll the ScrollView, the textViews' text is not shown, but the textView above the screen can be shown correctly. Forget my poor English.
Can anyone help me? Thank you.

Answer Source

I disable hardware acceleration for textView at runtime with the following code:

textView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); 

it works for me.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download