Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnJiaoDe/BaseDialog
/ gravity
Method
gravity
dialog/src/main/java/com/cy/dialog/BaseDialog.java:85–91 ·
view source on GitHub ↗
位置 @param gravity @return
(int gravity)
Source
from the content-addressed store, hash-verified
83
* @
return
84
*/
85
public
BaseDialog gravity(
int
gravity) {
86
87
getWindow().setGravity(gravity);
88
89
return
this;
90
91
}
92
93
/**
94
* 偏移
Callers
1
onClick
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected