Reputation: 381
I just found out this weird bug
Im using Samsung Galaxy DUOS android 4.04
It only appears rarely just by opening the activity then pressing back button vice versa/continuously. The TextViews are just simple.
<TextView
android:id="@+id/paymentButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="left|center_vertical"
android:background="@android:color/transparent"
android:paddingLeft="20dp"
android:text="@string/payment_method"
android:textColor="#868686" >
And the code is just the usual initializing and setting found in the Oncreate method Setting the fonts is using the assets
I already found a hint where this bug came from but still unable to fix it. The hint is I guess, because of the Fonts files. Any other way to clear this out ?
Upvotes: 1
Views: 179
Reputation: 913
I used "samsung galaxy s duos s7562","Android version: 4.2.2" for testing my android app and the same type of error used to come up i.e. some textview used to display random characters(in my case not even english) in a similar scenario(back button press). However, the issue was resolved after 2-3 weeks (still not sure how).
You could try with a project clean for starters and follow with eclipse restart to see if it improves (i should have commented this but my reputation is too low to comment).
Upvotes: 2