public abstract class CBViewProtocol.CBViewBase
extends RelativeLayout
| Constructor and Description |
|---|
CBViewBase(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignID(View view)
assign a unique ID to views in the hierarchy.
|
void |
destroy() |
void |
displayVideo() |
protected boolean |
isBigScreen() |
protected abstract void |
layoutSubviews(int w,
int h) |
void |
onDetachedFromWindow() |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
tryLayout(Activity cx) |
void |
updateLayout() |
void |
updateLayout(boolean force)
pass true to force a relayout even if the view size/orientation has not changed
|
protected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
protected abstract void layoutSubviews(int w,
int h)
public final void updateLayout()
public final void updateLayout(boolean force)
public void destroy()
public void displayVideo()
public boolean tryLayout(Activity cx)
public void onDetachedFromWindow()
public final void assignID(View view)
protected boolean isBigScreen()