Tag

ViewGroup

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 8, 2023 · Mobile Development

Deep Dive into Android Touch Event Processing: From Kernel to View

This article explains how Android transforms raw touch signals from the hardware into MotionEvent objects, routes them through the InputManagerService, InputReader, and InputDispatcher, and finally delivers them to the appropriate View or ViewGroup, detailing the roles of sockets, InputChannel, and the event‑dispatch chain.

AndroidInputDispatcherInputSystem
0 likes · 48 min read
Deep Dive into Android Touch Event Processing: From Kernel to View
Sohu Tech Products
Sohu Tech Products
Oct 14, 2021 · Mobile Development

Understanding Android ViewGroup: Concepts, Drawing Process, Measure/Layout/Draw, and Custom Implementation

This article explains the fundamentals of Android ViewGroup, its coordinate systems, the complete drawing pipeline from Activity creation to SurfaceFlinger, details the Measure‑Layout‑Draw phases, and provides a step‑by‑step guide to building a custom ViewGroup with custom LayoutParams and practical examples.

AndroidCustom LayoutDraw
0 likes · 12 min read
Understanding Android ViewGroup: Concepts, Drawing Process, Measure/Layout/Draw, and Custom Implementation
Baidu App Technology
Baidu App Technology
Oct 15, 2019 · Mobile Development

Multi-Child View Nested Scrolling Solution in Baidu App

Baidu App replaced its original two‑view nested‑scrolling setup with a flexible, component‑based solution that leverages Android’s NestedScrolling API to coordinate any number of child views—via ILinkageScroll, LinkageScrollHandler and ChildLinkageEvent—handling pre‑scroll, fling, scrollbar aggregation, and a Xiaomi‑specific OverScroller fix, with code available open‑source.

AndroidCustom ViewFling Gesture
0 likes · 15 min read
Multi-Child View Nested Scrolling Solution in Baidu App