How does the Gmail Android app do the webview-header-overlay magic for the mail-conversation view?
问题 Using hierarchyviewer on the Gmail conversation view shows an interesting and unusual layout hierarchy: All messages in a single conversation are rendered in a single WebView (specifically a com.google.android.gm.CustomWebView , seen on the left). Only the body of the messages is rendered - the spaces where the headers would go are left blank . On top of the WebView is overlaid a com.google.android.gm.MessageHeaderScrollView (seen on the right) which uses a HybridConversationScrollContainer