Fix tag help dialog start position

This commit is contained in:
seven332 committed 2015-04-28 20:41:18 +08:00
1 parent 75d830d137
commit 894cf61d67
1 file changed
+2 -1
@@ -263,7 +263,8 @@ public class SearchLayout extends FrameLayout implements CompoundButton.OnChecke
ViewUtils.getLocationInAncestor(mSearchTagHelp, location, R.id.stage);
new SimpleDialog.Builder(getContext()).setTitle(R.string.search_specify_tag)
.setMessage(R.string.search_tag_help)
.setStartPoint(location[0], location[1]).show();
.setStartPoint(location[0] + mSearchTagHelp.getWidth() / 2,
location[1] + mSearchTagHelp.getHeight() / 2).show();
}
}