IP屬地:貴州
① showAsDropDown(控件):彈出的位置和 控件的位置關(guān)系如下 ② showAsDropDown(View anchor, int ...
popWinMenu.showAtLocation(main2,Gravity.LEFT|Gravity.TOP,0,0); 示例圖如下...
實現(xiàn)效果如下: tv1應(yīng)設(shè)置的屬性:app:layout_constraintTop_toTopOf=...