Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以定位一个 SlidingDrawer 以使手柄位于屏幕底部的正下方?
我想要的功能是用户将按下一个按钮(未连接到抽屉)以从屏幕下方向上滑动抽屉。从那里,用户可以使用手柄将其向下滑动。
在手柄上使用View#setVisibility(View.GONE)和。View#setVisibility(View.VISIBLE)
View#setVisibility(View.GONE)
View#setVisibility(View.VISIBLE)