toggle menu
sdkKIMCore
androidJvm
switch theme
search in API
sdkKIMCore
/
com.kingsoft.kim.core.example.view
/
MenuPopupWindow
/
showAtLocation
show
At
Location
open
fun
showAtLocation
(
v
:
View
,
x
:
Float
,
y
:
Float
)
open
fun
showAtLocation
(
anchor
:
View
)
显示在锚点view右侧,顶部和右侧与锚点view对齐
Parameters
anchor
锚点view
open
fun
showAtLocation
(
rootView
:
View
,
x
:
Int
,
y
:
Int
)
在指定触点显示
Parameters
root
View
布局根布局,用以获得宽度
x
触点x坐标
y
触点y坐标