diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-11-11 14:51:18 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-11-11 14:51:18 +0000 |
| commit | 2e39a0280c1a4dd57ec62dc3d09a31db79b5c7ff (patch) | |
| tree | 39d37cfdbd0211d4a65931a4859d33958122254e /res | |
| parent | 36becd93babaf5968988e3beb655dcbc745aa981 (diff) | |
some insight into layout
Diffstat (limited to 'res')
| -rw-r--r-- | res/layout/main.xml | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml index be086c3..a075341 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -5,7 +5,7 @@ android:layout_height="fill_parent" android:orientation="vertical" > - <FrameLayout + <FrameLayout android:id="@+id/preview" android:layout_width="fill_parent" android:layout_height="fill_parent" @@ -16,22 +16,11 @@ 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> - + <Button + android:id="@+id/buttonClick" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:text="Capture" /> </LinearLayout>
\ No newline at end of file |
