public static class

QuickContactWindow.RootLayout

extends RelativeLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.android.contacts.ui.QuickContactWindow.RootLayout

Class Overview

Custom layout the sole purpose of which is to intercept the BACK key and close QC even when the soft keyboard is open.

Summary

[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
QuickContactWindow.RootLayout(Context context, AttributeSet attrs)
Public Methods
boolean dispatchKeyEventPreIme(KeyEvent event)
Intercepts the BACK key event and dismisses QuickContact window.
[Expand]
Inherited Methods
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public QuickContactWindow.RootLayout (Context context, AttributeSet attrs)

Public Methods

public boolean dispatchKeyEventPreIme (KeyEvent event)

Intercepts the BACK key event and dismisses QuickContact window.