@Implements(className="com.android.internal.policy.PhoneWindow", isInAndroidSdk=false, minSdk=23, looseSignatures=true) public class ShadowPhoneWindow extends ShadowWindow
Shadow for PhoneWindow for APIs 23+
Modifier and Type | Field and Description |
---|---|
protected Window |
realWindow |
backgroundDrawable, title
Constructor and Description |
---|
ShadowPhoneWindow() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOptionsPanelGravity() |
void |
setBackgroundDrawable(Drawable drawable) |
void |
setTitle(CharSequence title) |
create, getBackgroundDrawable, getFlag, getIndeterminateProgressBar, getProgressBar, getSoftInputMode, getTitle, setFlags, setSoftInputMode
@RealObject protected Window realWindow
@Implementation(minSdk=23) public void setTitle(CharSequence title)
@Implementation(minSdk=23) public void setBackgroundDrawable(Drawable drawable)
@Implementation protected int getOptionsPanelGravity()