sk.baka.ambient.views
Interface ContainedPopupWindow.IPlaceable
- Enclosing class:
- ContainedPopupWindow
public static interface ContainedPopupWindow.IPlaceable
Computes window placement.
- Author:
- Martin Vysny
|
Method Summary |
int[] |
getCoordinates(ContainedPopupWindow popup,
java.lang.CharSequence text,
android.widget.TextView textView)
Computes new coordinates for given pop-up window, based on a text
value. |
getCoordinates
int[] getCoordinates(ContainedPopupWindow popup,
java.lang.CharSequence text,
android.widget.TextView textView)
- Computes new coordinates for given pop-up window, based on a text
value.
- Parameters:
popup - the pop-up window instance, never null.text - the placement texttextView - the string is set to this text view.
- Returns:
- [x, y] coordinates relative to owner view.
Copyright © 2007-2009. All Rights Reserved.