Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一进入就到FINISH状态,是何原因? #1

Open
gundumw100 opened this issue Feb 21, 2017 · 1 comment
Open

一进入就到FINISH状态,是何原因? #1

gundumw100 opened this issue Feb 21, 2017 · 1 comment

Comments

@gundumw100
Copy link

No description provided.

@gundumw100
Copy link
Author

FloatBackground container = (FloatBackground) findViewById(R.id.container);
container.addFloatView(new FloatText( 0.3f, 0.6f, "A"));
container.addFloatView(new FloatText( 0.5f, 0.5f, "B"));

@OverRide
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();
container.startFloat();
}
@OverRide
protected void onPause() {
// TODO Auto-generated method stub
super.onPause();
container.endFloat();
}

打印出来status一直为3:
public void drawFloatItem(Canvas canvas) {
Log.i("tag", "====status========"+status);//
.....................
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant