当前位置:网站首页>Scrollview is not at the top during initialization?
Scrollview is not at the top during initialization?
2022-06-10 14:37:00 【yechaoa】
It is often used in daily development ScrollView Nested controls , such as RecyclerView、 Customize View、 Dynamically created View wait
During initialization, you may directly slide to the child View The location of , This is because of the son view Actively request and get the focus
So , The solution is simple , stay ScrollView Or add two attributes to the outer root layout , It means to get the focus back
android:focusable="true"
android:focusableInTouchMode="true"边栏推荐
- Leetcode 2293. Minimax game (yes. One pass)
- Binary tree and figure 1
- 数仓的基本概念
- 2022山东省安全员C证复训题库及在线模拟考试
- 2022第十五届南京国际工业自动化展览会
- BigDecimal 去除末尾多余的0
- [discrete mathematics review series] III. concept and operation of sets
- jdbc对数据库增删改查
- Singleton pattern and special class design
- C # list of shallow copy and deep copy customized classes <>
猜你喜欢

2022山东省安全员C证复训题库及在线模拟考试

【离散数学期复习系列】四、图

2022年危险化学品生产单位安全生产管理人员考试模拟100题及在线模拟考试

列表、数组和张量之间的相互转化

UE5如何將屏幕坐標轉為世界坐標和世界方向

2022第十五届南京国际工业自动化展览会

Flyter page Jump to transfer parameters, tabbar learning summary 5

Ue5 Comment convertir les coordonnées de l'écran en coordonnées du monde et en direction du monde
![[logodetection data set processing] (3) divide the training set into multiple folders by category](/img/eb/49c65f9af4c899b8cffaeec630be79.png)
[logodetection data set processing] (3) divide the training set into multiple folders by category

【原创】POI 5.x XSSF和HSSF使用自定义字体颜色
随机推荐
.NET C#基础(7):接口 - 人如何和猫互动
微信小程序 日期比较,计算天数
How can JMeter parameterization be implemented?
Consumption mode of Message Oriented Middleware
[discrete mathematics review series] i. propositional logic
Insight technology was selected into the "Aijian · privacy computing manufacturer panorama report" and was rated as a representative manufacturer of financial solutions
这个牛逼的低代码生成器,现在开源了!
This awesome low code generator is now open source!
KaTeX问题 —— csdn编辑时中打出等号对齐的样式
微信小程序 关闭当前页面
What is CAS and ABA in CAS
For the first time, the Pentagon admitted to funding 46 biological facilities in Ukraine. Russia once revealed that only three were safe
Docker deploys a redis cluster
Does Fortran have a standard library
LeetCode_ 21 (merge two ordered linked lists)
Cell asynchronously invokes method change records
How to write a global notice component?
Basic concept of data warehouse
Collision detection unity experiment code
JMeter 中如何实现接口之间的关联?