Project

General

Profile

Download (1.81 KB) Statistics
| Branch: | Revision:

examples / src / main / res / layout / twocomponentslayout.xml @ ecac81e3

1 e4c556f9 leszek
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5
    android:orientation="vertical" >
6
7
    <org.distorted.examples.twocomponents.TwoComponentsSurfaceView
8
        android:id="@+id/twocomponentsSurfaceView"
9
        android:layout_width="fill_parent"
10
        android:layout_height="0dp"
11
        android:layout_weight="1" />
12
13
    <LinearLayout
14
        android:orientation="horizontal"
15
        android:layout_width="match_parent"
16
        android:layout_height="wrap_content">
17
18
        <Button
19
            android:id="@+id/twocomponentsButton0"
20
            android:layout_width="wrap_content"
21
            android:layout_height="match_parent"
22
            android:text="@string/rotate_left"
23
            android:onClick="onClick"
24
            android:layout_weight="1"/>
25
        <CheckBox
26
            android:id="@+id/twocomponentsCheckBox0"
27
            android:layout_width="wrap_content"
28
            android:layout_height="match_parent"
29
            android:text=""
30
            android:onClick="onVisible"
31
            android:layout_weight="1"
32
            android:checked="false"/>
33
        <Button
34
            android:id="@+id/twocomponentsButton1"
35
            android:layout_width="wrap_content"
36
            android:layout_height="match_parent"
37
            android:text="@string/rotate_right"
38
            android:onClick="onClick"
39
            android:layout_weight="1"/>
40
        <CheckBox
41
            android:id="@+id/twocomponentsCheckBox1"
42
            android:layout_width="wrap_content"
43
            android:layout_height="match_parent"
44
            android:text=""
45
            android:onClick="onVisible"
46
            android:layout_weight="1"
47
            android:checked="false"/>
48
49
    </LinearLayout>
50
51
</LinearLayout>