main.xml show the details in the layout structure.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent">
<Button
 android:id="@+id/showhide"
 android:layout_width="fill_parent"
 android:layout_height="wrap_content"
 android:text="Toggle The Another Button Show/Hide" />
<Button
 android:id="@+id/dummy"
 android:layout_width="fill_parent"
 android:layout_height="wrap_content"
 android:text="a Button" />
<FrameLayout 
 android:layout_width="fill_parent"
 android:layout_height="fill_parent">
<com.exercise.AndroidMergeSurfaceView.MySurfaceView
 android:id="@+id/myCustomSurface"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent"/>
<LinearLayout
 android:orientation="vertical"
 android:gravity="bottom"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent">
<Spinner
    android:id="@+id/spinner"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
 />
</LinearLayout>
</FrameLayout>
</LinearLayout>
It's a bug here!
Pls. refer to the article
"IllegalThreadStateException in LunarLander"
for details.
I'm Sorry about that! ()
No comments:
Post a Comment