diff options
Diffstat (limited to 'res/layout/main.xml')
| -rw-r--r-- | res/layout/main.xml | 40 |
1 files changed, 34 insertions, 6 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml index 40bfa59..be086c3 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -1,9 +1,37 @@ <?xml version="1.0" encoding="utf-8"?> -<SurfaceView android:id="@+id/surface_camera" - xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/layout" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:layout_centerInParent="true" - android:layout_weight="1" - > -</SurfaceView>
\ No newline at end of file + android:orientation="vertical" > + + <FrameLayout + android:id="@+id/preview" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="1" > + + <SurfaceView + android:id="@+id/surfaceView" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" >" + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="2px" + android:layout_gravity="center_vertical" + android:background="#ff0000" + android:layout_weight=".80" /> + <Button + android:id="@+id/buttonClick" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:text="Click" /> + </LinearLayout> + </FrameLayout> + +</LinearLayout>
\ No newline at end of file |
