Created
June 6, 2015 00:06
-
-
Save r17171709/d40d916282535f37adac to your computer and use it in GitHub Desktop.
Revisions
-
r17171709 created this gist
Jun 6, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ // 循环检测activity是否初始化完毕 starnum_seekbar.postDelayed(new Runnable() { @Override public void run() { // TODO Auto-generated method stub if (null != getWindow().getDecorView().getWindowToken()) { LayoutInflater inflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); View undoView = inflater.inflate( R.layout.view_seekbarhint2, null); starnum_seekbar.showPopup(undoView); starnum_seekbar.setProgress(1); handler.removeCallbacks(this); } else { handler.postDelayed(this, 5); } } }, 5);