Update scene
This commit is contained in:
1 parent
a74fb52c9a
commit
b9f0a6c70c
14 files changed
+199
-58
No files matched your search
@@ -182,8 +182,7 @@ public abstract class Scene {
|
||||
StageActivity sa = getStageActivity();
|
||||
mSceneView = new FrameLayout(sa);
|
||||
initBackground(mSceneView);
|
||||
mSceneView.addView(view, new FrameLayout.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
||||
mSceneView.addView(view, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
|
||||
}
|
||||
|
||||
private void initBackground(@NonNull View bg) {
|
||||
@@ -212,6 +211,10 @@ public abstract class Scene {
|
||||
protected void onOut() {
|
||||
}
|
||||
|
||||
public View onCreateStageBar() {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds a view that was identified by the id attribute from the XML that
|
||||
* was processed in {@link #onCreate}.
|
||||
|
||||
Reference in new issue
Block a user