Comments (1)
我设置了
tip.isFocusable = false
滑动直接关闭tips,可以到达我的效果
如果要处理tip点击的话是不是要设置setTouchInterceptor了?
没有测试 哈哈
tip.setTouchInterceptor(object : View.OnTouchListener {
override fun onTouch(view: View, motionEvent: MotionEvent): Boolean {
if (motionEvent.y >= 0 && motionEvent.y <= view.measuredHeight) {//PopupWindow内部的事件
return false
} else {
tip.dismissTip()
}
return false
}
})
from bgatransformerstip-android.
Related Issues (16)
- 图床 HOT 1
- 三角箭头怎么设置为圆角?
- ArrowGravity and TipGravity
- px设置
- px设置
- 请问下,如果布局是列表的话,是否可以点击按钮修改背景颜色呢?
- 怎么解决鸿蒙系统手机同一种TipGravity和其他品牌手机显示不一样问题
- 有没有阴影的功能? HOT 4
- 666,正好开始写这个页面。 HOT 2
- 请楼主解释下为啥在RecyclerView的item点击时显示然后notify后就乱了,在listView中不会 HOT 2
- 能不能来个不是androidx的版本?现在项目没用androidx HOT 2
- 屏幕边缘无法控制窗体位置。 HOT 2
- ArrowDrawable设置阴影,箭头无法居中
- 布局文件不可以直接设置高度和宽度
- 三角箭头怎么设置为圆角? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgatransformerstip-android.