Skip to content

Instantly share code, notes, and snippets.

@Nyame123
Created November 17, 2020 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nyame123/9e4e20062479e83ce28d4206d143895c to your computer and use it in GitHub Desktop.
Save Nyame123/9e4e20062479e83ce28d4206d143895c to your computer and use it in GitHub Desktop.
Main Layout containing the scene
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/master_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<Button
android:id="@+id/goBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Go"
android:textSize="13sp" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:id="@+id/scene_root">
<include layout="@layout/first_scene" />
</FrameLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment