public class HighLightUtil
extends java.lang.Object
| Constructor and Description |
|---|
HighLightUtil(DSAFSTestRunner runner,
android.view.View view) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
clearHighLight() |
android.graphics.drawable.Drawable |
createHighLightedBackground(android.view.View view)
Create a LayerDrawable as highlighted background.
|
void |
debug(java.lang.String message) |
boolean |
highLight()
Try to highlight a view.
First try to highlight by placing a PopupWindow over the view. If PopupWindow fails to show, we will try to modify the background of the view to highlight. |
void |
setView(android.view.View view) |
public HighLightUtil(DSAFSTestRunner runner, android.view.View view)
public void setView(android.view.View view)
public boolean highLight()
public boolean clearHighLight()
public void debug(java.lang.String message)
public android.graphics.drawable.Drawable createHighLightedBackground(android.view.View view)
ShapeDrawable created with RectangleShape.
If the parameter view's background is not null, then LayerDrawable will contain it.RectangleShapeCopyright © SAS Institute. All Rights Reserved.